I'm running SunOS 5.3 on a SPARC 10. We are now getting
"No shell" or "No directory!" errors whenever we log in.
(rlogin, su, login, ...)
We can cd to the directory so we know there's no problem.
We can execute the shell and change to it.
A "truss su - randerso" stops with:
==========================================================
# tail /usr/tmp/truss.lis
poll(0x0003C0B0, 1, 120000) = 1
getmsg(4, 0xEFFFE994, 0xEFFFE988, 0xEFFFEA04) = 0
close(4) = 0
setgroups(4, 0x00031438) = 0
setuid(4540) = 0
chdir("/u/randerso") Err#13 EACCES
execve("/bin/bash", 0xEFFFFDE0, 0x00023464) Err#13 EACCES
write(2, " s u : N o s h e l l".., 13) = 13
lseek(0, 0, 1) = 30284
_exit(3)
#
============================================================
That EACCES error appears to be false.
============================================================
# ls -ld /u/randerso /bin/bash
-rwxr-xr-x 1 root other 1661324 May 15 09:25 /bin/bash
drwxr-xr-x 113 randerso users 5632 Jul 13 17:01 /u/randerso
============================================================
Any help and/or insight will be appreciated.
Lew Randerson
--
--
Lewis E. Randerson
44 Scott Lane phone:609/921-2553 FAX:609/921-3487