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

learn more… | top users | synonyms (1)

5
votes
2answers
2k views

How can I clear my cached gpg password?

I've tried: the SIGHUP method --> no succes the cache timeout in gpg-agent.conf --> it seems that this file is not read, althougt I have the 'use-agent' line in gpg.conf What should I do ?
5
votes
1answer
2k views

Wifi only accepts passwords of 5 or 13 characters

Installed Ubuntu 13.04 and when attempting to connecting to a home wifi network, the connect button is only click-able with passwords of 5 or 13 characters. Is there a fix?
5
votes
3answers
4k views

How to set user passwords using passwd without a prompt?

I am writing a script to add a large amount of users to a system. Part of this involves setting default passwords for each user. How can I set users' passwords without it prompting me for the password ...
5
votes
2answers
4k views

How to disable password on Hibernate/Suspend?

I have installed Ubuntu 11.10 and on suspend/hibernate I am asked for password. I couldn't find apps > gnome-power-manager > lock in gconf-editor. What's the solution for this?
5
votes
2answers
91 views

What are the reasons to have strong password at home?

For a typical home PC the security situation is following: No servers running, not even the SSH. Firewall is ufw running in simple mode: all outgoing allowed, all incoming denied. Torrents and DC++ ...
5
votes
2answers
271 views

First password often wrong when unlocking computer

I have a laptop with Ubuntu 14.04, when I lock my computer and try to unlock it after some time has passed (not if I do it immediately) the first time I try to unlock it, it will tell me that my ...
5
votes
1answer
76 views

Set password aging for a group of users

With chage command we can change password expiry information for a user. Is there anyway to enforce password aging for a group of users?
5
votes
1answer
138 views

How to specify in password input dialog the language always to be English?

In Gnome I often enter sudo password when Russian language is being selected. It's so annoying to wait for password verification fail, to switch to English and retype the password! Is there a way to ...
5
votes
3answers
949 views

After Login there is a strange window asking for a password

since upgrading to Ubuntu 13.04, I get a window asking for a password for my email address. The window appears after logging into the desktop. The window is titled "Zugangsanfrage" (access request) ...
5
votes
1answer
149 views

password on resume

I would like to not have to enter my password on resume after closing the lid on my laptop. I used to be able to do this but can't find the option anywhere anymore. all the notes I have found say go ...
5
votes
1answer
996 views

Password problem after creating a new user

I created a new user account and when I try to login to that account by switching accounts it said wrong password. I searched here and found my answer here - Create a new user in 12.04? Now when I ...
5
votes
2answers
795 views

Precautions during SSH [duplicate]

Possible Duplicate: How can I audit users and access attempts to SSH on my server? I recently had to give away my Ubuntu 12.10 root password to one of my friends so that he could SSH into ...
5
votes
1answer
2k views

How can I change the password of Deja-dup (Backup)?

How can I change the encrypted password of Deja-dup (Backup)? I have set the encrypted password, it worked in the first two days, but now every time the backup starts it asks for the password I type ...
5
votes
1answer
236 views

How do I allow a group (except one user in that group) to use sudo without a password?

How do I allow an entire group, except a certain user in that group, to use sudo without providing password?
5
votes
1answer
430 views

How to prevent wireless network asking password when briefly out of range

When I'm connected to a wireless network from quite far away I sometimes briefly lose the connection. Then Network Manager prompts me to re-confirm the password as if it suspected that was the problem ...
5
votes
1answer
171 views

Is there a way to set the MAAS password via a preseed?

As has been asked before (here and here) I need to set a password during commissioning for my nodes. I realize that ssh keys are set (and I have one) but I need to log in to the node directly as ...
5
votes
1answer
310 views

MD5 hashing with salt length of 5

I'm newbie in Ubuntu and currently using it for assignment. I've checked my encrypted password at /etc/shadow folder and found that my encrypted password using MD5 encryption, but my problem is the ...
5
votes
1answer
187 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 ...
5
votes
2answers
2k views

How to change/create password keyring

when I try to remote desktop to the server from another ubuntu machine using the remote desktop viewer, it asks me to enter the password, which I do, then the viewer pane just goes black. When I come ...
5
votes
2answers
6k views

How to avoid typing ssh-add everytime

I read and followed some online documentation on how to set up a ssh-agent so that I don't need to type in password every time I ssh to a remote machine. However, with the help of ssh-agent, I still ...
4
votes
3answers
3k views

Is there a way to lock my browser with a password?

It would be OK if it was only with my login password, but I would like to lock both midori and Firefox so that they cannot be used without entering a password. I'm running 12.04.
4
votes
1answer
254 views

How stop Ubuntu from reading my password out loud every time I log on?

I turned on a certain feature on the login screen and now my password is read out loud when I type it on login. What did I turn on, and how do I turn this back off?
4
votes
1answer
333 views

Why does the terminal not hold my root password for sudo? [duplicate]

I stopped using Ubuntu for a while (since 12.10) and recently came back to it. From what I remember, it used to only ask for the root password once for a terminal session (for sudo commands). Now it ...
4
votes
2answers
2k views

Standards accounts are able to get root access using sudo without password request

I have installed a particular software using the installer present using the command sudo ./install.sh. After the installation now all the accounts on my ubuntu laptop can gain root access by ...
4
votes
1answer
38k views

Samba and User Acount Passwords

Is it possible to tie your login password to your samba password? Ideally every 30 days, users need to change their passwords to login into the machine and if its possible, when they update their ...
4
votes
1answer
4k views

How to make Ubuntu remember forever the password after the first time

Is it possible to make Ubuntu remember the password for any program after the first time it asks. I get asked for the password for Synaptic, for making a usb bootable, for connecting to the wifi ...
4
votes
1answer
1k views

How do I crate a virtual ftp user with preseted password using ftpasswd and bash

Hello command line gurus, I've created an ftp user like this: ftpasswd --passwd --name webftp --uid 33 --home /var/www --shell /bin/false What I like to do is to create the same user with a ...
4
votes
4answers
8k views

Disable locking the screen after resuming from suspend

One thing I like for MacBooks is that they are usable within a second after opening their lid when they were on stand by. Ubuntu always requires me to enter my password when I resume from suspend, ...
4
votes
1answer
1k views

Software Center doesn't prompt for password

I'm using Ubuntu 10.10. The software center was asking me for password when I wanted to install/remove any application. Since last week, it doesn't prompt for password. Also, I have the same problem ...
4
votes
3answers
185 views

New admin account asking for a password?

I've made new admin account. I did not set a password for that account and it now asks me for the password. Since I can access the account as it automatically logs on when the laptop is turned on, can ...
4
votes
4answers
396 views

How can I prevent a user from changing their password? [duplicate]

I want to prevent a user from changing their own password. Additionally, if possible, I want to prevent them from changing it via sudo.
4
votes
1answer
590 views

How can I batch decrypt a series of PDF files?

I have a bunch of PDF documents I know the password for and would like to decrypt them. How can I achieve this?
4
votes
3answers
2k views

My PC does not ask password in Login even if I set it to ASK on login

When I first installed Ubuntu 11.04 I marked NOT to ask password in login. Then, ofcourse, it didn't ask me password on login. But now I want the OS to ask login password as I have many critical datas ...
4
votes
3answers
10k views

Where are passwords stored?

How do you figure out where are user's passwords stored, for users that can login? I know the system is using LDAP for users (username, home path, etc.), but it doesn't contain any kind of passwords. ...
4
votes
1answer
60 views

What are the allowed characters for a password?

I'm asking for the type of characters supported by user passwords (the passwd command precisely) Are spaces allowed? NULL characters (\0)? a subset of ASCII or more? If spaces are allowed do I need ...
4
votes
1answer
274 views

Is there a way that I can disable change password

I have 20 computers in a high school lab and I want to set up a standard student log in. This is done, the problem is that students can change the password to anything, is there a way to block this? ...
4
votes
1answer
175 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, ...
4
votes
4answers
2k views

How can I use my GPass data?

There are two parts here: It appears that GPass is dropped in oneiric so can anyone recommend a new password manager? Is there a way to open the file created with GPass, or do I need to recover the ...
4
votes
2answers
1k views

Password field of login screen is disabled

I'm using ubuntu 14.04, here in the 'login screen' the password field is disabled, this issue also occurs sometimes during 'lock screen'. I don't want to remove password from my account nor do i want ...
4
votes
1answer
529 views

How can I make ubuntu ask for my password before mounting usb-drives? [duplicate]

I did some research and found my question asked already. It is a duplicate of is it possible to make ubuntu ask for my password before mounting usb-drives? the problem is, they did not answer that ...
4
votes
2answers
707 views

“System problem detected” password fail [closed]

I have multiple Ubuntu Precise servers and workstations, all of which suffer from the same really infuriating problem: when the "System Problem Detected" dialog comes up due to something or other ...
4
votes
1answer
1k views

I broke logins to my server by fiddling with /etc/passwd and /etc/shadow

I am running an Ubuntu Server (with ebox/zentyal installed). I believe it uses a combination of LDAP users and local users but I currently cannot login (through SSH) with any of them. I was trying to ...
4
votes
1answer
1k views

How do I change passwords that have been saved in the keyring?

I created a saved password via System ▸ Preferences ▸ Passwords and Encryption Keys ▸ File ▸ New ▸ Stored Password. How can I update it?
4
votes
1answer
4k views

Expect script that enters a username and password

I am trying to run an expect script, that everytime the prompt says user@blah's password, it enters the password I have the following expect script but it seem to be acting up. Can anyone tell me ...
4
votes
2answers
192 views

Will my data be safe if my laptop is stolen when there is FDE and auto-login?

My SSD supports Full Disk Encryption (FDE). I have enabled FDE and set a password in BIOS. In case my laptop is stolen or lost, I want nobody to be able to get my data. Is it now secure to allow ...
4
votes
2answers
31k views

What is the root password for a live usb stick? [duplicate]

ubuntu@ubuntu:~$ su Password: su: Authentication failure I installed Ubuntu to a USB stick. I didn't set any password any time - why can't I use su?
4
votes
1answer
186 views

Long passphrase for login and short password for screensaver

The situation is that: For the encrypted home directory, any passphrase less than 10 characters is useless at all. If someone physically get the harddisk, the data and the other sensitive password ...
4
votes
0answers
197 views

The information could not be retrieved. Maybe your internet connection is down? [closed]

I got this error from Ubuntu One Control Panel It could be related to: - I tried (at least) tow times upload 3GB file using web interface without success - I create copy of one file from-to sahred ...
4
votes
3answers
658 views

How to allow a “standard user” (no sudo) make IP config changes without requiring admin password

Anyone know if it is possible to have a "Standard User" account make IP changes (via GUI or terminal) without requiring the admin (sudo) password? I want the user to be able to change interface from ...
3
votes
3answers
2k views

How to recover a deleted /etc/passwd?

I deleted the /etc/passwd file and cannot login now. I don't know the root password and tried lots of passwords, but none of them worked. How can I fix this?