Re: which group ?
Hi Christian,
> I looked at the dump package and found out that /sbin/dump and
> /sbin/restore are in the group tty. Why are they in tty, shouldn't it
> be disk ?
No. dump/restore wants to be in tty in order to be able to notify the
operator that (s)he has to change tapes.
The operator has to have disk access, either by being root or being in
the disk group. Something like
-rwsr-sr-x 1 root disk 38653 May 1 22:44 /sbin/dump
-rwsr-sr-x 1 root disk 59125 May 1 22:44 /sbin/restore
would be a security disaster, since anybody could backup your system and
restore the interesting files (a la /etc/shadow).
(if rdump/rrestore didn't exist dump/restore needn't the SUID bit).
David
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to:
- References:
- which group ?
- From: Christian Meder <christian.meder@utoronto.ca>