setup sudo root for new server

Robert Moskowitz rgm at htt-consult.com
Sun Jun 1 03:10:44 UTC 2025



On 5/31/25 10:00 PM, Karl Auer wrote:
> On Sat, 2025-05-31 at 21:26 -0400, bruce wrote:
>>   I can set up ssh
>>   I can setup a generic user "tom" and the root user
>>   Tom can ssh into the srvr.  root can't
> Root login over ssh is almost certainly explicitly blocked in the sshd
> configuration. Generally speaking, you should use sudo to do root
> things.

Or after the user ssh login, then "su".  Which is what I do when I have 
lots of root stuff to do.  Gets tiring to always type in sudo.

>
> What's the overall point of this? Are you trying to set up a sort of
> multi-tenant shared webserver, where tom, mary, fred and jane can all
> run their own websites? Or is there just one website, but you want an
> unprivileged user e.g. tom, to be able to manage the website?
>
> Or something else?
>
> Regards, K.
>




More information about the ubuntu-users mailing list