[plug] Just started with linux, need help
John Summerfield
summer at os2.ami.com.au
Tue Oct 5 08:42:28 WST 1999
> On Mon, 4 Oct 1999, Christian wrote:
> > Brad Campbell wrote:
> > > Have you checked, that the user your trying to mount from has the 'user'
> > > group in thier list.
> > > Or possibly the cdrom, disk, or floppy group ?
> > You don't have to be in any specials groups at all to be able to mount
> > devices specified with the "user" option in fstab. *Any* user can mount
> > the device if this option is enabled.
>
> Really? I'd be absolutely shocked if the kernel's behaviour was affected
> by a file in /etc at runtime. I'm _sure_ you still have to be root to
> mount a volume, regardless of the contents of fstab. AFAIU, fstab is
> entirely for the benefit of the mount program. As such, you will need to
> have permission to run mount as root. For this, mount must be SUID, be
> owned by user root, and belong some group of which you are a member, (or
> else world executable, which is not a good idea) and executable by the
> group. Hence:
Where were you when Michael O gave us a security rundown?
It's not the kernel's behaviour that's controlled, it's supplementary
programs; mount in this case. And here's mount:
[summer at possum summer]$ ls `which mount`
-rwsr-xr-x 1 root 52788 Apr 18 00:54 /bin/mount
[summer at possum summer]$
--
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.
More information about the plug
mailing list