Gentoo Archives: gentoo-user

From: Mattias Merilai <jah@××.ee>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SUID mounts
Date: Tue, 28 Feb 2006 10:09:50
Message-Id: 44043942.3090201@ut.ee
1 Ow Mun Heng wrote:
2
3 >or do I need to chgrp /bin/mount into group-owned by disk/wheel?
4 >
5 >
6 Yes you do, and for /bin/mount, it already should be 4755 root:root.
7 SUID bit makes the program to be executed in the rights the owner of it,
8 so if you want to have a program run SUID root you will have to chown
9 root it. The same goes for SGID.
10 'man chmod' would have happily told you just that.
11
12 P.S. Beware that SUID/SGID root is a potential security risk.
13 --
14 gentoo-user@g.o mailing list