Author Topic: Super User  (Read 1493 times)

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
Super User
« on: 11 December 2002, 08:14 »
I want to make a user that can have all root priviliges except the ability to access and certain directory. Possible? How?

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Super User
« Reply #1 on: 11 December 2002, 08:21 »
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?
Someone please remove this account. Thanks...

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
Super User
« Reply #2 on: 11 December 2002, 08:22 »
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
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
Super User
« Reply #3 on: 11 December 2002, 08:40 »
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

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Super User
« Reply #4 on: 11 December 2002, 08:48 »
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).
Someone please remove this account. Thanks...

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
Super User
« Reply #5 on: 11 December 2002, 21:09 »
quote:
Originally posted by void main:
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).


Couldn't I make a "virtual private" account? I know they sell virtual-private servers, can't I make one for myself on my own compuper?

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Super User
« Reply #6 on: 11 December 2002, 21:11 »
I don't know exactly what you are referring to unless you mean like what the IBM mainframe does and has virtual machines. Again, VMware is one way of doing that. But there there is kernel level VM capabilities that I have read about and have not yet tried. Basically you will be partitioning your system into two running copies of Linux at the same time. I would have to do some digging on this. Search for "linux virtual machine" and it should come up with something... The only other way I can think of is with using "chroot" as I mentioned before.

[ December 11, 2002: Message edited by: void main ]

Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Super User
« Reply #7 on: 12 December 2002, 04:21 »
Here's the Linux virtual machine I was referring to earlier. It's actually called "User-mode Linux". I might have to dig into this and try it out..
Someone please remove this account. Thanks...

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
Super User
« Reply #8 on: 12 December 2002, 04:57 »
Did I. . . Did I just challenge Void? Cool!

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Super User
« Reply #9 on: 12 December 2002, 05:00 »
Shit, I forgot the link!!!!!!! Here it is:

http://user-mode-linux.sourceforge.net/
Someone please remove this account. Thanks...