command used to synchronize changes done in /etc/passwd to
/etc/shadow file?

Answer Posted / hyma

If /etc/shadow file is correpted we need to use pwconv'
command it is automatically recovered.

If /etc/passwd file is correpted we have copy of passwd
file as 'opasswd'. We need to copy that file.

#cp -p /etc/opasswd /etc/passwd

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by irq assignments?

611


Explain the difference between svm and vxvm?

545


Explain the difference between pid and ppid with example.

645


How to view shared memory statistics?

552


What are the ways in which replication agreements between directory structures be arranged?

584






Explain what is multi homed system?

554


Benefits of SMF compared LRC(legacy run control)?

2577


How to solve the system hang issue.

612


How can the output be redirected to some other action process in place showing it in the screen?

573


How can threads be created in a solaris environment? Write an example

586


How do you break the root password?

589


how to add Kernel patch in all systems at a time?

2627


How can a user login to solaris? What is the login shell?

573


How do you remove a swap space?

550


Explain the types of installations in solaris

579