I have received a lots of suggestions.
All of them thought that it may be the permissions on
/bin/sh or /usr/ucb/quota.
But I found the really answer is that /usr directory
was not executable to all. I don't know what happened.
Any way, chmod 755 /usr, fix the problem.
Thanks for reply.
Jeffrey
jliu@raynet.com
----- Begin Included Message -----
>
> Hi,
>
> Does anyone know what is wrong about this?
> ingres is a user account locally on eric.
> There is nothing wrong of /etc/passwd.
> but root just cann't su to user.
>
> Jeffrey
> jliu@raynet.com
>
> ----- Begin Included Message -----
>
> eric# rlogin eric -l ingres
> Password:
> Last login: Wed Jan 24 23:03:21 from eric
> login: Can't run /usr/ucb/quota: Permission denied
> /bin/sh: Permission denied
> No shell
> Connection closed.
> eric# su ingres
> No shell
> eric# cat /etc/passwd | grep ingres
> ingres:mT7XcM79yCGTU:101:70:Ingres Admin:/ingres/ingres:/bin/sh
> eric#
>
>
> ----- End Included Message -----
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:52 CDT