Cannot create a user

streamservice

Verified User
Joined
Dec 14, 2005
Messages
173
Location
The Netherlands
If this topic is in the wrong forum, please move it.

I get the following error when I try to create a user on a vps:
Code:
Error Creating User dennisvw

Details

Error creating user: /usr/sbin/useradd -m -g dennisvw -p '$fake_data' -s /bin/false dennisvw

Cannot find a home directory after the system user creation for dennisvw

The home directory for dennisvw was not created.

The vps is running debian 3.1, I have a license for debian 3.1.
 
Last edited:
Your VPS may not have the useradd command properly implemented.
First:
Code:
# ls -ald dennisvw
If it exists, post the output of the command.
If it doesn't exist run the following from the command line:
Code:
# /usr/sbin/useradd -m -g dennisvw -p '$fake_data' -s /bin/false dennisvw
# ls -ald dennisvw
and print any output.

Note that the leading # is NOT to be typed; it's there to show you to run the commands as root.

Jeff
 
Jeff,

Both didn't work, but after a reboot off the master server (only the vps didn'twork) it works again. It seems like something did go wrong. For others using linux-vserver: try a reboot off the master and probably it works.
 
Back
Top