Originally posted by: SystemAdmin
I have a number of machines on various versions of AIX (5.3 TL6, TL7, and 6.1). RCP used to work from other AIX, Linux and Windows machines to all of them. (Note: our logins, DNS, etc... are all managed through a Windows server.)
Recently, I made changes to the /etc/netsvc.conf and /etc/auto_master to get automounting working on these machines, which is now chugging along just fine. (Added hosts=local,bind in netsvc.conf.) However, that seems to have broken RCP. I know it's not anything with the .rhosts file, as it went from working for all users to working for none.
From Linux, I get the error "rshd: 0826-826 The host name for your address is not known". However, I can rsh just fine, and nslookup works perfectly.
From Windows, I'm getting "0826-813 Permission is denied" for both rcp and rsh.
From AIX, I was getting the error "rshd: 0826-813 Permission is denied", but then I changed my .rhosts file to have the FQDN of the machines rather than just the hostname, and now it works on the TL6 machine, but on the newer OSs I'm getting the error "shell-init: error retrieving current directory: getcwd: cannot access parent directories: A specified file does not support the ioctl system call."
(RCP still works fine to all Linux machines from all three platforms.)
I'm assuming this is something to do with resolution, given the changes when I put in FQDN names, and the fact it broke when I changed netsvc.conf, but I'm stumped as to what to do next. Does anyone have any ideas?