[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: suid root



> 
> I suggest you check out "sudo" this allows you to grant root
> privileges (or a subset there of) and will remember your
> authentication for a configurable period of time.
> 

brw-rw----    1 root     floppy     2,   0 Apr 14 17:13 /dev/fd0

I suggest simple adding your self to the "floppy" group in /etc/group,
then relogin. This will give you, and only you, permission to write to the
floppy device.

As for suid root, for "convenience", well, that's something we never do by
default. We setup perms on devices like this (and programs that access
them) to avoid security problems, and to make it easy to delegate specific
permissions as needed (like adding the user to a group for the task, be it
floppy, disk, dialup, cdrom or whatever).

Ben

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: