Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.i386 Subject: Re: 'No shell' error message Keywords: su groups shell Message-ID: <1990Jul25.235051.844@virtech.uucp> Date: 25 Jul 90 23:50:51 GMT References: <451@comcon.UUCP> Reply-To: cpcahil@virtech.UUCP (Conor P. Cahill) Organization: Virtual Technologies Inc., Sterling VA Lines: 27 In article <451@comcon.UUCP> dvo@comcon.UUCP (Dean Olsen) writes: >I have a problem with a machine I'm supporting. I foolishly >restored some accounting files into the root directory by mistake and >now the normal users can't get into the system, they get a 'No shell' >message before /etc/profile executes. Users who belong to the group >id of '0' or '1' can do everthing as normal although when I try to >add a new user sysadm bombs with a 'No shell' at the end. Check the mode of the following files/directories: / /bin /bin/sh They should be something like: drwxr-xr-x 27 root other 880 Jul 25 18:31 / drwxrwxr-x 2 bin bin 2240 Jul 16 22:10 /bin -rwxr-xr-x 2 bin bin 51032 Mar 23 14:31 /bin/sh You will probably find that the problem is with /. -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc., uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170