sudo usermod -e 2011-10-22 -u username1 usermod: invalid user ID 'username1' -> A bug?
1) lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
2) apt-cache policy passwd
passwd:
Installed: 1:4.1.4.
Candidate: 1:4.1.4.
Version table:
*** 1:4.1.4.
500 http://
100 /var/lib/
3) I am trying to create and enable a user exclusively via the command line (please no suggestions to use the GUI :D). All of the following commands were successful except the last one:
sudo useradd username1
sudo adduser username1 username1
sudo smbpasswd -a username1
sudo usermod -e 2011-10-22 -u username1
usermod: invalid user ID 'username1'
However, according to the User and Groups GUI username1 is a valid user but is disabled. Is this a bug or am I missing something?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu shadow Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply: