• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

how do I create admin user in wheel group?

T

ThankYouAndMe

Guest
Using Putty to SSH to server, for security reasons, I want to disable 'root login' and then create a user in wheel group so that this user would first SSH to server and then su to root.

My Question:
What are the step-by-step procedures in creating a user in wheel group?
 
Hi,

Create an ftp login for a domain, this could also be on a fictive domainname, and give this user /bin/sh rights.

SSH-Login to server with this ftp username and passwd and su to root. Dont forget to disable root login in sshd_conf !

Better solution:

- create a rsa key and install on server (manual: search for openssh with google)
- change two lines in /etc/ssh/sshd_conf:
PermitRootLogin without-password
PasswordAuthentication no

now only users with installed rsa key can login and you don't have to su to root. Also root privilege sftp is possible with rsa key.


:)

Regards,
Bart
 
Back
Top