home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psinntp!tfd!afp!gna!frmug!netlink
- From: netlink@frmug.fr.mugnet.org (Eric Feillant)
- Newsgroups: comp.unix.sys5.r3
- Subject: NOGETTY PROGRAMM - execute cmd from inittab without login and pw.
- Keywords: nogetty
- Message-ID: <1992Dec14.115129.6045@frmug.fr.mugnet.org>
- Date: 14 Dec 92 11:51:29 GMT
- Organization: Minix User Group France
- Lines: 16
-
- i took in usenet news a source unix programm whose call "nogetty"
- this programm can execute a cmd from inittab and was wrote for
- SCO systems and all others Sys V r3.2 unixes.
- In /etc/inittab, it looks like that:
- t100:23:respawn:/etc/nogetty USERNAME CMD arg...
- ex:
- t100:23:respawn:/etc/nogetty guest /bin/sh
- -> to execute a bourne shell with user id 'guest'.
- If it works fine on SCO Systems, i got troubles to run it with
- Interactive sys Vr3.2 system.When i run it it tells me:
- -c: -c: cannot open
- i don't know why it tells me it.
- Anyway, if somebody can help me, it would be great, perhaps do u have
- one patch for it ? Or does anyone of u wrote such a programm ?
-
- Thanx to answer me.
-