Link to home
Start Free TrialLog in
Avatar of sharingsunshine
sharingsunshineFlag for United States of America

asked on

Centos 6 User Can't Assign Password

Keep getting this error every time I add a password to a user.

[root@ip-172-31-31-103 html]# adduser ftpd2
[root@ip-172-31-31-103 html]# passwd 78AH832446X8e26W
passwd: Unknown user name '78AH832446X8e26W'.
[root@ip-172-31-31-103 html]# useradd -d /ftp/ftpd3 ftpd3
useradd: cannot create directory /ftp/ftpd3
[root@ip-172-31-31-103 html]# mkdir /ftp
[root@ip-172-31-31-103 html]# useradd -d /ftp/ftpd3 ftpd3
[root@ip-172-31-31-103 html]# passwd ^C
[root@ip-172-31-31-103 html]# passwd 78AH832446X8e26W
passwd: Unknown user name '78AH832446X8e26W'.
[root@ip-172-31-31-103 html]# useradd -d /ftp/ftpd4 ftpd4
[root@ip-172-31-31-103 html]# passwd RqQA64F5uQQR2AHs
passwd: Unknown user name 'RqQA64F5uQQR2AHs'.
[root@ip-172-31-31-103 html]# useradd -c 'FTP USER ftpd5' -m ftpd5
[root@ip-172-31-31-103 html]# passwd RqQA64F5uQQR2AHs
passwd: Unknown user name 'RqQA64F5uQQR2AHs'.

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sharingsunshine

ASKER

Thanks, the only change I made was the U needs to be a lower case u.  So instead of Usermod it should be usermod.