StevenCheng
Group: Members
Posts: 14
Joined: Aug. 2005 |
|
Posted: Aug. 02 2005,04:10 |
|
Quote (mikshaw @ Aug. 01 2005,23:20) | Remove "user" from the 4th column of /etc/fstab, for any device which you do not want the non-root user(s) to mount. However, user dsl still has power to use "sudo mount" without a password. You'll need to run the command "visudo" as root in order to edit the sudoers file, which means learning a little about vim, and a little about sudoers.
You could also remove or change permissions on mount.app (I think it's in /usr/X11R6/bin). If you made it executable only by owner, normal users wouldn't be able to run it. This is only a cosmetic fix, though. Any user can still open a terminal and type commands.
DSL really isn't a great ball of security from local users...I don't believe it was ever intended to be that. You can make it as secure as you want it, but it's going to take a lot of work for anyone who is new to Linux. |
when I tried to run the visudo command, I got the following error message: visudo: no editor found (editor path= /usr/bin/editor)
What does it mean? Does it mean that the editor program is not installed in my system?
So you mean that I have to learn how to use the visudo command (as root) to edit the sudoers file in order to restrict the user of mounting HD? Am I correct?
Thanks again...
|