[SWLUG] specifying user in scripts

bascule asura at theexcession.co.uk
Mon Aug 5 19:53:16 UTC 2002


hmm, sudo looks as if it will do the trick, getting funky with ssh sounds 
like too much overkill for this!

cheers

bascule

On Sunday 04 August 2002 7:44 pm, you wrote:
>
> Either via use of the sudo command,
> (man sudo, make sure you have the sudo rpm/package)
> You set which user and which commands in the sudoers file then
> sudo -u someuser  this-command
>
> or possibly via ssh using the authorized_keys mechanism to avoid
> passwords.
>
> -J
>
>
>
>
> _______________________________________________
> SWLUG Discussion List - Discuss at swlug.org.uk
> http://swlug.org.uk/mailman/listinfo/discuss

-- 
'People need vampires,' she [Granny] said. 'They helps 'em remember what 
stakes and garlic are for.'
(Carpe Jugulum)




More information about the Swlug mailing list