Questions related to Linux 'passwd' command.

learn more… | top users | synonyms

2
votes
2answers
48 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
40 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
23 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
59 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
22 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
26 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
21 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
35 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
42 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
83 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
41 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
23 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
47 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
205 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
40 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
67 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
62 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
81 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
768 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
212 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
0answers
41 views

error while disabling adminstrator password expiry

i want to disable administrator password expiry but while giving following command ( /usr/local/samba/bin/samba-tool user setexpiry administrator --noexpiry) but i recive below error: Unknown ...
0
votes
1answer
132 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
783 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?
0
votes
0answers
38 views

Check if the password has changed yet

I am supposed to ask the user to change his password then wait for some time then check if he has changed it how can I check if the password has been changed??
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
0answers
92 views

libnss-extrausers change password

I have Ubuntu 12.04. Installed libnss-extrausers and configured nsswitch.conf. Now, users registered in /var/lib/extrausers/{passwd,group,shadow} are recognized by the system and can login. However, ...
0
votes
3answers
160 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
47 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
119 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
4k 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
209 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
88 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
594 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
96 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
201 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
196 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
12k 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
330 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
20k 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
839 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 ...