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
343k 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 ...
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?
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 ...
4
votes
1answer
3k 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 ...
2
votes
2answers
8k views

Login screen won't accept my password

I recently upgraded to 12.04 from 11.10 and since upgrading have been unable to login to my user profile. The upgrade went okay and I can login to a guest session fine but whenever I try to login to ...
33
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 / ...
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 ...
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 ...
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 ...
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?
4
votes
5answers
11k views

Can I set my user account to have no password?

If I attempt to change my password to nothing by opening "User Accounts", the "Change" button remains greyed out: How do I change my password to be empty? I know you can set Ubuntu to automatically ...
28
votes
4answers
44k 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 ...
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?
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 ...
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 ...
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 ...
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.
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 ...
1
vote
2answers
547 views

Graphical authentication works; why does sudo say my password is wrong?

I'm trying to install a theme, and when I enter the command sudo cp -r $HOME/Desktop/Overglossed /usr/share/themes the terminal asked for my sudo password which I entered, however I'm told my password ...
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 ...
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 ...
1
vote
1answer
194 views

How can I override passwd's checks for good passwords?

I have an encrypted /home and just had to reinstall Ubuntu. Problem is, my /home partition is encrypted with my old password, which is short, and my new system has a new password on it. I could fix ...
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. ...
5
votes
4answers
5k views

How to move wifi passwords to a new installation

I have an Acer Aspire ZG5 netbook which is currently running Jolicloud, but I've decided it isn't for me and plan to switch to Lubuntu or Xubuntu. However, I do lot of travelling and have many saved ...
4
votes
2answers
4k 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 ...
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 ...
2
votes
1answer
15k views

How do I remove Ubuntu's password requirement?

Here are my circumstances: I am running Ubuntu 12.04. I have one user account. I absolutely hate the password requirement. How do I disable this requirement such that my Linux computer will behave ...
1
vote
3answers
9k views

Cannot authenticate without a password

The problem can be reproduced as follows: When I remove the password of an administrator account, "Log In without Password", I cannot use that account to authenticate. When I do something that ...
6
votes
2answers
4k views

Password not working in Graphical Applications (gksu)? Works with sudo

I am having a problem where when I try to run say GParted, when I am prompted for a password, it says "Incorrect Password" But when I enter the same password using terminal sudo gparted for example, ...
3
votes
3answers
20k views

How do I turn off all the password prompts?

I've been using Ubuntu 12.04 LTS since release and am trying to figure out a couple things about all of these passwords and key-ring prompts that I've just been living with for a while. Ever since ...
2
votes
2answers
2k views

How do I set a password for guest login

Want to set a guest session password for login. How do you do this after skipping it at OS install?
1
vote
1answer
12k views

Create a new user in 12.04?

I tried to create a new user in 12.04 using the "Users menu", but although the user guest has been created, I never got asked a password. So when I logout and try to login as guest, I get asked a ...
1
vote
2answers
520 views

Password Reset Disk

I use Windows 7 as my secondary OS and it has an option for creating Password reset disk i.e. a flash drive when inserted to a locked Win 7 (in case password is forgotten), would reset the system ...
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 ...
4
votes
2answers
1k 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 ...
2
votes
4answers
1k views

Root password needed

When I first installed Ubuntu 13.04 from a USB stick I was asked to fill in for user username and password so I set one on my own. When I run Ubuntu I click log in but it automatically logs me in as ...
2
votes
2answers
6k views

How to add user without useradd command?

Is it possible to add a user in ubuntu linux without useradd command I think its possible by adding the entries in /etc/passwd and /etc/shadow but i don't know the exact steps to do it and the user ...
0
votes
1answer
213 views

How to read the password from variable?

I am trying to move my file to another system which is located in some other place, with this command: rsync -avrz src destination It works fine. But what I need is to put this command in shell ...
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 ...
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 ...
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 ...
5
votes
2answers
719 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 ...
1
vote
2answers
4k views

Authentication for everything

I was wondering if it is possible to just disable the password authentication. It is getting tedious to install everything when I'm being asked to enter my password what feels like every two seconds. ...
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? ...
5
votes
2answers
14k 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 make the ...
3
votes
1answer
151 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, ...
2
votes
1answer
795 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 ?
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. ...
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 ...
4
votes
4answers
6k 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, ...