Re: SSH Remote Execution - su?

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



Tim Nelson wrote:
> So, how am I able to remote login using SSH, su to root, then execute a command as root?
>   
You would probably be better off setting up forced-commands-only only 
login for root.  and configuring the /root/.ssh/authorized_keys file 
with the command you want to execute.

-- 
Benjamin Franz
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux