inittab entry run a process with another userid

rishikv_at_hotmail.com
Date: 04/30/05


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.



Relevant Pages

  • Re: Things not starting in inittab
    ... run "smitty install_assist" and perform a proper exit. ... Or you could just comment out or remove this entry from the inittab. ...
    (AIX-L)
  • Re: Things not starting in inittab
    ... You'd never exited the inittab startup process. ... run "smitty install_assist" and perform a proper exit. ... Or you could just comment out or remove this entry from the inittab. ... Goodyear Tire and Rubber Company ...
    (AIX-L)
  • ppp
    ... I can setup a kermit serial connection to my ES machine with an inittab ... entry. ...
    (RedHat)
  • Re: Problems with inittab
    ... i think init never reaches this entry - it hangs at some not-returning ... respawning or even starting? ... had any issues with inittab entries executing? ... server to AIX 5.1 ML05 and ever since then inittab does not appear to be ...
    (AIX-L)
  • Re: what is /dev/ipldevice and bosboot
    ... happen from EMC power path installations adding a rc.emcpower entry to ... the inittab. ...
    (comp.unix.aix)