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 |
What does mkdir mean?
how to view crond status? If it's show service is not found.
Hi guys, I am working in MNC from 1 and half year as Software Engg but not in programming, its in Information Security. Now I am doing RHEL 5(Red Hat certification) to move into Linux Admin. Can anyone please give me the future scope of this field and please send me the interview questions or links to get the idea. Thanks, Sushant.
What is df -h command?
Which command will show you free/used memory?
what is the command to make a process to run in the background from foreground?
How remove all files in a directory linux?
What the command used for search file or files for specific text?
my clients are getting services from servers but how to know which client is using which service. is there any files to keep information about these? clients used ftp, nis, samba, apache, squid, nfs and mail services how to know how many users got service from server side with date,time and client system ip ?
How do you run command every time a file is modified?
What command is used to check the number of files, disk space, and each user’s defined quota?
What is mkdir?