'No shell' error message

Conor P. Cahill cpcahil at virtech.uucp
Thu Jul 26 09:50:51 AEST 1990


In article <451 at comcon.UUCP> dvo at 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 



More information about the Comp.unix.i386 mailing list