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

Run Bash Script as Root

Is there some way I can run a Bash script as root without being prompted for a password every time? I'm attempting to automate the process of starting my LAMPP install, which requires me running a ...
4
votes
1answer
821 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? ...
3
votes
2answers
2k views

How to set up GRUB2 password in an easy way?

I need to setup password for GRUB2 on Ubuntu 14.04 LTS amd64. The setup I am trying to reach is to have [e]dit and [c]onsole options protected by password, but booting of operating system entries (...
3
votes
2answers
125 views

What would be the concept behind the password not being echoed on cli

I am curious to know why the password characters(special characters) are not echoed when we login to the system via a terminal. But we can see the password characters(special characters) while we ...
2
votes
2answers
20k views

I cannot enter my password when using sudo to install Sophos AV for Linux [duplicate]

I cannot type my password as shown below. After successfully unlocking root account in Ubuntu 12.04 LTS. saintmichael@ubuntu:~$ sudo usage: sudo [-D level] -h | -K | -k | -V usage: sudo -v [-AknS] [-...
2
votes
1answer
7k views

Why won't Ubuntu installed using Wubi accept my password?

I can boot into Ubuntu just fine as a guest but it refuses to accept my login name and password that were set during the Wubi install. I reinstalled it again with basic login and password just to make ...
2
votes
5answers
23k views

Authenticate user that has no password? [duplicate]

I've set up my user account so that no password is required to login and I need to install some updates. However when prompted for the password, it says authentication failed if I leave the box blank....
2
votes
1answer
1k views

Run script with arguments as sudo without being asked for password

I have two programs in Java that I'm calling from bash script: java program1 arg ... arg sudo java program2 arg ... arg I want to run program2 as sudo without being asked for password. I'm aware of ...
2
votes
1answer
1k views

Setup auto login and now I do not have root authorization for anything

I am the sole user of my computer so I use my root user name for everything. I am tired of logging in all the time and entering a keyring so I was hoping that creating an automatic login would resolve ...
2
votes
1answer
453 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 ...
1
vote
3answers
2k views

When trying to install Wine on 12.10, 'Sudo' command will not let me type in a password

As the title explains, I have been attempting to install Wine on my laptop which is running 12.10. When I access the command terminal and entered sudo add-apt-repository ppa:ubuntu-wine/ppa I was ...
1
vote
2answers
765 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 ...
1
vote
1answer
3k views

How to reset my password without rebooting?

I lost my password to a VM running 11.04, but have ssh access via public key authentication. Is there any way I can reset the password without a reboot? (This is to avoid downtime of services it's ...
1
vote
1answer
547 views

How can I change my password? [closed]

How can I change my password? I have looked around Ask Ubuntu but haven't found anything promising. A few answers got me close, but the advice always came from a more advanced user. I am new to the ...
1
vote
3answers
311 views

Encrypted home dir: Cannot login after sudo password reset

I have a user, say secretuser, with an encrypted home directory. Unfortunately I forgot the password for user secretuser, because it was very secret. So I loggged on with another admin user, say ...
0
votes
0answers
122 views

how to back to be the administrator in ubuntu 11.10 [duplicate]

Possible Duplicate: How do I add myself back as a sudo user? I was exploring in user accounts. I only have my account but i changed from administrator to standart. and I didn't can put to ...
0
votes
2answers
424 views

How to reset mysql root password without logging into mysql?

I want to reset mysql root password but I don't want to log into mysql and then reset the password just as follows, mysql -u root FLUSH PRIVILEGES; SET PASSWORD FOR root@'localhost' = PASSWORD('...
0
votes
1answer
2k views

How can I delete my printer from Ubuntu?

Using 12.04 my printer a canon ip2600 will not print. SystemSettings/printers shows it as installed, connected to local host, enabled, accepting jobs, shared and allowing printing for everyone. Yet ...
30
votes
3answers
353k 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 ...
18
votes
3answers
271k 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, ...
17
votes
3answers
36k 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. ...
12
votes
2answers
5k views

Yubikey Two-factor Authentication Full-disk Encryption via LUKS

I recently acquired a Yubikey Neo - a nifty little hardware second factor authentication device. It's primarily intended for use with One Time Passwords, and the emerging U2F protocol - but since ...
26
votes
1answer
1k views

How to know if a authenticate box is real or fake?

For example, someone creates a fake Authenticate dialog to get my root password. How to know if it is real or fake?
13
votes
4answers
11k 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 ...
28
votes
1answer
16k 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 his/...
7
votes
2answers
62k 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 ...
5
votes
3answers
6k views

Remove sudo password when connecting to *new* WiFi network

So currently when my non-admin user tries to connect to a new WiFi network (e.g. at a cafe say) NetworkManager prompts for the admin user's password. Is there a way to turn this off and to allow the ...
13
votes
4answers
65k views

How can I unlock a password locked rar file without knowing the password?

I have .rar file that is password protected, but I accidentally have forgotten the password. The file extremely important to me. How can I get my file back? In windows, there was many programs that ...
8
votes
2answers
3k 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
2answers
455 views

How to make it so that a file can only be executed by root, but not as root?

There are certain applications that I don't want people to be able to open unless they have root privileges, however I do not want to give the programs root privileges. So how can I make it so that ...
5
votes
1answer
2k 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
0answers
390 views

Lock screen asks for password on no-password account

The Ubuntu lock screen always asks for a password even when the account does not have password. In my opinion, it should be exactly like the login screen: a button "connect >" for accounts that don't ...
4
votes
1answer
817 views

Authentication required before suspend

Since the last update of Ubuntu 14.04, when I press the sleep button in my laptop, a pop-up window appears with "Authentication is required for suspending the system". Password is not requested when ...
4
votes
2answers
10k 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 ...
3
votes
2answers
3k 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 ...
50
votes
1answer
1k views

How do I stop the constant requests for a password?

I am 70 years old and losing my memory. The only other person here is my wife, who I trust with everything. I have Ubuntu set to automatically log me in when I boot the system. I need to stop the ...
14
votes
3answers
1k views

How can I force sudo to always ask for a password after waking from suspend?

Say I execute a command with sudo, then if I use sudo within the next 15/5 minutes (not sure how long it remembers me for) it won't prompt me for a password. It will only prompt me again if I haven't ...
9
votes
5answers
20k views

How do I unlock a user account?

I've been to system settings and to User Accounts. My account is the only one on the system and I have previously been able to UnLock the screen so that I could set my account to login without ...
9
votes
1answer
244 views

Set a different passwords for unlock and sudo [duplicate]

I am running a single-user Ubuntu install. When I enter the password to unlock my screen after suspend/timeout, it is the same password I use for sudo - my user password. Is there any way for me to ...
8
votes
2answers
19k views

Encrypting Files and folder through terminal

I am new to part of encryption on Ubuntu . Is there any way to encrypt files and folder with password from terminal ? without using truecrypt or cryptkeeper etc.
8
votes
3answers
33k 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 is must have ...
5
votes
4answers
621 views

Cannot unlock session if user has no password

I created an account with no password for my 3 year old child. After some time of inactivity on that account, the session locks. Then I cannot unlock the session. Trying to unlock with an empty ...
3
votes
3answers
5k views

remember wireless password in kde

I've got kubuntu 12.04.3 LTS installed. Don't know why - whether it's a default option or I've made this - but KDE always keeps asking me for the wireless connection password and it's annoying a ...
2
votes
1answer
232 views

Log in with a password

I have not enabled auto login, but I can still log in to my account without entering my password. I want to turn this option off and let Ubuntu ask me for my password before logging in. This is only ...
2
votes
1answer
2k views

password does not work for everything “anymore”!

I did set my password as I installed Ubuntu some months ago, and all is running flawless up to few days ago. Since then, although I did never change my password, the whole authentication is not ...
1
vote
1answer
115 views

How to make GDM have a limit of incorrect password attempts before action is taken?

I am currently running Ubuntu GNOME 15.10 with GNOME 3.18, though I used to (a long while back) run Windows 7, and though Ubuntu is better in most ways, there is still a feature lacking or at least a ...
1
vote
3answers
34k 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
3answers
51k views

Bash - 'if' statement: compare two strings

I would like to make a script that deletes a directory with rmdir after confirming with a password using read to set the variable. So far I have this: #!/bin/bash -x echo "Password:" read -t 30 S1 ...
6
votes
3answers
793 views

How to add a Password to User Account if previously it set to “Log In Without Password”

I'm using Ubuntu 11.10 and some time ago I opened User Accounts with Administrator Privilage and I made change as "LOG IN WITHOUT PASSWORD" and now I want to add a password to My User Account. But I ...