is there any command to find user password?
Answers were Sorted based on User's Feedback
No way one can get the password of other user even if root
also can not get the password unless untill there is an
readble entry in /etc/passwd file. But for the super user,
it doesn't need to know the user's passwrod to access his
docs.
| Is This Answer Correct ? | 14 Yes | 1 No |
Answer / choyal
No, No one can't know the passwd because it is stored in in
/etc/shadow file as MD5 Hash ,
and link at /etc/passwd.
We can convert Value(passwd) to Hash but not Hash to
value(passwd)
Super user is also not able to retrive passwd......
By Choyal
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / thulla
Yes, the entry will be only in /etc/passwd. But this file
is very deleciate, it is better that we do not touch this
file in order to know the password also.
| Is This Answer Correct ? | 1 Yes | 12 No |
Hi, all Scripting professional. Q. I have written script1.sh and calling script2.sh in script1.sh file using bash shell as interpreter and my log in shell also bash shell.My code like Script1 #!/bin/bash echo "My script2 call" . script2.sh Here script2.sh file run successfully but when I have changed my interpreter bash to ksh like #!/bin/ksh Error are comming script2.sh command not found. Guid me how to call other script in our main script.
How do you print the output the same string which is typed in command line. how do you write the shell script or command for this. if i entered "Hello" in command line, it should print 'Hello', if i say "Hello Welcome", i should get the "Hello Welcome" as output.?
How will you list only the empty lines in a file (using grep)?
Explain about gui scripting?
What is the best shell scripting language?
Is shell scripting a programming language?
How will you find the 99th line of a file using only tail and head command?
how to search for vowels a,e,i,o,u appearing in the same sequence in a file
Why is the use of shell script?
What does .sh file contain?
How do you find out What is your shell?
How do I run a powershell script?