Subject: Re: set-uid scripts
To: David Forbes <>
From: R. C. Dowdeswell <>
List: current-users
Date: 10/30/1999 14:20:25
On 941317967 seconds since the Beginning of the UNIX epoch
David Forbes wrote:
>Summary: I'd really like to be able to execute a script at start up as a
>user other than root.  Easy I thought: chmod u+s.  However, top suggests
>otherwise.  How can I get around this?

Generally I do this by:

	su user -c /path/to/script

Which, until someone corrects me, seems to do the right thing.  ;)

 == Roland Dowdeswell                      http://www.Imrryr.ORG/~elric/  ==
 == The Unofficial NetBSD Web Pages        http://www.Imrryr.ORG/NetBSD/  ==
 == The NetBSD Project                            http://www.NetBSD.ORG/  ==