try sudo -u hudson -H bash
--j. On Tue, Mar 23, 2010 at 10:54, Reto Bachmann-Gmuer <reto.bachm...@trialox.org> wrote: > following > http://wiki.apache.org/general/Hudson#How_do_I_run_commands_as_the_Hudson_user.3FI > try to try to do a build as hudson user to see what might go wrong > with > the clerezza builds. However it doesn't seem to work: > > r...@minerva:~$ sudo su - hudson > [sudo] password for reto: > r...@minerva:~$ whoami > reto > > Cheers, > reto > -- --j.