On Mon, May 21, 2007 at 05:49:38PM +0200, Tassilo Horn wrote:
> Hey, cool! 
> 
>   sudo -H fish -c do-update
> 
> works as expected. As I don't see any reasons why I could want to
> execute commands as root but with my own HOME, I'll create an alias for
> it.

You can also add the "always_set_home" option to /etc/sudoers.  See
sudoers(5) for other options you may want.

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to