Operating Systems > Linux and UNIX
Super User
TheQuirk:
I want to make a user that can have all root priviliges except the ability to access and certain directory. Possible? How?
voidmain:
Why would you need root privilages on only a single directory? Why don't you set the permissions as such so the user in question has full power over that directory, as long as it is not a system directory that is. Don't mess with permissions on a system directory unless you know exactly what you are doing. Can you give an example of why you need them to have root capability?
choasforages:
acls?
god in /usr/local and /home but can't do shit with /dev? is that what you are talking about? either way i don't know
TheQuirk:
Well, out of pure interest. On my computer I have a backup script. . . Now, I want to make an account that can screw everything up, but can't do jack to the backup HD - that way, if something goes bad, I can just use the backup. I just don't want access to /home2 - and I don't want to be able to just chgrp. . .
voidmain:
Unmount the backup drive and remove it. Or look into the chroot command. Better yet, use a virtual machine to screw around in (if you have VMware).
Navigation
[0] Message Index
[#] Next page
Go to full version