Results 1 to 7 of 7

Thread: How do I make it so that some accounts don't require a password.

  1. #1
    Join Date
    Aug 2008
    Beans
    76

    How do I make it so that some accounts don't require a password.

    For reasons too boring to explain here I have several users who I'd like to set their accounts no not require passwords to log in. In earlier versions of ubuntu it was trivial, just a checkbox. Now that checkbox is missing.

    How do I do it?

  2. #2
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How do I make it so that some accounts don't require a password.

    If you are using Oneiric (11.10), go to System Settings->User Accounts, to set auto login.

  3. #3
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: How do I make it so that some accounts don't require a password.

    Quote Originally Posted by ferulebezel View Post
    For reasons too boring to explain here I have several users who I'd like to set their accounts no not require passwords to log in. In earlier versions of ubuntu it was trivial, just a checkbox. Now that checkbox is missing.

    How do I do it?
    If memory serves, the option is still there in users-admin (from gnome-system-tools) . But if you can't do it via users-admin, then all you have to do is to add the user(s) to the nopasswdlogin group:

    Code:
    sudo gpasswd -a USERNAME nopasswdlogin
    Where USERNAME is the login name of the user.

  4. #4
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,791

    Re: How do I make it so that some accounts don't require a password.

    Hmm, if you don't want to bother people with logging in, how about giving them a USB memory stick as a login key token?

    http://ubuntuforums.org/showthread.php?t=17571
    Last edited by HermanAB; December 29th, 2011 at 02:17 PM.

  5. #5
    Join Date
    Aug 2008
    Beans
    76

    Re: How do I make it so that some accounts don't require a password.

    Quote Originally Posted by cariboo907 View Post
    If you are using Oneiric (11.10), go to System Settings->User Accounts, to set auto login.
    That's not what I'm asking. I don't want to log in to a certain account by default. I want some accounts to nor require a password.

  6. #6
    Join Date
    Aug 2008
    Beans
    76

    Re: How do I make it so that some accounts don't require a password.

    Quote Originally Posted by sisco311 View Post
    If memory serves, the option is still there in users-admin (from gnome-system-tools)
    Thanks, that worked.

  7. #7
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,918
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do I make it so that some accounts don't require a password.

    to apply sisco311's suggestion of the command "sudo gpasswd -a USERNAME nopasswdlogin" you need to add this line to your pam conf (/etc/pam.conf) "gdm auth sufficient pam_succeed_if.so USERNAME ingroup nopasswdlogin"

    also you can bypass the password by deleting the second entry (password hash) of the users filed.

    or in a more elegant way with aysiu's method :http://ubuntuforums.org/showthread.php?t=513820
    Last edited by fdrake; January 1st, 2012 at 10:03 PM.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

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
  •