Re: running at boot time & signals



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kasper Dupont wrote:
> Lew Pitcher wrote:
>> You will want something like
>> #c1:1235:respawn:/sbin/agetty 38400 tty1 linux
>> c1:1235:respawn:/bin/su - username -c /path </dev/tty1 >/dev/tty1 2>&1
>
> I'd rather use a program that was intended for the purpose
> instead of letting init do that redirection. Here is an
> example I have been using in my own inittab:
>
> 1:2345:respawn:/local/bin/open -c 1 -l -w -- /local/sbin/dummy

Thanks, Kasper

I learn something new every day. I hadn't seen the "open" command
before. Where does it come from? AFAICT, Slackware (my distro of choice)
doesn't provide it.

> If getty can be instructed to execute something else
> instead of login, then that would also be a possibility.

Agreed.


- --

Lew Pitcher, IT Specialist, Enterprise Data Systems
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFD17ZzagVFX4UWr64RAqbtAKDqPKDSJ43sEXXmINmq49Twou102ACg7slA
PPISfzSNDlUixzfw266MGdY=
=nj5q
-----END PGP SIGNATURE-----
.



Relevant Pages

  • Re: is something wrong in it?
    ... >>>if i dont give it i get message command not found. ... > Lew Pitcher, IT Specialist, Enterprise Data Systems ... If "mfold" is Zuker's RNA secondary structure prediction script, ...
    (comp.os.linux.misc)
  • Re: Bit operations query on changing case
    ... >>>If I have a character from alphabets and I want to change case of the ... > Lew Pitcher, IT Specialist, Enterprise Data Systems ... > Enterprise Technology Solutions, TD Bank Financial Group ...
    (comp.lang.c)
  • Re: Converting albums to MP3
    ... Lew Pitcher, IT Specialist, Enterprise Data Systems ... Enterprise Technology Solutions, TD Bank Financial Group ...
    (comp.os.linux.misc)
  • Re: What is the s in the file modes
    ... > Jeremy Shovan wrote: ... > Lew Pitcher, IT Consultant, Enterprise Data Systems ...
    (alt.os.linux)
  • Re: why it is not giving any error?
    ... The issue is whether or not "characters use ascii conversion" is a valid ... Lew Pitcher ... IT Specialist, Enterprise Data Systems, ...
    (comp.lang.c)