Quote:
Originally Posted by frieza
perhaps a little more detail on your actual purpose is, as in how you actually intend to USE these machines? this sounds like something that could potentially be achieved with diskless workstations or live cds on machines without hard drives?
either way
1) Linux only has one root account
2) only accounts approved to use sudo can actually do so, therefore you can prevent root access by simply not approving the restricted users from using sudo
3) no drive can be mounted without root privileges unless explicitly configured to do so, the exception being thumb drives, but this also can be disabled
4) the network can be disabled without disabling the modules, how varies from distribution to distribution
unfortunately, what you have to do to lock down your system varies based on what your ultimate goal is for the systems, which you havn't exactly provided
|
Thanks, I appreciate your input. So, the main goal is to have a live-cd where someone can put it in their computer, boot up, play a game, and shut down. I want the user to rest assured that their local hard disks won't be mounted, and that their network devices will not be "used" period. I even want to go so far as to say that when the user tries to mount a drive, the mounting functionality is disabled (ideally even with the root password). Likewise, if they attempt to sniff on the network, or access any network device, I want that to be disabled by defualt.
If the user really wants to write their own modules, programs, etc, and try to gain access to the network via the live-cd, I'm really not concerned with that because I'm not trying to "beat them". What they do with the live-cd is their business, I just want it to exhibit these DEFAULT behaviors.
All that being said, addressing (1) and (2), I'd like the users to have root access so they are free to do what they want. As for (3), given that they will have root access, do you have any suggestions for mechanisms to deter mounting?
(4), that's good to hear. What are some of the options? I'm using Slax right now, but I'd be willing to change if it's way easier on something else.