Computing.Net > Forums > Solaris > Can't change root password

Can't change root password

Reply to Message Icon

Original Message
Name: Ken
Date: February 4, 2003 at 07:50:42 Pacific
Subject: Can't change root password
OS: solaris 5.7
CPU/Ram: kenham
Comment:

when I try to change root password as root using "passwd root" command, the system asks me for root password, when I type the existing password I used to login with, I get a message "permission denied".
Does anyone know how I can skip the above step and get the system to ask me for new password?
Thx


Report Offensive Message For Removal

Response Number 1
Name: sundaram123
Date: February 4, 2003 at 11:05:06 Pacific
Subject: Can't change root password
Reply: (edit)

login as root, just use passwd command to change the password
-SR


Report Offensive Follow Up For Removal

Response Number 2
Name: cdac
Date: February 5, 2003 at 03:57:16 Pacific
Subject: Can't change root password
Reply: (edit)

Yes .. You could boot from the CDROM and change the passwd.



Report Offensive Follow Up For Removal

Response Number 3
Name: Wan
Date: February 6, 2003 at 01:14:53 Pacific
Subject: Can't change root password
Reply: (edit)

I think that NIS is the issue.
Try this and Good luck.

# passwd -r files root


Report Offensive Follow Up For Removal

Response Number 4
Name: Ken
Date: February 13, 2003 at 09:14:01 Pacific
Subject: Can't change root password
Reply: (edit)

Thanks Wan
passwd -r solved the problem, thanks to all of you guys for your kind help.

Rgrds
ken


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Can't change root password

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software