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

running progs as fake users

I want to run certain daemons as 'non-real' users like 'sendmail'. The
su(1) man page I can do something like:

	su bin -c makewhatis

But either the example is bogus, or the bin user had a real shell at
some point. A currently shipping installation has /sbin/nologin as it's
shell. So how do I do something like this from /etc/rc without giving
'bin' a real shell?