Adding Users Error

2Insane

New member
Joined
Feb 5, 2007
Messages
2
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??
 
The ssh config file is:

/etc/ssh/sshd_config

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

John
 
Exists

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.
 
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
 
Back
Top