LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-14-2010, 04:36 AM   #1
chris1973
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
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.
 
Old 08-14-2010, 04:47 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
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.
 
1 members found this post helpful.
Old 08-14-2010, 07:53 AM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
Sounds like a home work question. Google it.

Or install a distro and do ls -l /etc/shadow from a terminal.
 
Old 08-15-2010, 03:21 AM   #4
chris1973
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Setting File and Directory Permission in Unix/Linux munawer_hassan LinuxAnswers Discussion 1 03-23-2010 12:40 PM
Setting File permission to Mounted Directory nebumt Linux - General 3 01-12-2006 01:11 AM
permission /etc/shadow ... stomach Linux - Software 6 12-24-2005 01:24 PM
Setting permission, file access. Apogeal1 Linux - Newbie 5 06-20-2005 09:17 PM
Setting File / Directory Permission, with sticky Primetime Linux - Newbie 3 01-06-2003 02:14 PM


All times are GMT -5. The time now is 01:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration