Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: how to disable all password prompts

  1. #1
    Join Date
    Jan 2011
    Beans
    188

    how to disable all password prompts

    Hello Unbunters

    I have grown really tired of typing my password each and every time I log on to Ubuntu _ Yes, I am that lazy!!!
    I do not care about privacy and I have nothing to fear since I am the only person at home to use the computer and this is why I am really not concerned about privacy. Now I have tried.
    Now I have just tried this:
    Instructions

    • 1 Log into Ubuntu and click "Applications," "Accessories," then "Terminal."

    • 2 Type "sudo nano /etc/sshd_config" without quotation marks. Enter your administrative login password when prompted.

    • 3 Press "Ctrl+W" on the keyboard to open a "Search" window. Type "PasswordAuthentication" and press "Enter."

    • 4 Remove the "#" sign at the start of the PasswordAuthentication label, then replace "Yes" with "No" so that the line reads: PasswordAuthentication no

      ....But it does not work. I cannot find PasswordAuthentication.

      Every other tip highly welcome.
      Thanks in advance for all help and trouble.

      Chris.


  2. #2
    Join Date
    Jan 2007
    Location
    England
    Beans
    45
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to disable all password prompts

    Are you walking about automatically logging into your desktop machine, or a server through SSH?

    If desktop, then System > Administration > Users and Groups should let you set your account to automatically login. If server, then look at using your private key to login rather than a password.

  3. #3
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: how to disable all password prompts

    If you want to disable administrative password prompts I think you should consider not doing it. The permission scheme set up on Linux systems has been very well thought out, and it goes deep into the system. You can really do a lot of damage to your system very easily, and the point of having you enter a password is to make sure you want change your system in some way.

  4. #4
    Join Date
    Oct 2008
    Beans
    3,509

    Re: how to disable all password prompts

    This post might interest you.
    I have a spare mouse button bound to a command to type out my password when needed.
    The password can be retrieved from gnome-keyring which means it's not in a plain text file on your computer.
    I just manually logon once at start of session then use the mouse button from then on when admin privileges are required.
    The mouse button also works at the lock screen.
    http://ubuntuforums.org/showthread.php?t=2125918
    Last edited by stinkeye; October 3rd, 2013 at 10:58 AM.

  5. #5
    Join Date
    Jan 2011
    Beans
    188

    Re: how to disable all password prompts

    Heavens! what on earth is a server through SSH? I am talking about a simple Personal Computer; it is an old HP DC 7700 SF and again I am the only person in the house who ever uses it, I have very few concerns about privacy and I cannot bring myself to imagine why so many people are that taken with passwords and encryption. I find it pretty baffling, really....

  6. #6
    Join Date
    Aug 2013
    Beans
    76
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: how to disable all password prompts

    Quote Originally Posted by christon74 View Post
    Heavens! what on earth is a server through SSH? I am talking about a simple Personal Computer; it is an old HP DC 7700 SF and again I am the only person in the house who ever uses it, I have very few concerns about privacy and I cannot bring myself to imagine why so many people are that taken with passwords and encryption. I find it pretty baffling, really....
    The settings you changed in your original post is for connecting to your computer remotely (from another computer)... I would change those settings back.

    Then, like the person said a few posts up, just go to the Users area in settings and have it auto log you in. At that point, it will just ask you to type your password when you make a system change, but it looks like you can use the script posted above to just use a key to automatically type it.

  7. #7
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 17.04 Zesty Zapus

    Re: how to disable all password prompts

    Quote Originally Posted by christon74 View Post
    Heavens! what on earth is a server through SSH?
    If you don't know, then you really do not want to be following the instructions you posted in your first post. They appear to be for removing password authentication when ssh-ing into a server. Which sounds - ahem - unwise to me. Where did you find them?
    Ubuntu 16.04 Desktop Guide - Ubuntu 14.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags - IRC #ubuntuforums

    Member: Not Canonical Team

    Please do not PM me about your forum account unless you have been asked to. The correct place to contact an admin about your account is here.

  8. #8
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: how to disable all password prompts

    Quote Originally Posted by christon74 View Post
    Heavens! what on earth is a server through SSH?
    I'll assume you know what a server is. Since the instructions you posted are for logging into SSH (Secure Shell), the question was if you wanted to log into a server via SSH without a password. Those instructions generally continue with adding keys...

    [edit]I seem to be closely be following coffeecat today!
    Last edited by Iowan; October 12th, 2013 at 04:07 PM.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  9. #9
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: how to disable all password prompts

    Under System Settings is User Accounts. There is an option for Automatic Login.
    https://help.ubuntu.com/community/AutoLogin
    This doesn't eliminate ALL passwords, just the login.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  10. #10
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 17.04 Zesty Zapus

    Re: how to disable all password prompts

    Just to add to what Iowan mentions, one that irritates me on a machine that only I use securely at home.

    System settings -> Brightness & Lock. Switch lock screen to off. Then the screen will only lock if you use the ctrl-alt-L shortcut.

    If you eliminate password prompts for login and unlocking the screen after screen autolock, then the number of times you need to type in your password is dramatically decreased down to administrator tasks only: software installation, system updates, setting your wi-fi WPA passkey the first time only and using sudo in the terminal.

    Which, if I remember correctly, is just about the same as when using a Mac.
    Ubuntu 16.04 Desktop Guide - Ubuntu 14.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags - IRC #ubuntuforums

    Member: Not Canonical Team

    Please do not PM me about your forum account unless you have been asked to. The correct place to contact an admin about your account is here.

Page 1 of 2 12 LastLast

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
  •