Bug 74849 - Unsecure permissions for swap file
Unsecure permissions for swap file
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: installer (Show other bugs)
8.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Brock Organ
: Security
: 84805 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-10-02 03:24 EDT by Łukasz Trąbiński
Modified: 2007-04-18 12:46 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-04-23 07:50:41 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 Łukasz Trąbiński 2002-10-02 03:24:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0)

Description of problem:
0755 permissions mode for swap file is a wrong idea. After upgrade (from RH 7.3)
it's look like this
-rwxr-xr-x    1 root    root     269484032 Oct  1 16:41 SWAP
Anyone can do something like this:
strings SWAP |grep root
sometimes we can find in swap file many interesing things like /etc/shadow.
I think, that's 0600 permission mode are more secure.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Upgrade system from RH 7.3
2.
3.
	

Additional info:
Comment 1 Jeremy Katz 2002-10-02 14:43:24 EDT
Fixed in CVS
Comment 2 Michael Fulbright 2002-12-20 12:38:25 EST
Time tracking values updated
Comment 3 Kjartan Maraas 2003-04-03 04:26:43 EST
Close this as fixed in RHL9?
Comment 4 Jeremy Katz 2003-04-03 15:10:30 EST
*** Bug 84805 has been marked as a duplicate of this bug. ***

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