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 to monitor ports in a linux machine, with single command?
Who am I command in linux?
1.I want to change runlevel but the Users shall not be disturbed?how? 2.Disk have 5gb disk utilization even though files unable to create, why? 3.what are the internal and external command in linux? 4.sar command o/p? 5.how list the open files? 6.what is kernel compiling? 7.How do u See complete configuration in ur system? 8.how will u make a daily updates with cron daily? 9.which port is associated with ttys0? 10.specific some problems linux admin(if u are linux admin)faced and how did u overcome it?
10 Answers IBM, TCS,
in unix how to change old name to new name
What is the pwd command?
How many linux commands are there?
How will retrieves incoming mails from different web sites
What is parallel ssh?
What are the 4 kinds of sentences with examples?
What is the use of ls command?
How use more command in linux?
Brief about the command kill PID?