Bug 15576 - /etc/shadow 0600 permissions
/etc/shadow 0600 permissions
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: shadow-utils (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-06 15:21 EDT by Dale Lovelace
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-06 15:21:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Dale Lovelace 2000-08-06 15:21:23 EDT
/etc/shadow has permissions on 0600, shouldn't they be 0400?
Comment 1 Bernhard Rosenkraenzer 2000-08-08 05:29:30 EDT
Why? It's owned by root, root can write to 0400 files anyway. The only
difference is that vi warns about writing to a readonly file and you have to do
:w! instead of :w...

I don't see a real advantage in either.
Comment 2 giulioo 2000-08-08 16:24:55 EDT
Maybe he was referring to what linuxconf wants to do

 Changing permissions  of file /etc/shadow from 100600 to 100400

Explain to linuxconf that in this case 600 is ok :-)

Note You need to log in before you can comment on or make changes to this bug.