• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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