Help - Search - Members - Calendar
Full Version: creating a new non root user?
The Planet Forums > Control Panels > Plesk
Gentle Giant
Hi,

Any idea as to how I can create a new non-root user for ssh

Thanks.
NightHawk
QUOTE
Originally posted by Gentle Giant
Hi,

Any idea as to how I can create a new non-root user for ssh

Thanks.



sure...ssh in to your server...
su - (to get to root)
type:
useradd -c "username" username
then:
passwd username

this will create a user and group of username and a home directory of /home/username. This user will have a shell of /bin/bash (which since you want to be able to use that user in ssh..that's a good thing).
Gentle Giant
Thankyou.

Just noticed that I have additional 'users' under /home of FTP and HTTPD. Is this normal?
NightHawk
QUOTE
Originally posted by Gentle Giant
Thankyou.

Just noticed that I have additional 'users' under /home of FTP and HTTPD. Is this normal?


you mean extra home directories under /home for users....and yes...they are normal ....
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.