[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sanity check in init.d



On Tue, Jan 12, 1999 at 01:56:50PM +0100, Martin Bialasinski wrote:
> if [ "$(id -u)" != "0" ]
[..]
> if [ "`whoami`" != "root" ]
[..]

Isn't testing for root in this manner not good?

-- 
"You only have one life.  If you value it, go home."
				-- Highlander


Reply to: