Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: System Administration >> How to recover passwd of a user in Sun Solaris 5.10

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: How to recover passwd of a user in Sun Solaris 5.10
 Monu  Posted: Mar 15, 2008 03:58:17 PM

 Total Post: 16
 Joined: Jan, 2008






 I've forgotten my user's passwd and I don't know how to recover or reset the passwd of that user, although i know root's passwd? Waiting for reply.....
Thanks...

 Jolly
Posted: Mar 16, 2008 07:54:53 PM  

 Total Post: 23
 Joined: Mar, 2007






 
If you know root password, then login as root.
1. From root prompt give the command passwd <username>, it will ask you to give new password.

2. Or edit the file /etc/passwd as root user. Go to the line where that username ( you intend to change the password). On that line you will see some encoded character, remove that encoded character and save it. NOW BEFORE EDITING THE PASSWORD FILE MAKE A COPY OF IT (LIKE cp /etc/passwd /etc/passwd_orig). Now login as user (where you changed the passwd) it will not ask password. From user prompt ($) give the command passwd and follow the prompt.

Regards


 http://sharear.blogspot.com
Posted: May 01, 2008 07:13:28 AM  

 Total Post: 48
 Joined: Apr, 2008






 
loggin as root

> su
>password

>su <user_name>
>chpass
> new password
>exit
>exit

done!

 http://sharear.blogspot.com
Posted: May 01, 2008 07:14:25 AM  

 Total Post: 48
 Joined: Apr, 2008






 
use passwd instate of chpass

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Mohammed Taj634
  Murtuja Khokhar588
  Jayanta Sur479
  Vigyan Kaushik385
  Ramesh Jois226
  neeraj sharma189
  snehalatha p166
  Gitesh Trivedi157
  Gopu Gopi149
  Kushal ratnaker136






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software