I'm having a little problem.
I need to setup a local account on one server - I do not want it in the NIS domain.
Ok, so I have added the user to /etc/passwd, /etc/shadow and /etc/group. Created the home dir. Now I'm ready to set the password. I try (as root or su to the new user) passwd -r files username. This is what I get:
# passwd -r files username
passwd(SYSTEM): username does not exist
Permission denied
This same message happens when I try and reset root's passwd too.
Here is what my nsswitch.conf file looks like:
passwd: compat nis files
group: compat nis files
Thanks!
Chris
I need to setup a local account on one server - I do not want it in the NIS domain.
Ok, so I have added the user to /etc/passwd, /etc/shadow and /etc/group. Created the home dir. Now I'm ready to set the password. I try (as root or su to the new user) passwd -r files username. This is what I get:
# passwd -r files username
passwd(SYSTEM): username does not exist
Permission denied
This same message happens when I try and reset root's passwd too.
Here is what my nsswitch.conf file looks like:
passwd: compat nis files
group: compat nis files
Thanks!
Chris