1: What exactly is a Shadow Password?
I know that when using a setuid program in the example of a program to allow a user to change their own password, it changes the contents of /etc/passwd and /etc/shadow so what is the shadow password exactly?
2: say I have a script like
foreach arg (*)
if (-d $arg)
echo $arg
endif
end
which lists all directory files under the current working directory, is that correct? and if so how would it differ if I wanted it to list all file names under a directory? what about just executable files?
Would this script differ if I was using bash instead of tcsh?
Thats my final question and thank you for your time



LinkBack URL
About LinkBacks



/etc/shadow is a separate file from /etc/passwd and normal user has no reading permission to it unlike to /etc/passwd. Passwords are now stored there using some not-so-secure des encryption. That is why only root has right to read that file.