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

Explain how to kill a process.

586


Tell me how to set the path for core file?

550


Explain custom jumpstart procedure?

2498


Explain the run levels that are used in solaris10?

531


What kind of issues you get?

1653






How to view shared memory statistics?

547


Explain what is multi homed system?

550


Explain the difference between sc> and lom>?

535


What causes the rpc.ttdbserverd process to be cpu bound? How can it be rectified?

531


what is the importance of swap memory and how it will supports?

1832


How do you remove a swap space?

550


How does a solaris cluster work?

553


How can a user boot in solaris as root if the password is non functional?

551


Discuss the two modes of the vi editor in solaris.

532


What can be done to protect the system from overflow exploits?

569