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 |
Explain getopts command of linux?
What does kill in linux?
What is cd command used for?
Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?
What is the bash in linux?
how to add linux user to group?
I have my default runlevel is init5 now i have configured to init 3,now i wanna run my system in init3 process without reboot the system .How will you do for this scenario?
what is soft mount and hard mount? i have to make permanent nfs mount permanent what shall i do?
How to FTP user access other directory except his own home directory ?
You want to verify which lines in the file kickoff contain ‘bob’. Which of the following commands will accomplish this?
What is finger in networking?
How many commands are there in linux?