From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,b19116cecfcffd44 X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,b19116cecfcffd44 X-Google-Attributes: gidfee84,public From: Barry Margolin Subject: Re: non-shell login problems Date: 1998/10/09 Message-ID: #1/1 X-Deja-AN: 399460677 Distribution: world References: <6vlmk4$43u$1@newsreader2.core.theplanet.net> X-Trace: burlma1-snr1.gtei.net 907962315 4.2.32.97 (Fri, 09 Oct 1998 19:45:15 GMT) Organization: GTE Internetworking, Cambridge, MA NNTP-Posting-Date: Fri, 09 Oct 1998 19:45:15 GMT Newsgroups: comp.unix.admin,comp.unix.osf.osf1 Originator: barmar@bbnplanet.com (Barry Margolin) In article <6vlmk4$43u$1@newsreader2.core.theplanet.net>, Mr Mayes 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.