Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Oct 1998 22:31:35 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Chuck Robey <chuckr@mat.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: ppp incoming question 
Message-ID:  <199810070531.WAA00386@dingo.cdrom.com>
In-Reply-To: Your message of "Tue, 06 Oct 1998 21:34:39 EDT." <Pine.BSF.4.05.9810062129530.15656-100000@picnic.mat.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> How come, when you're setting up an incoming (user ppp) connection, you
> have to use a /usr/local/bin/ppplogin script?  The script just invokes
> "ppp -direct incoming", and I wonder why you couldn't just edit that
> line into the shell field of the passwd (via vipw).  Would there be some
> kind of permission problem?  I'm thinking of doing something like that,
> with chap user IDing, so I wouldn't need separate logins, and I'd want
> to eliminate any intervening files if I can.

Because the shell field specifies the shell, not its arguments.

> If I _have_ to have the file, what permissions and what user/group
> should be set on the file?

It's not really important, as long as it's executable by the user 
logging in.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810070531.WAA00386>