Re: Insecure permission for swap partition.
Fu-Dong Chiou wrote:
>
> Thanks a lot! I didn't know I can chmod a partition as well. That takes
> care of my problem now.
You do not change permission for the partition, just for the
device file, which programs use to perform operations upon
the device..
If a userlevel program could perform actions upon the swap
partition it could write directly to the paged out memory
of your box..
Marcus
>
> Chip
>
> J.H.M. Dassen wrote:
> >
> > On Sun, Feb 18, 2001 at 14:47:01 -0500, Fu-Dong Chiou wrote:
> > > I got a warning message saying the swap partition has insecure permission
> > > 0660, which should be changed to 0600. I looked at the man page of
> > > swapon, but could not find the info to change the permission. How do I
> > > change it?
> >
> > Have a look at
> > info "file utilities" "file permissions"
> > or do
> > man chmod
> >
> > ("chmod 0600 /dev/hda7" [or whatever your swap partition is] should do the
> > trick).
> >
> > HTH,
> > Ray
> > --
> > UNFAIR Term applied to advantages enjoyed by other people which we tried
> > to cheat them out of and didn't manage. See also DISHONESTY, SNEAKY,
> > UNDERHAND and JUST LUCKY I GUESS.
> > - The Hipcrime Vocab by Chad C. Mulligan
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >
>
> Best wishes,
> Chip
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
All true wisdom is found on T-Shirts
Reply to: