Originally Posted by
holiday
I may have misunderstood, but I think xeraster is asking about the GUI login -- in which case the user is either at the physical machine or has previously authenticated a remote session. Disabling GUI login does not remove the requirement to supply a password.
That being said, the 'passwordless' remote login using ssh keys is more secure than a login requiring passwords.
Yes you are correct that I am talking about the GUI login and not logging in from a terminal or using sudo. I can't figure out how to get rid of that password requirement for anything!
Originally Posted by
deadflowr
You can set desktop users to be able to login without a password by adding them to the nopasswdlogin group.
...
...
This group does this one thing and this one thing only.
It does not allow you to do anything beyond that such as install or remove software.
Or make changes to the system beyond the files owned by the logged in user.
It simply allows you to login without the need to enter a password.
Plain and simple.
The nopasswdlogin only seems to get rid of the password when it comes to using the terminal (unless I'm using it wrong). I am trying to make it so that you can log in, through the gui, without typing in a password.
Here is what I have in my /etc/sudoers file in case maybe the gui password only goes away based on punctuation or some cryptic stuff that I couldn't guess. admin1 is the username.
Code:
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
admin1 ALL=(ALL) NOPASSWD: ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
Again, unless I am doing it wrong, this only removes the password requirement for sudo and, I assume, logging in from a terminal. I don't want that. I want to log in, through the gui, without having to enter a password.
I attached a picture of the screen I want there to not be a password on since everyone is so confused.
https://i.imgur.com/mq0RWti.jpg
https://i.imgur.com/TZljyGd.jpg
Bookmarks