View previous topic :: View next topic |
Author |
Message |
brsett n00b
Joined: 28 Mar 2003 Posts: 63
|
Posted: Mon Mar 31, 2003 2:53 am Post subject: Mount is setuid? |
|
|
Hello,
I'm new to gentoo, and it appears my mount command is setuid. Has my machine been compromised? :(
(I actually noticed this while configuring a floppy drive and nitcing that upon mounting it I received the following error:
bws@riggins:~:71> mount /mnt/floppy
grep: /etc/vfstab: No such file or directory
bws@riggins:~:72> cd /mnt/floppy/
bws@riggins:/mnt/floppy:73> ls
boot/ lost+found/
Quite bizarre, thus worrying me that something wasn't quite right. I just built this machine and replaced my hand secured firewall/router with a commercial wireless router. So I wouldn't be surprised if I didn't get everything locked down properly :(.
Thanks for any help
Brad |
|
Back to top |
|
|
Regor Guru
Joined: 06 Aug 2002 Posts: 545 Location: 39° 2' 48" N, 120° 59' 2" W
|
Posted: Mon Mar 31, 2003 8:20 am Post subject: |
|
|
I don't think you need to worry, /bin/mount is supposed to be suid. _________________ Sometimes the appropriate response to reality is to go insane.
-Philip K. Dick, Valis |
|
Back to top |
|
|
rtn Guru
Joined: 15 Nov 2002 Posts: 427
|
Posted: Mon Mar 31, 2003 4:14 pm Post subject: |
|
|
It probably needs the extra privlidges to allow non-root users to mount
filesystems. If you do not use those features, you could probably remove
the setuid bit.
I haven't, however, tested that.
--rtn |
|
Back to top |
|
|
|