[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] starting binaries as insignificant users
- Subject: [ale] starting binaries as insignificant users
- From: jonathan.glass at ibb.gatech.edu (Jonathan Glass (IBB))
- Date: 09 Mar 2003 21:28:40 -0500
On Sun, 2003-03-09 at 19:30, John Wells wrote:
> I have a server program I'd like to start as a userid that doesn't have a
> login shell. I've created the user, modified /etc/passwd to point to
> /dev/null (I've tried /sbin/nologin as well), and the tried an "su user -c
> process".
>
> Apparently, su requires a valid shell. What's the generally accepted way
> of doing this?
>
> Thanks!
> John
Look in /etc/xinetd.d/ at the config files. You should be able to
duplicate one of these, modify it to fit your application and username,
register it with chkconfig (man chkconfig), and have it start at boot.
HTH
Jonathan Glass
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale