PDA

View Full Version : Adding Users Error



2Insane
02-05-2007, 10:13 AM
When I try to add a user i get an error

Unable to add user to ssh config file



Results:
User elive created



Details


Unix User created successfully

User's System Quotas set
User's data directory created successfully
Domains directory created successfully
Domains directory created successfully in user's home



Domain Created Successfully

Unable to add user to ssh config file


Can you tell me how to fix it, or whats wrong??

DirectAdmin Support
02-05-2007, 10:22 AM
The ssh config file is:

/etc/ssh/sshd_config

the line DA is trying to add is:
AllowUsers eliveI'm guessing the file doesn't exist.

John

2Insane
02-05-2007, 11:45 AM
The file exists and the user is in the file.

But still you cannot ssh. When you try to login with putty it just kicks you off.

DirectAdmin Support
02-05-2007, 11:55 AM
Check to ensure that there is a valid shell assigned to the user:

grep elive /etc/passwd

Some systems require this shell to be present in /etc/shells.

Check that it exists on disk (eg, /bin/sh, or /bin/bash)

Lastly, try restarting sshd.

John