su/sudo - WeOnlyDo Discussion board

su/sudo (General questions)

by dirk, Thursday, February 03, 2011, 16:56 (5042 days ago)

I want to give my users the possibility to execute something on a linux server and this via an SSH connection. The connection and the sending of a command are easy to do. However in some cases the login is done as user and then they want to execute a su root or sudo , after that I need to send the root (or other users they want to su/sudo to) password. Does this mean that I would have to analyse the received strings to see when I'm prompted for a password (assuming that all *nixes requests this in the same way) or can this be done differently?


dirk


Complete thread:

 

  • su/sudo - dirk, 2011-02-03, 16:56 [*]