inittab entry run a process with another userid
rishikv_at_hotmail.com
Date: 04/30/05
- Next message: John-Paul Stewart: "Re: Where to put Linux, Windows, Swaps, data, and Applicaitons on 2-disk system"
- Previous message: bigbinc_at_hotmail.com: "Re: Setting up your own linux distro"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Apr 2005 10:44:45 -0700
Hi,
I have an entry in inittab as
xxx:5:respawn:su user -c '/home/local/bin/brassd -d >/dev/null 2>&1'
After adding this entry i did init q and the output from
ps -aef |grep brassd showed
root 28553 1 0 13:38 ? 00:00:00 su user -c /home/local/bin/brassd -d
>/dev/null 2>&1
user 28554 28553 0 13:38 ? 00:00:00 ksh -c /home/local/bin/brassd -d
>/dev/null 2>&1
user 28555 28554 2 13:38 ? 00:00:00 /home/local/bin/brassd -d
But for the same inittab entry in aix, HP and Sun i only see the third
entry. Is this normal in linux? For the use default login shell is ksh.
Thanks in advance.
- Next message: John-Paul Stewart: "Re: Where to put Linux, Windows, Swaps, data, and Applicaitons on 2-disk system"
- Previous message: bigbinc_at_hotmail.com: "Re: Setting up your own linux distro"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|