Questions regarding passwords and the use of them. Where and when it is needed for system security.

learn more… | top users | synonyms (1)

154
votes
14answers
342k views

How do I reset a lost administrative password?

I'm working on a Ubuntu system using a Panasonic CF-50 Laptop. My Client has completely forgotten his Administrative Password. He doesn't even remember entering one; however it is there. I've tried ...
40
votes
14answers
18k views

How can I simply password-protect a file?

Is there any simple (IE: right click in Nautilus) way to password protect a particular folder/file in Ubuntu? I've got a few files containing sensitive info and I'd much prefer that if/when I leave my ...
37
votes
5answers
4k views

How can I prevent someone from resetting my password with a Live CD?

Recently one of my friends came over to my place, within 15 minutes he hacked my account using a Live CD and reset the password in front of me. I was baffled to see such a thing. Please guide me to ...
34
votes
1answer
37k views

How do I run specific sudo commands without a password?

On one particular machine I often need to run sudo commands every now n then. I am fine with entering password on sudo in most of the cases. However there are three sudo commands I want to run ...
32
votes
6answers
39k views

Is there a way to password protect individual folders?

Let's say that I have a folder, within my Documents folder, that has files I want no one to access without a password. Is there a way to lock down that folder so that it's password protected / ...
28
votes
4answers
43k views

Execute sudo without Password?

Inspired by this question.... I am the sole person using my system with 12.04. Every time I issue a sudo command; the system asks for the user password (which is good in its own way). However I was ...
26
votes
9answers
13k views

Password Management Applications?

I have some passwords that are long, complicated and hard to remember. I would like to use a password-manager application to save all of my passwords instead of saving them using a text editor. ...
24
votes
17answers
12k views

Can you recommend a password generator?

I was hoping someone could recommend a good password generator. Extra props to the person who can name one that gives you a mnemonic to remember it as well.
20
votes
2answers
2k views

How do I force a user to change the password periodically?

I'm by far no network admin, but I know on the PC I use at work, we need to change our passwords every 30 or 45 days. Is there something like that on Ubuntu that can prompt users to change their ...
19
votes
8answers
47k views

How do I recover my root password?

I'm trying to install the NetBeans IDE in my Ubuntu and in the process it's asking for my root password which I don't remember. I know my sudo user password. How can I recover my root password?
18
votes
1answer
5k views

Force the user to change their password at first login

When I add a new user to my system I set a password and tell it to the new user. If the user doesn't like it, he/she can change it. However in my opinion it is better to force the user to change ...
17
votes
2answers
616 views

Accidentally typed password in username input, any logs to clear?

I have accidentally typed my password in SSH's interactive username prompt. Are there any log files that I should clear?
16
votes
2answers
1k views

Why should I trust the “System program problem detected” dialog?

This always shows up a few minutes after I log in: I have no idea what it is. If I click Report problem, it asks for my password: This is exactly what I would do if I wanted to steal someone's ...
15
votes
4answers
124k views

How to change root password for mysql and phpmyadmin

I've set up mysql and phpmyadmin and chose not to set a password when installing hoping that once set up i could login with root and no password but i get the following error from phpmyadmin: Login ...
13
votes
4answers
2k 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. ...
12
votes
1answer
3k views

Will changing password re-encrypt my home directory?

I need to change my user password. Do I need to take any extra steps for my encrypted home directory to become inaccessible with my old password and only accessible with my new password?
12
votes
3answers
6k views

How do I install MySQL without a password prompt?

I'm trying to install MySQL on Ubuntu Natty without the password prompt. However, I keep getting prompted for a password at some stage after the main installation. Also, when I do enter what I ...
12
votes
2answers
7k views

How do I prevent PolicyKit from asking for a password?

For years, I've had the following in my sudoers file: scott ALL=NOPASSWD: ALL For those who don't know, this prevents sudo and friends (gksudo, etc.) from asking for a password. However, over the ...
12
votes
3answers
6k 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 ...
11
votes
4answers
9k views

How to set a short password on Ubuntu?

When I install the Ubuntu, I set a short password(<4). Now I want to change the other short password by "passwd" or change passphrase on "Password and Keys" program, it needs a password >4 char.
11
votes
3answers
2k views

Why doesn't gnome-online-accounts accept a Google “application specific password”?

I use 2-step verification with Google, so when giving permission to gnome-online-accounts to access my Google account, I have to type in the authentication code as well. That's just fine, it's how ...
11
votes
4answers
7k views

Remove Keyring Popup on Startup [duplicate]

Possible Duplicate: Keyring On Startup popup I forgot my password recently, so I had to use Ubuntu's recovery mode to change it to something else. I used this command: passwd username and I ...
11
votes
8answers
2k views

Unlock keyring prompts three times instead of one time

When I have "automatic login" activated, the "Unlock the Gnome Keyring" box asks for my password. But this happens three times. There are three boxes asking me for my password. In 10.04 the box ...
11
votes
1answer
1k views

How to disable all password prompts?

Anything I want to download or to perform the easiest tasks, I am prompted for my password. All though this is an excellent security feature, it is a real inconvenience. I tried sudo visudo and ...
10
votes
2answers
2k views

Disable password access through SSH?

I'm setting up a server for backing up my desktop box remotely. I want to prevent remote password access to the server, permitting only users with private keys (AKA my desktop box) to access it. How ...
10
votes
6answers
3k views

Why can't non-admin users install software?

This is probably something I don't understand since I am used to Windows and am only starting out with Ubuntu. I know that software in linux comes in packages what I don't understand is why can't ...
10
votes
3answers
4k views

How to prevent system applications (like the Software Center) from asking for password?

I'd like Software Center, Update Manager and some other system management applications to work without asking for password (like sudo does if configured with NOPASSWD) but only asking for a ...
10
votes
2answers
7k 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 ...
9
votes
5answers
3k views

Why does Ubuntu force users to create a password upon installation?

There's been one problem I've had since I installed Ubuntu to run alongside Windows, I assume this would also be the same if it was installed to replace the other operating system as well, the ...
9
votes
3answers
815 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 ...
9
votes
2answers
1k views

What is the least insecure way to store a password that is used by a script?

I have a Bash script that automatically authenticates with a service using my username and password. The credentials are currently stored as plain text within the script. What precautions should I ...
9
votes
3answers
11k views

Disable root account in Ubuntu?

I was asked for root credentials to setup my printer in Ubuntu. This seemed to be caused by a bug. And the suggested workaround is to create a root password. Since it is default that no root password ...
9
votes
2answers
13k views

How can I allow SSH password authentication from only certain IP addresses?

I'd like to allow SSH password authentication from only a certain subnet. I see the option to disallow it globally in /etc/ssh/sshd_config: # Change to no to disable tunnelled clear text passwords ...
9
votes
1answer
5k views

KeePass2 plugins directory

Where is KeePass2 plugins directory? I'm using Ubuntu 12.04 LTS.
9
votes
1answer
8k views

Where are passwords saved?

This is a weird question to ask, but where are the passwords saved? I mean they must be somewhere for comparing every time. So where are system and network passwords saved?
9
votes
1answer
501 views

Where is the per-user salt kept?

Where does Ubuntu keep the password salt for each user?
9
votes
1answer
258 views

How can I protect my data when lending my computer to someone?

I'm going to lend an old PC with dual boot (Ubuntu and Win XP) to a friend for few days. Ubuntu contains a lot of data that I want to keep confidential. I have protected my session with a strong ...
9
votes
1answer
2k views

How secure is KeePassX?

I have hundreds of passwords, since I use a different random one for each website/service. They are all generated & stored with KeePassX, which can be synced to different computers and my android ...
8
votes
8answers
29k views

after 12.04 upgrade: can't log in although password is correct

I upgraded from 10.10 to 12.04, and now can't log in any more. The password is correct- when I type in a wrong one, I am told it's incorrect, while the correct one is seemingly accepted, but then just ...
8
votes
2answers
9k views

No password asked at login screen just start session button with LightDM

When I first installed Ubuntu I choose NOT to ask me for a password at login. That was ok for that moment cause it didn't ask me any password at login. But now I want to be asked for a login password. ...
8
votes
2answers
4k views

How do you set requirements (such as minimum length) on passwords?

Is there any way to set up minimum passcode requirements, such as a minimum length, requirement of mixed case alphanumerics and at least 1 symbol in the passcode, and enforce that at passcode changes? ...
8
votes
2answers
870 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 ...
8
votes
2answers
2k views

How to make Firefox use the Gnome Keyring vault for password storage and retrieval?

With Chrome it is quite simple to use Gnome Keyring for password storage. But with Firefox 4 on ubuntu 11.04, I don't know how to achieve this. I remember that firefox 4 supposedly has OS integration ...
7
votes
3answers
8k views

How do I make Ubuntu not ask me for my password?

I'm confident that I do not need a password for my computer. How do I remove passwords for things like when the screensaver activates and installing software?
7
votes
3answers
62k views

How do I set the root password so I can use su instead of sudo? [duplicate]

Possible Duplicate: How to know my root password? Instead of letting you set a password for root during install Ubuntu set it to * for no password and disables the actual account login, ...
7
votes
3answers
391 views

How do I change my password?

How do I change my password for Ubuntu?
7
votes
2answers
4k views

How to make Chrome/Chromium remember passwords in the gnome seahorse keyring?

Is it possible to make chrome or chromium (as that comes default in the repos) to use the Gnome seahorse as password vault? I have not found a way to do this for Firefox either, but maybe a solution ...
7
votes
1answer
3k views

Xubuntu: No password request after suspension

If I suspend my Xubuntu 12.10, and then take my computer off the suspension, it doesn't request any password. I have tried adding the gnome-screensaver on autostart settings, which I read somewhere ...
7
votes
2answers
3k views

How to discard saved password for samba share in unity?

I access samba shares from unity on Ubuntu 11.10 and saved username/pass for it. Now, I want to use a different username. Each time I go to the share and open it, it just opens without asking for ...
7
votes
1answer
6k views

How to remove/change saved SVN passwords?

I'm using SVN from Eclipse and it has a feature that allows you to save the SVN user and password. It think it uses something called gnome-keyring to do so. The problem is that now I need to use ...