Results 1 to 4 of 4

Thread: Normal user without sudo capability?

  1. #1
    Join Date
    Jan 2005
    Location
    Rome - Italy
    Beans
    319

    Normal user without sudo capability?

    I am in the need to install Ubuntu on 10 desktops in a small office. The problem is that the Admin doesn't want the single PC user to have sudo capability but he needs to have his own root account on each PC, to be able to connect to it via SSH.

    IS there any automation to do this during install, or should I modify /etc/sudoers on each PC?

  2. #2
    Join Date
    May 2008
    Beans
    26

    Re: Normal user without sudo capability?

    Quote Originally Posted by saltydog View Post
    I am in the need to install Ubuntu on 10 desktops in a small office. The problem is that the Admin doesn't want the single PC user to have sudo capability but he needs to have his own root account on each PC, to be able to connect to it via SSH.

    IS there any automation to do this during install, or should I modify /etc/sudoers on each PC?
    As I remember, only one user account gets created during install, and it will be an admin account (with sudo privileges) by default. Any accounts you create after install do NOT have sudo privileges, by default.

    There's no need to modify sudoers; it's set up so that any account that is a member of the admin group has sudo privileges. All you need to do is make sure all accounts other than the administrator's are not members of the admin group, which is the default anyway.

    Mark

  3. #3
    Join Date
    Jan 2005
    Location
    Rome - Italy
    Beans
    319

    Re: Normal user without sudo capability?

    Yes Mark, that's clear. But in any case I have to set up at least 2 users on the PC: What I would have preferred was:

    1 - root (the admin)
    2 - the default user of the PC (no admin).

    One way could be - after installation and after having created a root password, to remove the default user from the admin goup..

  4. #4
    Join Date
    May 2008
    Beans
    26

    Re: Normal user without sudo capability?

    Quote Originally Posted by saltydog View Post
    Yes Mark, that's clear. But in any case I have to set up at least 2 users on the PC: What I would have preferred was:

    1 - root (the admin)
    2 - the default user of the PC (no admin).

    One way could be - after installation and after having created a root password, to remove the default user from the admin goup..
    I think a better way would be to make the "default" user (the one created during install) the admin user (you wouldn't want to use the actual root account for that anyway). So you would create the same user account on all ten machines during install. The account created after install would be the actual default user (the non-admin user of the PC). There's no need to remove any accounts; the order in which they're created doesn't matter.

    The actual root account is automatically created, with an auto-generated password, during install. The admin would use a separate account in the admin group, and use sudo to gain root access.

    Mark

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
  •