Questions related to Linux 'passwd' command.
Questions tagged [passwd]
124 questions
13
votes
1 answer
Alternative to passwd --stdin in Ubuntu
I'm attempting to migrate an OpenVPN server from a CentOS box to an Ubuntu 18.04 one.
There is a script which creates new VPN users. Part of this is that it generates a new password for the user and then passes this in as the Linux password for the…

shaneoh
- 347
3
votes
3 answers
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 characters
including one or more characters from each of…

wim
- 12,738
2
votes
1 answer
Importing users that will be installed by programs
I am migrating from an old Ubuntu 10.04 server to a different machine, upgrading to 14.04 at the same time.
One of my tasks is to migrate the users, so I have exported a list of users with UID > 1000 on the old machine and then appended that list to…

Thomas Weller
- 4,617
- 4
- 24
- 36
2
votes
1 answer
How to reset an user password without knowing his current password?
A colleague has just resigned. And his account is being used as a build account on our Ubuntu 16.04.6 LTS.
Is there any way to reset his password without knowing his current password? I have tried sudo passwd $HIS_USER but it asks for current his…

Tuan
- 121
1
vote
2 answers
When changing the password for a user on my system, why does the size of /etc/shadow never get bigger or smaller?
When changing the password for a user on my Ubuntu system, I've noticed that no matter the length of the password that I choose the /etc/shadow file will always stay the same size and never increase/decrease.
How is this possible?

elliott94
- 135
1
vote
2 answers
I changed the username by changing /etc/passwd
I did something REALLY silly - I did ...
sudo vi /etc/passwd
Then I changed the username to the user I wanted, I exited the file.
Now - the user password no longer matches, I can't change the password as I can't enter the current password. I can't…

Sam Lamanite
- 11
1
vote
1 answer
how to unlock passwd from the command "sudo passwd -l [user]"?
I locked the passwd for a user by using the command,
sudo passwd -l [user]
Then, how do I unlock the passwd for this user?

Smile
- 1,099
0
votes
1 answer
Cannot bypass the password?
I forgot my Ubuntu password. I followed the steps given on your sites and I almost reached the end, but then my computer said:
passwd: authentication token manipulation error
I tried to do it again many times but it comes to the same result. I…
0
votes
1 answer
Need advice on /etc/passwd
I am very new to Ubuntu but im picking up the coding relatively quickly --- I have Matlab/arduino experience...
While attempting to set up a VPN, my brother decided to type ctrl-z while I was editing the /etc/passwd file and now I cant seem to find…

Zack
- 1
0
votes
1 answer
What can I do when on a used computer I can not enter the administrator account?
I recently purchased a used computer, and the owner could not remember the administrater password. It has 13.04 on it.
0
votes
1 answer
How to change password of user to very simple like 'w'?
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

waterloo2005
- 2,037
0
votes
1 answer
How to change to log in with password in 17-10.1?
I installed Ubuntu 17.10.1 to log in automatically without password. I would now want to set a password for logging in . I tried to do this but after change could not log in . How to do this properly? here is photo of my screen.
screen photo

Kirby-1989
- 163
-1
votes
1 answer
/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:…

user269398
- 1
- 2
-1
votes
1 answer
Forgot Password But have SSH key access
I have SSH key access to my homelab ubuntu machine from my main computer and I didnt have to use the password for months. Now I am trying to access the machine from my laptop but I have forgotten the password. Is there a way to reset the password…
-2
votes
1 answer
administrative passwd how to change it in the root
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 please help.HOw DO I CHANGE MY PASSWD .

cjc
- 1