LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What should the permission setting for the /etc/shadow file be? (https://www.linuxquestions.org/questions/linux-newbie-8/what-should-the-permission-setting-for-the-etc-shadow-file-be-826157/)

chris1973 08-14-2010 03:36 AM

What should the permission setting for the /etc/shadow file be?
 
If you can give me the answer in both Octal digit(0-7) and text (-rwx) that would be good.

sem007 08-14-2010 03:47 AM

if you want to know permission

run ls -l /etc/shadown

in redhat distro
Code:

r--------
400
owner -> read
group -> no per.
other -> no perm.

in debian
Code:

rw-r-----
640
owner -> read,write
group -> read
other -> no perm.


craigevil 08-14-2010 06:53 AM

Sounds like a home work question. Google it. :)

Or install a distro and do ls -l /etc/shadow from a terminal.

chris1973 08-15-2010 02:21 AM

Thank you...


All times are GMT -5. The time now is 12:34 AM.