Results 1 to 3 of 3

Thread: "deluser myself sudo/admin" not removing sudo privelage

  1. #1
    Join Date
    Apr 2012
    Beans
    61

    "deluser myself sudo/admin" not removing sudo privelage

    In the terminal, I entered
    sudo deluser myself sudo
    and
    sudo deluser myself admin

    Why do I still have root privileges under this user?

    I made a new user and added it to "sudo" and "admin." I want to have someone else set the password for it, so I can lock myself out of the hosts file when URLs are blocked.
    Last edited by haplorrhine; December 28th, 2012 at 01:25 AM.

  2. #2
    Join Date
    Apr 2012
    Beans
    5,524

    Re: "deluser myself sudo/admin" not removing sudo privelage

    Have you logged out / back in? a user's group memberships are only read on login afaik

    Quote Originally Posted by haplorrhine View Post
    I made a new user and added it to "sudo" and "admin." I want to have someone else set the password for it, so I can lock myself out of the hosts file when URLs are blocked.
    No idea what that means

  3. #3
    Join Date
    Apr 2012
    Beans
    61

    Re: "deluser myself sudo/admin" not removing sudo privelage

    I tried logging out and logging in, and I still had root privileges. When I read your post, I did a restart. It worked. Problem solved. Thanks.

    I had the bottom text in grey because it wasn't important.

Tags for this Thread

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
  •