From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,b19116cecfcffd44,start X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,b19116cecfcffd44,start X-Google-Attributes: gidfee84,public From: "Mr Mayes" Subject: non-shell login problems Date: 1998/10/09 Message-ID: <6vlmk4$43u$1@newsreader2.core.theplanet.net>#1/1 X-Deja-AN: 399447002 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Trace: newsreader2.core.theplanet.net 907959748 4222 62.136.31.136 (9 Oct 1998 19:02:28 GMT) Organization: Customer of Planet Online NNTP-Posting-Date: 9 Oct 1998 19:02:28 GMT Newsgroups: comp.unix.admin,comp.unix.osf.osf1 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. 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. For further info the system is a digital unix 4.0 system. I used vipw to make the amendments to the password file. SO the question is , how do I achieve my desired aim of giving a user a non-shell startup program that has acommand line parameter specified. Cheers Rich