What is the command to change from /etc/passwd file to /etc/shadow file?

Answers were Sorted based on User's Feedback



What is the command to change from /etc/passwd file to /etc/shadow file?..

Answer / rv

pwconv - installs and updates /etc/shadow with
information from /etc/passwd

Is This Answer Correct ?    26 Yes 5 No

What is the command to change from /etc/passwd file to /etc/shadow file?..

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

What is the command to change from /etc/passwd file to /etc/shadow file?..

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 is the command to change from /etc/passwd file to /etc/shadow file?..

Answer / kishore

cd.. | cd shadow file

Is This Answer Correct ?    4 Yes 10 No

Post New Answer

More Linux Commands Interview Questions

What command should you use to check your file system?

0 Answers  


You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?

0 Answers  


What is clang llvm?

0 Answers  


How does mkdir work in linux?

0 Answers  


What is the fastest way to enter a series of commands from the command-line?

0 Answers  






What does top do in linux?

0 Answers  


How do I open a text file in cmd?

0 Answers  


How do find hard disk revolutions speed?

1 Answers   ACL, HP,


What does the command env do?

0 Answers  


How to shuffle the GRUB booting from one Disk to other?

1 Answers  


Why we use pwd command in linux?

0 Answers  


What do you mean by directory?

0 Answers  


Categories