Find the answer to your Linux question:
Results 1 to 4 of 4
In Ubuntu, upon install of the operating system, the created account has sudo access. However, in Debian, sudoers have to be added manually. How can this be achieved if I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2012
    Posts
    10

    Debian vs Ubuntu sudoers automation


    In Ubuntu, upon install of the operating system, the created account has sudo access. However, in Debian, sudoers have to be added manually.
    How can this be achieved if I have to remaster a debian system for personal use?

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,102
    Adding a user to the sudo group in Debian is explained at this link:

    sudo - Debian Wiki

    Not sure what you intend with the remaster. Are you planning to use remastersys to create a remastered system?

  3. #3
    Just Joined!
    Join Date
    Nov 2012
    Posts
    10
    I know how to add a user to the sudoers, I've done it plenty of times. What I am asking is how did Ubuntu have it where the created user account upon installation is added to the sudoers file? Because (correct me if I am wrong) Debian does not have the default user account added to sudo, you have to log into root and know how to mess with the sudoers.


    And yes I am using remastersys.

  4. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,284
    It's been a while but IIRC you get the sudo access for your first user by not specifying a root password. In such a case the user created at install time will have sudo access.

    [edit]I think the wiki is agreeing[/edit]
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

Posting Permissions

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