Find the answer to your Linux question:
Results 1 to 10 of 10
i login as root...everything works fine then i login as "jan".I open a terminal and type Code: su root i type my root password and i get error su: Permission ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549

    su problem


    i login as root...everything works fine
    then i login as "jan".I open a terminal and type
    Code:
    su root
    i type my root password and i get error
    su: Permission denied
    what to do?????

  2. #2
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Posts
    624
    Add urself in the wheel group.
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  3. #3
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    how to do that?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    in User and Groups management ( look in control center ), select user_name and click on edit. add 'wheel' group from available 'group list'.




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    i dont have control center coz i have GNOME only

    ill check in administration menu....

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    assign group through 'adduser' command.

    adduser user_name wheel

    you must be 'root' to execute this command




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    Quote Originally Posted by devils_casper
    assign group through 'adduser' command.

    adduser user_name wheel

    you must be 'root' to execute this command




    casper
    that wasnt needed

    i solved the problem administration>users and groups

    i made myself wheel....

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    you should know a bit of command line stuff too




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    ah...dont worry...i've remember that.....
    su root
    adduser jan wheel

  10. #10
    Just Joined! Wyldeman's Avatar
    Join Date
    Oct 2006
    Location
    United States of Texas....lol
    Posts
    43
    THis might help
    Login: root
    Password: (Your root password)

    # useradd -m -G users,wheel,audio -s /bin/bash john
    # passwd john
    Password: (Enter the password for john)
    Re-enter password: (Re-enter the password to verify)

Posting Permissions

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