20

Non ROOT SSH User


Avatar
Dave Navarro, Jr.

I really need an SSH user that is not ROOT with root access using SUDO.

The problem is that GridPane itself requires a very specific setup since it runs as the ROOT user. I cannot customize the shell environment because my customizations cause gridpane to stop working.

One big featuer of GP is that "it's our server" we can do what we want with it, but if it breaks GridPane we're on our own.

Well, I don't want to break GridPane, but I do SSH access with my own system user so that I can set up my own aliases, change the default settings for LS, add custom scripts, without worrying about killing GridPane.

There has to be a way this can be done and still satisfy your need for security if this is TRULY my server.

A

Activity Newest / Oldest

Avatar

Jordan

I use zsh for my shell, so when I login I just type zsh and my customizations come in. If you're using bash, you can do something similar. Create a "dave" launch script that runs your custom login prompt, aliases and such. I have to do this on Cloudways because I have a custom-installed ZSH binary.


Avatar

Hubert Nguyen

I'd like to add my support for this feature as well.
I am using Vaultpress and their service requires non-root SSH users to run some commands. The alternative is to have the commands run through the wp-cron PHP code, and that's not great.


  • Avatar