How will you regain the logins (/etc/passwd) if you have corrupted the file ?

Copy from /etc/opasswd, /etc/oshadow file or by the utility pwconv

Questions by sridhar_madadi   answers by sridhar_madadi

Showing Answers 1 - 7 of 7 Answers

raghumyrao

  • Aug 16th, 2006
 

if you  have  a backup  you  can restore the spicefic file. other my not have idea, if you know pls updae me

  Was this answer useful?  Yes

srujan

  • Dec 25th, 2011
 

First of all we have to create the file that is /etc/opasswd file that is duplicate of /etc/passwd file, whenever the /etc/passwd file is corrupted we can use the /etc/opasswd file and copy the contents of /etc/opasswd to /etc/passwd and we can use it.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions