Find the answer to your Linux question:
Results 1 to 10 of 10
I created only one user on ubuntu; since I want this user to behave exactly as root, I edited the /etc/sudoers file and adding a single line for this user, ...
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    19

    Changing permissions

    I created only one user on ubuntu; since I want this user to behave exactly as root, I edited the /etc/sudoers file and adding a single line for this user, this way:
    Code:
    # /etc/sudoers
    #
    # This file MUST be edited with the 'visudo' command as root.
    #
    # See the man page for details on how to write a sudoers file.
    # Host alias specification
    
    # User alias specification
    
    # Cmnd alias specification
    
    # Defaults
    
    Defaults        !lecture,tty_tickets,!fqdn
    
    # User privilege specification
    root    ALL=(ALL) ALL
    jobbe   ALL=(ALL) ALL
    # Members of the admin group may gain root privileges
    The line added is, of course, that one for the user jobbe.
    The question is: is this a correct procedure or is there around something better?
    Thanks a lot in advance

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    There is no need to add user jobbe in /etc/sudoers because you have created it during Installation only. jobbe has all root privileges already and it behaves as root only ( with sudo/gksu command).
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Sep 2007
    Posts
    19
    So, it's better to revert it back, uh?
    Anyway, please help me again, if you don't mind.
    I'd like to right click on a directory and change permissions, but I can't because that dir's owner is root..... how can I do it?
    And thanks for the patience!

    ps: I can do it via terminal, but it's faster with a click

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Yes. You should remove that line from /etc/sudores files. Its for assigning root privileges to User which you have created after Installation.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Sep 2007
    Posts
    19
    Ok, done. Can you please take another look at my message just after your first reply, because I edited it while you were replying

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Press Alt+F2 and type
    Code:
    gksu nautilus
    Be careful. Its like logging in as root in GUI.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Sep 2007
    Posts
    19
    Who knows what happens in life? You could even be, one day, here in Italy, Tuscany, on the sea: what's better than a good pizza talking about *nix systems?
    Many thanks, again

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Glad to help you.
    I am planning for a World Tour in December this year and Italy is in the list.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Sep 2007
    Posts
    19
    Will let you know my address, phone number and other details, so that in case you need help, i'll be your sudo

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Thanx a lot. I will send you all details..
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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