[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to run automatically a script as soon root login



Am Montag, 13. Mai 2024, 13:24:17 CEST schrieb Greg Wooledge:
> On Mon, May 13, 2024 at 07:36:07AM +0200, Richard wrote:
> > .profile

Sorry, dumb question: Depending of the shell, the user is using (let's say, he 
will use bash), can the script not be added into ~/.bashrc?

If yes, second dumb question: Coiuld it be ANY script or command? 
(also running as non-rootuser, like adding "runuser -u myuser 
command_whatever").

Just some thoughts....

Best

Hans 



Reply to: