Date: Sat, 2 Mar 2002 09:58:49 -0800 From: Mahlon <mahlon-dated-1015523930.982d99@martini.nu> To: rachel <listbox_8811@hotmail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /etc/rc.local Message-ID: <20020302095849.D77232@martini.nu> In-Reply-To: <OE47kxERL3kxs4rxwVl0000e117@hotmail.com>; from "listbox_8811@hotmail.com" on Sat, Mar 02, 2002 at 09:53:11AM References: <OE47kxERL3kxs4rxwVl0000e117@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I want to be able to run a command from /etc/rc.local as a specific user. > Is there a tool or script that will change ownership from root to another > user from that startup script? Check the man page for su, specifically the -c and -m switches. > Lastly is there a tool that will do this and also restart the process if it > dies? cd /usr/ports/ && make search key=daemontools -Mahlon Mahlon E. Smith jabber id: mahlon@chat.martini.nu http://www.martini.nu/ get pgp key: mahlon-pgp@martini.nu .......................................................................... If you cannot convince them, confuse them. -- Harry S Truman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020302095849.D77232>