Hi,
I have one linux machine on which i want to delete the root password.
My aim is to issue some commands(mostly which require root priviledge) from remote machines and for which i'm thinking of issuing rsh(not the kerberos rsh) from remote machines.
i.e.
[user@remote] /usr/bin/rsh <target machine> -l root <some command>
To achieve the same, i did:
[root@target] passwd -d root
[root@target] service sshd restart
After this i checked the /etc/shadow file on <target machine> and it
entry was removed, but still the target machine prompts for password
and as i've already deleted the password, hence even if i provide the
correct last password, it doesn't work ;(
[user@remote] /usr/bin/rsh <target machine> -l root "/usr/bin/date"
root@<target>'s password:
Permission denied, please try again.
what am i missing.
i know i can setup password less ssh, but why *this* not working.
i remember being able to do this on HP-UX 11iV3 Successfully, only instead
of 'rsh', i had 'remsh'
~amit

