What is the command to change from /etc/passwd file to /etc/shadow file?
Answers were Sorted based on User's Feedback
Answer / rv
pwconv - installs and updates /etc/shadow with
information from /etc/passwd
| Is This Answer Correct ? | 26 Yes | 5 No |
Answer / susheel narain singh
#pwconv
-> It convert /etc/passwd to /etc/shadow
#pwunconv
-> It convert /etc/shadow to /etc/shadow
you can check both file after running pwconv and pwunconv
cmd to get difference.
Thanks !
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / teja
The Quesion was clearly mentioned that hw to change
from /etc/passwd to /etc/shadow file. It means that the pwd
is /etc/passswd.
So, then simply type this command at the prompt
cd /etc/shadow
| Is This Answer Correct ? | 12 Yes | 6 No |
How do you check the disk usage in Linux?
What is difference between comm and CMP command?
Diff b/w C-shell and Born-shell
What is the gcc command?
Is a command a full sentence?
How do I check command history?
What is tty in linux process?
how do find all failed login attempts via ssh?
Is cmake only for c++?
How do you list all the files in a directory, including hidden files?
Which command is used to delete a group?
Explain the free command.