Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hylafax and PPP?



At 07:57 31/07/97 +0100, David Woolley wrote:
>> > Maybe - but you will still need a getty of some sort if you ever want a
>> > conventional data login.  Also it mightn't be such a simple shell
script as
>> > a control-c at the right time could give root access to the system.
>
>The shell script would not have the serial line as its source of commands, so
>it would close safely on an interrupt.

Hello David
I've been checking the hylafax source code particularly Getty.c++
It appears the functions that exec the getty first redirect stdin,stdout to
the tty line before exec'ing the getty program - or shell script in this case.
(Check fn's Getty::run and Getty::setupSession)

This comes from running a HP-UX sytem where they explicitly say _never_ put
a shell script as a login shell into /etc/passwd or /etc/shells.

If i've interpreted this incorrectly please say

Thanks Robert



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services