From: Barry Margolin <barmar@bbnplanet.com>
Subject: Re: non-shell login problems
Date: 1998/10/09 [thread overview]
Message-ID: <fJtT1.59$675.883826@burlma1-snr1.gtei.net> (raw)
In-Reply-To: 6vlmk4$43u$1@newsreader2.core.theplanet.net
In article <6vlmk4$43u$1@newsreader2.core.theplanet.net>,
Mr Mayes <dad@mayesie.freeserve.co.uk> wrote:
>I recently setup a user with a non-shell login program . All was well until
>I added a parameter to it. With the parameter specified logins fail and the
>error "no shell" is returned. Adding the login program to /etc/shells does
>not help.
The login program field of the passwd entry is the name of a file to
execute, it's not a command line to execute.
>I have worked around the problem by calling the program from an exec
>statement within .profile but I would prefer not to do this, and to call it
>as the user's default login program.
Write a script that executes the command line you want, and make this
script be his login program..
--
Barry Margolin, barmar@bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
prev parent reply other threads:[~1998-10-09 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-09 4:00 non-shell login problems Mr Mayes
1998-10-09 4:00 ` Barry Margolin [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox