dvo@comcon.UUCP (Dean Olsen) (07/24/90)
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. I have checked all the important files like '/etc/group' etc.. and can find nothing out of the ordinary. I'm using ISC 2.0.2 on a 25Mhz clone and have had no other problems untill now. Help! Thanks in advance Dean Olsen {uunet!matrax!dvo} {}nstar!comcon!dvo
cpcahil@virtech.uucp (Conor P. Cahill) (07/26/90)
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