Questions tagged [password]
Passwords are used to check user identity or authenticate, for example log in to a user account, to gain elevated privileges with `sudo` or with encryption. Use this tag when asking about using and managing passwords, and understanding where and when they are needed for system security.
398
questions
7
votes
1
answer
19k
views
How to set vino's password through terminal?
How can one set vino's password through terminal in Ubuntu 18.04?
Here it uses vino-passwd command, but this gives me vino-passwd: command not found.
6
votes
3
answers
24k
views
Login screen won't accept my password
I recently upgraded to 12.04 from 11.10 and since upgrading have been unable to log in to my user profile. The upgrade went okay and I can login to a guest session fine but whenever I try to login to ...
6
votes
2
answers
3k
views
Standard accounts are able to get root access using sudo without password request
I installed some software by running its install script with
sudo ./install.sh
After the installation all the accounts on my Ubuntu laptop can gain root access by simply issuing the command sudo -s, ...
5
votes
2
answers
12k
views
How do you configure Netplan on Ubuntu to store 802.1x credentials securely?
In an 802.1x enterprise network, I can use NetworkManager to configure 802.1x parameters, including the password. This all works, but requires storing the password in cleartext.
We are trying to use ...
5
votes
2
answers
866
views
Is there a way to move passwords from "Default" to "Login" in seahorse?
When I reinstalled Ubuntu, I logged in on my wifi and authenticated with a password that seahorse saved in "Default". But I want that in "Login" so that I won't have to enter my password twice ...
5
votes
8
answers
33k
views
How do I login to Ubuntu Core?
I just configured Ubuntu Core on my Raspberry Pi 3 and now it is now asking for a user name and password in the terminal (I think). It says:
Ubuntu Core 16 on <my ip address> (ttyl)
localhost ...
3
votes
1
answer
1k
views
Ubuntu 20.04 Login with no "see password" option
is there a way to disable the eye icon in the login screen to prevent from someone "accidentally" turning it on and thus showing their password in plain sight? Thank you!
3
votes
2
answers
6k
views
Unable to log in and unable to reset the password [duplicate]
I was reading some blog and I found that I can manually start GUI by issuing this command sudo startx, so I did that. I did it in the terminal with the GUI already running. Now I'm unable to login to ...
3
votes
2
answers
8k
views
Password protect files/folders using cli
I have some important documents that I need to protect from anyone else having access to my machine.
The problem being the other persons have access to my machine via root account so changing the ...
2
votes
1
answer
3k
views
Can't connect to a specific WiFi network (Ubuntu 20.04)
I'm using Ubuntu 20.04 and I can't connect to a specific wifi network. I have the password and I can connect to it with success in the same laptop with Windows 10 but in ubuntu it stays connecting for ...
1
vote
1
answer
2k
views
Password prompt on login only, not on lock screen
I'd like to only be prompted for my password on login, as I thought I had indicated on setup. But when I open my laptop lid, I'm prompted again.
Is it possible to eliminate the Suspend (on battery) ...
105
votes
7
answers
183k
views
How to change/disable password complexity test when changing password?
I know that it is a "bad" idea, I know that it is not secure, I know. I searched the net for an answer and all I saw was whining that it's not good. But I like using Linux because it lets me ...
71
votes
4
answers
53k
views
What is the correct way to use git with gnome-keyring and http(s) repos?
Currently, whenever I git pull or git push to a http(s) repository, I get the following:
$ git pull
Username for 'https://gitrepos.reposdomain.com': [email protected]
Password for 'https://me@mydomain....
69
votes
11
answers
78k
views
chsh always asking a password , and get `PAM: Authentication failure`
Today I tried to switch to another shell.
First I tried fish, and used chsh -s fish to change fish to default. After some time I found it cannot use ~/.bashrc (&& needs to be replaced by and)....
55
votes
11
answers
57k
views
How to extract saved password from Remmina?
I don't remember my password for one of my servers. I have a working connection saved and want to get the password from it.
From Remmina faq:
Q: How are my passwords stored? Are they secure?
...
54
votes
4
answers
57k
views
Ignore "Bad: new and old password are too similar"
I receive this message when trying to change my password:
"Bad: new and old password are too similar"
The passwords' "similarity" is irrelevant for my needs, so I'd like to bypass this.
I tried ...
52
votes
4
answers
145k
views
Adding NOPASSWD in /etc/sudoers doesn't work
On 14.04 here. I SSHed into my machine, added the following line to /etc/sudoers:
myuser ALL=NOPASSWD: ALL
And then tried running:
sudo mkdir /etc/blah
...and I'm being asked for my password. ...
45
votes
4
answers
44k
views
How do I get passwords from the keyring in the terminal for usage in scripts?
When you have a LUKS encrypted drive in your computer, Nautilus or Nemo will show it under Devices as a drive with a little lock on it.
When you click it, you need to enter a password. If you choose ...
35
votes
1
answer
53k
views
Why was I asked to create a password in order to disable secure boot on initial installation of Ubuntu 16.04?
On initial installation of Ubuntu 16.04, I checked off "Install third-party software" and, underneath it, I was prompted to check off another option which would allow the OS package to automatically ...
30
votes
6
answers
112k
views
How to reset a password from kwallet?
How to reset a password from kwallet?
I've read about a kwallet GUI that could be installed from synaptic, but I found nothing. Actually, it shows a GUI asking me the password, so it must contain ...
29
votes
4
answers
94k
views
MySQL root password setup error
I am working on a project and I have been trying to use MySQL instead of SQLite. So I downloaded MySQL and I am trying to set the root password with mysql_secure_installation, but when I submit both ...
27
votes
8
answers
5k
views
How to make super-user permissions last longer than using sudo?
Is there a way through which I can make the sudo command give me permissions for a longer period than its default time?
It can be a pain having to keep entering the sudo password, when requiring the ...
26
votes
2
answers
61k
views
Is there a password manager for Ubuntu [duplicate]
What is the most popular open source password manager which I can use on a Ubuntu machine or preferably across Ubuntu/Windows machines with some form of data compatibility. If there is a free web ...
22
votes
7
answers
31k
views
After new Ubuntu 15.04 installation, startup asks for password even though no disk encryption was set up
I installed a brand new SSD into my laptop and did a fresh install of Ubuntu 15.04, with NO system encryption used (only Home directory encryption). However, it still asks me for a password when ...
21
votes
6
answers
65k
views
How to save VPN passwords with NetworkManger for nmcli?
There are many posts about putting VPN passwords into /etc/NetworkManager/system-connections/<connection>. I can't get any of them working on Ubuntu 12.04. The fields in the questions and ...
20
votes
5
answers
34k
views
ssh never ask for a password
Somehow my SSH never wants to ask me for a password.
So I setup a VPS on some random server somewhere in the world and I want to connect to it with ssh.
I can setup a key, but when I do this:
ssh -...
19
votes
2
answers
11k
views
ecryptfs and login passphrase vs mount passphrase
I installed ecryptfs-utils and used it to create a Private encrypted folder in my home directory.
During creation of Private encrypted folder I was asked for a login passphrase and a mount passphrase....
18
votes
2
answers
43k
views
How do I change the default keyring password?
When I log in & the gnome-keyring-daemon is running, then I'm prompted to unlock all passwords stored in the so called Default keyring using some password I've picked before.
How can I change the ...
17
votes
1
answer
9k
views
Why is there an inconsistency in base64 output?
I am using the java based neo4j graph database on lubuntu 15.04.
The neo4j HTTP authentication header uses base64 encoding of 'username:password' (not including quotes). Using wireshark I can see ...
14
votes
3
answers
4k
views
What could be the reason, that private keys are not unlocked?
Since I updated to Ubuntu 17.10 a while ago, my private keys – the which I use for example to access my server via ssh – are not unlocked programmatically after login anymore.
My understanding is, ...
13
votes
2
answers
4k
views
Unable to create a user with password via ssh [closed]
I tried to create a user with password via ssh (with root permission) like this:
ssh [email protected] useradd -p $(openssl passwd -1 1234) newuser
By doing so, I could successfully create an account ...
13
votes
4
answers
4k
views
What is default password?
What is the difference between default and login?
And what does Default Keyring mean?
When I run some applications(Emphaty etc), Unlock Keyring window launched first, then it requires me password. ...
13
votes
3
answers
50k
views
Why Chrome always ask for keyring and is it possible to remove it without giving password?
Chrome on Ubuntu always asks for password for keyring. There are many posts out there suggesting ways to remove the prompt by setting up a keyring. However, I also found that when I am prompt for a ...
10
votes
5
answers
26k
views
Assign VNC password using script
I am using a script to automatically set up a computer. I need to assign a password to the vnc server for the user, which is normally done using the vncserver command. However, it prompts for the user ...
10
votes
3
answers
9k
views
Can you use gnome keyring in bash script, if yes then how?
I am developing a automated mounting script for Windows shares. I have finished the script and it works just fine, but is it possible to add Gnome Keyring to the bash so once user writes hes/hers ...
9
votes
3
answers
266k
views
What is the default password for Ubuntu 12.04? [duplicate]
Possible Duplicate:
How do I reset a lost Administrative (root) password?
I've just had someone install Ubuntu 12.04. I am not a techie - just a user. I am now asked for a password which I do not ...
9
votes
3
answers
13k
views
Sshd_config still allowing password authentication
I have adapted my sshd_config file where I changed the value of:
PasswordAuthentication no
ChallengeResponseAuthentication no
usePAM no ( now set to yes)
Furthermore I have restarted the sshd ...
9
votes
5
answers
40k
views
Installed perfectly but password not working for login or authentication
I installed Ubuntu on an old XP machine (replaced XP with Ubuntu) and it seemed like it went well... Until I tried to download and install the suggested updates!
The password I set during installation ...
8
votes
3
answers
1k
views
How do I change my password? [duplicate]
How do I change my password for Ubuntu?
8
votes
1
answer
3k
views
Manage passwords in Chromium --> security risk?
I realized that in Chromium (and also Chrome) for Linux it is possible to see all saved passwords in clear text. That seems a bit strange to me... after a short research I found out that
it is not ...
7
votes
1
answer
4k
views
Multiple Passwords on One Account
I'd like to join three ideas into one interesting and sometimes useful feature. There was a question about using multiple passwords earlier this year, but it didn't receive much attention. I'd like to ...
7
votes
3
answers
5k
views
How to ban an IP temporarily after several incorrect password attempts?
My new server got hacked (sigh).
I have physical access to my machine. It seems like the only changes made was a new user account created and a broken /etc/sudoers file.
It seems as though the ...
7
votes
1
answer
29k
views
How to add the GRUB password protection to the OS load process instead of when editing boot options
This is the current content of my grub.conf file.
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition....
7
votes
2
answers
5k
views
Why I'm not asked to set a password for Root when Installing Ubuntu?
When I install Ubuntu, it never shows an option to set a password, yet there is a password when trying to log in to the admin account and when I try to install packages. I can't change the password in ...
7
votes
5
answers
2k
views
How to shorten unlock time in 22.04
I'v just installed a fresh Ubuntu 22.04 on a Dell latitude 5480. Except for upgrading the packages, I haven't done anything - not even changing the driver (default is xorg).
When the screen is locked, ...
7
votes
2
answers
411
views
Any reason to have a strong user password?
I recently decided to change my (very) strong user password to something trivial.
This was mostly to eliminate frustration with typing a long password each time I sudo or whatever.
My question is, ...
7
votes
4
answers
98k
views
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
I know that some users may say that this is a duplication but seriously I have combed the answers and those on the internet for over half a day and I am so frustrated i am going to explode.
Now that ...
6
votes
1
answer
230
views
Root shell is not helping in recovering access to administrator account whose password I have lost
I lost administrative password.
I have tried - I know the regular method by which I go to GRUB menu and go to root (drop to root shell prompt) and set password there. It is well described - here. To ...
6
votes
1
answer
18k
views
How do disable user list on login screen? (Prompt for username and password) Ubuntu 15.10
I was curious as to if there is a way to disable the user list on the login screen on Ubuntu 15.10, thus making it so that any user would have to enter their username as well as their password to log ...
6
votes
3
answers
3k
views
Passwords in the Password/Encryption Keys program
I noticed that I have passwords in the Password/Encryption Keys program . It appears that anybody who walked up to my computer could go look at all my passwords without needing a master password. Did ...