problem reseting user password

Hi

Any face this problem ..............................

I have created a local user account in solaris 9 (NIS is not configured)

when i tried to give the password to the user account i am getting permission denied message.Given below is the command i tried..

# passwd hello

Enter new password : ********

Re-type new password : ********

permission denied

Requesting for the help on this...............................

[472 byte] By [54645a] at [2007-11-27 3:04:12]
# 1
You might try to force it to change the passwd in the local files#> passwd -r files helloI remember hearing something similar a while back.
Lee_McCreerya at 2007-7-12 3:48:35 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Thank you very much it is working fine ..........Sorry to ask you could you please tell me what is this -r files stands for is there any way to change it back without giving -r files .....what could be the problem.......Thanks a tonRK
54645a at 2007-7-12 3:48:35 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
Hi Any idea abt this what could be the problemThanksRK
54645a at 2007-7-12 3:48:35 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4

The "-r files" tells the passwd command to only look at the /etc/passwd and /etc/shadow files.

I have not seen this problem myself but something in the back of mine remembers that it is something with Solaris 9. It might be worth taking a look at the /etc/nsswitch.conf file and making sure it is OK.

Lee_McCreerya at 2007-7-12 3:48:35 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5
Thanks
54645a at 2007-7-12 3:48:35 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 6

Hi Lee

I have to set banner for both telnet and ftp . is it possible to do it centralise i mean through NIS server.

I have one NIS server (Sun server) and 200 other servers(Sun Servers).

Actually it is very difficult for me to set banner on all the 200 sun servers

Thanks in Advance

RK

54645a at 2007-7-12 3:48:35 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 7
Yes your are correct in nsswitch configuration files passowrd line you have to remove nis No it is ok .......Thank you for your guidens.....
54645a at 2007-7-12 3:48:36 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...