Hello,
How can add a root user with ssh?
Hello,
How can add a root user with ssh?
Regards,
Masood Yarmohammadi
The root user is created when you install your OS. It's not recommended to have more than one root (UID:0) account on a server as it can pose a significant security risk. For that it's better to use either the wheel group and su, or sudo. You should check out a Linux specific site for that type of exercise as mentioned in your previous post.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
You could allways create a reseller and give them full permission's
Thanks for answers.
I need 2 user by root access.
How can create it with ssh access?
Regards,
Masood Yarmohammadi
type
then make typeCode:adduser username
if you don't know how to use sudo, please checkCode:visudo
Code:man sudo man visudo
Thank you.
i don't know anything about visudo
please help me steb by step. please ...
1- i type
2-Code:adduser admin
and show:Code:visudo
Code:# sudoers file. # # This file MUST be edited with the 'visudo' command as root. # # See the sudoers man page for the details on how to write a sudoers file. # # Host alias specification # User alias specification # Cmnd alias specification # Defaults specification # User privilege specification root ALL=(ALL) ALL # Uncomment to allow people in group wheel to run all commands # %wheel ALL=(ALL) ALL # Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL # Samples # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom # %users localhost=/sbin/shutdown -h now
Regards,
Masood Yarmohammadi