• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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