SUMMARY: pc-nfs needs a valid shell

From: Tom Reingold (
Date: Wed Sep 21 1994 - 23:31:02 CDT

My original message is enclosed at the end.

Thanks to:

Banks B J <> (Ann Rautenbach 3267 Systems_Administrator)
Ian Chisholm <>
bern@penthesilea.Uni-Trier.DE (Jochen Bern) (Glenn Satchell - Uniq Professional Services) (Stellan Nilsson Z/OD) (Russ Bebb - 452-0130) (Patrick Buryk) (Eric Wampner ORL)
Danny Barron <> (Reggie Beavers - UNIX Sys Admin) (Jean-Pierre Creusat)
scowles@scheffer.Stanford.EDU (S. Cowles) (Danny Johnson)
Russell Ruby <russ@MATH.ORST.EDU>
Ian MacPhedran <>

The answer is that pcnfsd does not check /etc/shells. It checks to see
if the name of the shell ends in "sh", which is lame if you ask me.
Jean-Pierre says that this fact is not in the document Sun
distributes. He also said that if you compile pcnfsd with the
USE_GETUSERSHELL option, it will check /etc/shells instead of the last
two characters of the name of the shell.

Several people listed above want a solution because they want everyone
to have access to the same files with any PC. You can take advantage
of the above solution: Make either a shared login with a known
password and a dummy shell or give everyone a personal login with a
dummy shell on that system. The dummy shell's name should end in

------- Forwarded Message

To: Sun Managers <>
Subject: pc-nfs needs a valid shell
Date: Tue, 20 Sep 94 22:28:00 -0400
From: Tom Reingold <>

I run NIS on my systems, which run SunOS 4.1.x. I forbid logins on my
file server by having entries like this in the passwd file.


The last entry says that the default shell (i.e. if you're not like
jane or pete who are allowed) is a program that says you're not allowed

The problem is that this does not work for PC-NFS users. They get an
authentication failure. /usr/local/etc/nowayin is listed in
/etc/shells. My workaround is to give the PC-NFS users jane-and-joe
style logins on the fileserver, but I'd like to keep them out. How do
I do this?

Tom Reingold, AT&T Bell Labs, Crawford | "Computers are useless. They only
Hill Laboratory, Holmdel, NJ, USA | give answers." --Pablo Picasso or att!big!tommy |

------- End of Forwarded Message

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:10 CDT