primm wrote:
> I want a script that does this as a user:
> 
> rcalsasound restart
> tuxtype
> 
> What chance do I stand without having to set sudo on 20 clients?

Why not?

vi myscript.sh
chmod 755 myscript.sh

visudo

for i in `cat client_list`
do
        scp /etc/sudoers [EMAIL PROTECTED]:/etc
        scp myscript.sh [EMAIL PROTECTED]:/usr/local/bin
done
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to