Questions related to Linux 'passwd' command.

learn more… | top users | synonyms

-2
votes
0answers
18 views

Change password of Snappy Ubuntu Core

I downloaded Snappy Ubuntu Core and run it in KVM. But I have a problem with the passwd command. How do I add a user into Snappy Ubuntu Core? When I downloaded the image of Ubuntu Core, there was ...
2
votes
2answers
36 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
19 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
32 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
177 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
54 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
101 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
203 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
349 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
46 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
140 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
38 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
36 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
37 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
51 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
73 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
95 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
62 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
32 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
52 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
368 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
52 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
128 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 ...
0
votes
0answers
17 views

Wanna to Make password shorter less than 4 character in Ubuntu 14.04 LTS [duplicate]

Hello please help me to short the length of password in ubuntu 14.04 LTS . I tried some method like edit the file /etc/pam.d/common-password and make minlen=4 but this is not working becoz terminal ...
1
vote
2answers
81 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 ...
0
votes
1answer
90 views

keyboard starting layout

I have just upgrade my system to 14.04 During instalation i chose greek as the main keyboard language when i was prompted to enter the password i used one with latin characters in the problem is that ...
1
vote
1answer
1k 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
448 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
187 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: ...
1
vote
2answers
2k 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
3k 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
192 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
51 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
128 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
3answers
5k 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
223 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
91 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
811 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
1k 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
102 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
220 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
205 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
13k 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
374 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
24k 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 ...