Question regarding groups
Results 1 to 4 of 4

Thread: Question regarding groups

  1. #1
    Registered User Low_Level_Owl's Avatar
    Join Date
    Jul 2002
    Location
    Berwyn, Illinois
    Posts
    449

    Question regarding groups

    O.K.

    I've been fooling around with Red Hat 9.0 for the last few days and I have a question. I think I know the answer but I just have to be sure.

    I created a user and I want it to have the same administrative rights as "root". Would I just have to add this user to the "root" group?
    Shoot 'em up! Shoot 'em up! Pow! Pow!

  2. #2
    Registered User Gollo's Avatar
    Join Date
    Sep 2001
    Location
    Grand Rapids, Michigan US of A
    Posts
    2,383
    Short answer: no

    Longer answer: If you need root access to run a command from the command prompt you just type in: su root and the input the root password. You can then run all commands as root. When done type exit and you will revert to your account. This is just how it works. You can pretty much run any program you like as any user. The installation is usually what requires root access. You can do a lot of nasty stuff to your puter if you run as root. Also even if you were to add your username to the root group chances are the permissions set on any given file are only for user and not group, meaning you would have to set all permissions to allow rwx for the group and then set the group as root or whatever. Cheers.
    "I feel like one of those mass murderers on death row. I never understood how the hell they got more chicks than I did. Now I know. They sold crap on eBay." -- Anonymous ebayer

    "I figured out what's wrong with life: it's other people." -- Dilbert

  3. #3
    Registered User craigmodius's Avatar
    Join Date
    Sep 2001
    Location
    Hellmira, NY, USA
    Posts
    1,572
    like Gollo said yes and no

    I made myself a member of root on my Mandrake box, and it did help clear up some things like when I was setting up my DSL accesss if I wasn't in the group root or logged in as user root then no dice. As soon as I dropped my username into the group root then it magically worked fine.

    However, I still have to su or type the root password to the prompts requiring root access.
    "And just when I thought today couldn't get anymore poo-like." -Outcoded

  4. #4
    Registered User +Daemon+'s Avatar
    Join Date
    Jan 2002
    Location
    RC, Ca
    Posts
    3,406
    if it isnt already installed "sudo" will allow you to setup certain things that only root can do to certain users

    like lets say shutdown -h now

    well in the sudoers conf file you can add the user to beable to type that command without becomming root first.

    sudo is somthing you might want.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •