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

learn more… | top users | synonyms (1)

17
votes
7answers
8k views

Nothing shows up in the terminal when I type my password

When I'm about to install a program in the terminal it wants the password: [sudo] password for xxx: But when I want to type my password it happens nothing. What should I do?
21
votes
8answers
67k views

How to find out root password for installing software

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?
75
votes
1answer
87k 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 ...
58
votes
4answers
107k 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 ...
47
votes
5answers
63k views

How to encrypt 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 / ...
16
votes
6answers
43k 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 ...
4
votes
1answer
5k 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 ...
3
votes
2answers
11k 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 ...
48
votes
15answers
24k views

How can I easily encrypt 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 ...
24
votes
5answers
27k 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.
40
votes
5answers
5k 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 ...
3
votes
1answer
16k views

Can't SSH in as root

I'm using the default installation of openssh-server for my Ubuntu 14.04 server. I can connect through the console as root like normal, with my username and password. When I try to SSH with the same ...
10
votes
6answers
4k 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 ...
12
votes
3answers
5k 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 ...
13
votes
2answers
9k 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 ...
8
votes
3answers
14k 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?
6
votes
4answers
29k 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 ...
11
votes
1answer
2k 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
3k 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 ...
2
votes
2answers
144 views

Password for apps

I want to limit access to running apps with a password. Is that possible? I have an app in the tray icon and I want to close it for unauthorized access. Greetings
17
votes
1answer
40k views

How do I remove Ubuntu's password requirement? [duplicate]

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 ...
14
votes
1answer
17k 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?
11
votes
8answers
40k 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 ...
2
votes
3answers
16k 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 ...
19
votes
2answers
2k 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 ...
9
votes
2answers
11k views

unable to reset root password of mysql

I need to reset the root password of my local mysql installation but it woudln't let me. I've tried this: $ sudo /etc/init.d/mysql stop * Stopping MySQL database server mysqld ...
8
votes
3answers
14k 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. ...
12
votes
2answers
12k 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
4answers
9k 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
5k 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 ...
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 ...
2
votes
2answers
4k 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 ...
7
votes
3answers
426 views

How do I change my password?

How do I change my password for Ubuntu?
2
votes
1answer
381 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 ...
2
votes
2answers
9k views

Change user password while password is empty [duplicate]

I have a realy strange problem in Ubuntu 11.10. I have by accident my password set to empty. If I wan't to install software now the system asks for a password, but I haven't one anymore. If I enter my ...
32
votes
9answers
18k 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. ...
6
votes
1answer
1k views

How to configure pkexec to not ask for password?

I have a GUI application that needs to call a daemon (written in Python) with superuser privileges. I would like to do this without prompting the user for a password. Since the daemon is a script, I ...
7
votes
4answers
8k 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 ...
5
votes
2answers
4k 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 ?
10
votes
5answers
95k views

How to change root password in ubuntu?

I am trying to change root password in my Ubuntu system. This is what I did: ashot@ashot-desktop:~$ sudo passwd root passwd: Authentication token manipulation error passwd: password unchanged ...
9
votes
2answers
2k 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 ...
6
votes
1answer
4k 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?
8
votes
2answers
6k views

How do I get Ubuntu to ask me for a password at login again?

I just installed Ubuntu 12.10 and afterwards, I accidentally set the administrator account password to empty/null. This gave me problems when trying to do administrative tasks in the GUI, so after ...
6
votes
1answer
2k views

Set encrypted home passphrase

I just reinstalled Ubuntu, Natty. I set to use encrypted home, but once the system was running, I was asked to define the encrypted home passphrase. Out of haste, I skipped that, but now I want to ...
6
votes
2answers
5k 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, ...
2
votes
2answers
4k 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
13k 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 ...
9
votes
5answers
4k 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
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 ...
3
votes
3answers
110k views

What is the default root password when was never set at installation time? [duplicate]

On a standard desktop installation, I created my administrative and user login. Further with some applications, the system ask for the root password. So my question is: What will be the default ...