su/sudo (General questions)
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