Questions related to Linux 'passwd' command.

learn more… | top users | synonyms

1
vote
0answers
33 views

Delete a duplicate username?

My ubuntu login screen shows two accounts with my username. I am only able to log into one of them, and I have no idea where the other one came from or what the password is. My /etc/passwd file shows ...
0
votes
1answer
40 views

Recover encrypted home directory: login passwd changed, mount passphrase lost

I have made an extensive research through the site before submitting a new question, but on one side I'm a huge noob and on the other side non of the previous queries seems to fit my case. I'll try ...
0
votes
0answers
22 views

Change Ubuntu forgotten password while still logged in

I changed my account password but forgot it, but I am still logged in. Is there any way to change the forgotten password which does not require rebooting or restarting the computer as I can't shut ...
2
votes
2answers
48 views

Ubuntu - login with old and new password

Running Ubuntu 12.04, I changed the password of a user using "sudo passwd user" but now that user is able to login using both the old password and the new password. Any idea of why this would happen ? ...
2
votes
1answer
43 views

How to delete User with User ID and GID 0

I just created a user with UID and GID to 0. Now when I access this user lets say "abc" will login as root. But when I loin as root i cannot list all the directories with ls command where i can do it ...
0
votes
0answers
19 views

Password problems(nooby question) [duplicate]

I just recently followed a guide to get Ubuntu on my chrome book, link to the guide I followed: http://lifehacker.com/how-to-install-linux-on-a-chromebook-and-unlock-its-ful-509039343 Anyways, when I ...
1
vote
1answer
43 views

Ubuntu asks for password where none is set

Everytime I want to use sudo it asks for a password, which sounds odd since I didn't set one, but apparently you need to do some tricks around it first. I figured I should first create a password and ...
1
vote
1answer
537 views

root shell bash commands not working

I attempted to change my sudo password(I removed myself from sudoers list by mistake). I tried following. In recovery mode, I dropped down to root shell. It is still asking root password. Ctrl D ...
0
votes
1answer
77 views

Script wont print my echo statement (Also need to suppress the warning)

I am trying to write a very simple shell script in Linux. The Scenario I am trying to achieve is: Creating an user account and giving it a password internally (No interaction with user allowed for ...
0
votes
1answer
141 views

ubuntu 14.10 not accepting my password

I've tried changing it from grub recovery mode and using root@username mount -rw -o mount / and typing passwd username and entering my new password but when I try to login with the new password the ...
2
votes
2answers
265 views

How do I group /etc/passwd and /etc/shadow file content into new file by username?

Suppose I have content in /etc/shadow file like this: root:!!:16087:::::: ftp:!!:14796:::::: and in /etc/passwd file like this: ftp:x:40:49:FTP account:/srv/ftp:/sbin/nologin ...
0
votes
1answer
669 views

Ubuntu won't accept password

I have a notebook with Ubuntu 14.04 installed... My user is set to auto login, but everytime I need to input the password (for installing applications for example), it won't accept the actual ...
0
votes
1answer
56 views

modify another user's password entry with sudo power

what are the sequence of commands to modify another user's password entry with sudo power in ubuntu? I like to change the other user's pass in ubuntu with sudo power?
0
votes
2answers
305 views

Allow root access without passwd

Have a VirtualBox Ubuntu guest (14.04) used for the sake of testing only. The root user has its own password, so I can login as root in a separate terminal (su -), or directly from a login session (eg ...
0
votes
0answers
40 views

Password reset - Authentication failure

Together with some friends we are using an Ubuntu 12.04 LTS dedicated Server for Teamspeak, Minecraft, etc. But we have some trouble with the passwords. Every day the server itself resets some of the ...
2
votes
1answer
43 views

How to interrupt the passwd command?

When I type passwd, I get Changing password for <user>. (current) UNIX password: Now suppose at this point I change my mind and I decide to stay with my old password. What should I do? Ctrl ...
0
votes
0answers
54 views

Password not accepted, even after PW change in rescue mode

Suddenly my 14.04 system started refusing a logon PW (strangely, at installation I had set "do not require PW at login" but it still did require it. I went through the usual routine (recovery mode, ...
0
votes
1answer
56 views

User stopped being sudoer after release upgrade

I've upgraded one of web server, that was running Ubuntu from 11.10 to 12.04 (No downtime since it's creation, though serving 10-40k requests/daily). sudo apt-get install update-manager-core ...
2
votes
0answers
93 views

Login denied with correct Password after grub-rescue

On thursday last week i made a mistake when trying to enlarge my Win7 partition with the Windows tool. As a result i had my bootpartition deleted from the partition table an could not boot, neither ...
0
votes
1answer
111 views

I've changed my login by manual editing the /etc/passwd and my former password is not recognised

I've modified the /etc/passwd by changing manualy mickey to mike such as: mike:x:1000:25357:mike:/home/mickey:/bin/bash Unfortunately, when I'm trying to log as mike, my former password in not ...
0
votes
1answer
79 views

Allow PHP for accessing filesystem [closed]

I'm a newbie and I have installed Linux Mint (x64 Ubuntu-based) and Apache v2.0, PHP 5.5.9 and MySQL. Then I installed WordPress and I was almost unable to upload and edit files (I got "Permission ...
-2
votes
1answer
36 views

administrative passwd how to change it in the root [duplicate]

each time i go to the root and try to change my passwd an error occurs and it says authencation manipulation error or some thing like that.and btw the passwd s match. whoever knows whats happening ...
0
votes
1answer
59 views

Stuck in a mess

I'm stuck in mess. I recently blanked my administrative password. When I try to do anything that requires a password, I don't have one. Also installing software from the networking bash console(to ...
1
vote
1answer
421 views

Is it possible for users not to be in passwd? [closed]

So I have a shell on a remote server. [alexandros.dimos@fep-62-1 ~]$ whoami alexandros.dimos [alexandros.dimos@fep-62-1 ~]$ cat /etc/passwd this too long the point is my user is not ...
1
vote
1answer
59 views

Re-disabling the root account

In ubuntu by default the su (root) password is not not set. I have set it by using the sudo passwd (see link). But I didn't like it. Can I go back to my original state.
-1
votes
1answer
148 views

Moving Encrypted Folders

How can i move Encrypted folder(everything) to new Disk, my HDD that has Linux is about to blow, its so slow. So I bought SSD but, how can i move encrypted folders because my Linux folders are ...
1
vote
2answers
88 views

Can we login to the 'root' (Not as root user but in the 'root' user) user in ubuntu?

I want to login as user 'root' in bash shell, but do not know the password of it. Here I am talking about the user which i have found in passwd as below: sudo cat /etc/passwd ...
1
vote
1answer
2k views

Rkhunter 122 suspect files; do I have a problem?

I am new to ubuntu. I am using Xfce Ubuntu 14.04 LTS. I have ran rkhunter a few weeks age and only got a few warnings. The forum said that they were normal. But, this time rkhunter reported 122 ...
0
votes
1answer
614 views

Backup and restore user passwords

Is it possible to make a file copy to backup users password and then restore them by copying them back? It seems that the file in question is /etc/shadow as per ...
0
votes
1answer
218 views

/etc/passwd file is corrupt and i cannot change it i also cannot login as root

I have attempted to change the file /etc/passwd in ubuntu server 12.04 and I tried to change the root username. I only changed one part of the root username this is what i have: ...
3
votes
2answers
4k views

what is difference between /etc/shadow and /etc/passwd

I think both files /etc/shadow and /etc/passwd are same? they just report some information about accounts.What is the difference betwwen them?
8
votes
5answers
4k views

Rename /etc/passwd and /etc/shadow for security reasons [closed]

I have a server. My server is secure, but let's imagine a good hacker that enter in. He can now look into /etc/passwd and /etc/shadow. I would like to rename that files /etc/passwd to something like ...
0
votes
3answers
212 views

Change Password and Install VLC player

I am the new user of Ubuntu. Recently I installed Ubuntu 13.04 on my system. Actually I want to change my previous password with the new one. Secondly , I want to install VLC player through commands. ...
0
votes
1answer
52 views

What can I do when on a used computer I can not enter the administrator account? [duplicate]

I recently purchased a used computer, and the owner could not remember the administrater password. It has 13.04 on it.
0
votes
1answer
135 views

give user access to passwd command

How to give permission for the new user account to have access to passwd command to allow this new user account to be able to change other account password? I tried zxcvbnm ALL= NOPASSWD:/etc/passwd ...
5
votes
4answers
7k views

user does not exist in /etc/passwd when trying to change the default shell

I want to change my default shell from tcsh to bash. So I tried and this is what happened: >sudo chsh userid Changing the login shell for userid Enter the new value, or press ENTER for the default ...
1
vote
2answers
229 views

Running my shell script instead of Ubuntu's built-in file

I have my shell script ready to be run. But my problem is when I need user to run my shell script and not the Ubuntu's built-in file For example, I want user to run my passwd shell script and not ...
0
votes
1answer
95 views

which else commands does command passwd involve? [closed]

Have thought that command passwd uses for encryption of input the command mcrypt ? But instead it is crypt resp. encrypt ? Source-code of crypt/encrypt is not available ? When am not confusing this ...
0
votes
2answers
985 views

When I try to reset my password using root I couldn't type [duplicate]

When I try to reset my password from the root menu using the passwd command, it says "type new unix password", but I can't type. Please help!
1
vote
2answers
2k views

'root' user does not exist?

When I run the su command, the terminal returns: user 'su' does not exist.How do I add the root user? Can anyone answer this? I tried sudo adduser su, but after this, I get the same problem.
2
votes
1answer
2k views

chpasswd silently fails to do anything; is there a substitute?

After a series of break-in attempts, I generated new random passwords for all the users on my Ubuntu 12.04.2 LTS server running Virtualmin and then, as root, used chpasswd to change their passwords. ...
0
votes
1answer
105 views

How to change password of user to very simple like 'w'? [duplicate]

It says at least 6 characters. I want to change to easy input. How to change password of user to very simple like one character 'w' ? Thanks
1
vote
1answer
235 views

How to set password for administrator account created without password? [duplicate]

I've recently upgraded to Ubuntu 12.04 and so far I didn't have problems with it. Until I decided to make a stupid mistake of messing with the Compiz settings and making the GUI disappear. I made some ...
2
votes
1answer
208 views

passwd problem Ubuntu 12.04

I'm running Ubuntu Server 12.04 LTS and since the latest update of the passwd program I can't logon to the System anymore. If I enter a vaild user password the system shows me the login dialog again ...
3
votes
4answers
15k views

Why does `sudo passwd root` reset my root password? Is this a security risk?

Both in my ubuntu desktop host and virtual machine. I have't login as root for about a month, during which I upgraded the kernel. I found my root password doesn't work anymore. However, by using sudo ...
2
votes
1answer
396 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 ...
6
votes
1answer
27k views

How can I find the password to www-data group to so I can change directory access rights?

I am running Ubuntu on a Oracle Vbox in Windows 7 to develop a website. I have a set of directories that have owner read/write permissions but the group www-data does not have rights on the ...
1
vote
1answer
1k views

Special characters in password

I am looking for a list of the valid characters which can be used in a user account password on Ubuntu. man passwd just tells me: As a general guideline, passwords should consist of 6 to 8 ...