Questions related to Linux 'passwd' command.

learn more… | top users | synonyms

2
votes
0answers
18 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
49 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
32 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
20 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
37 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
92 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
32 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
38 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
54 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
76 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
447 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
141 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
32 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
90 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
234 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
32 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
82 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
0answers
20 views

recovering files after deleting adminstrative user accidentally

I have accidentally deleted my administrative user from the /etc/passwd file and rebooted the system. Any work around how to access my files there. I am using a virtual machine. Regards, Prateek
0
votes
3answers
155 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
45 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
108 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
3k 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
198 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
83 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
499 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
87 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
0
votes
1answer
191 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
193 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 ...
2
votes
4answers
11k 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 ...
1
vote
1answer
311 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 ...
5
votes
1answer
18k 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
742 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 ...