users cannot login anymore

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Thu Aug 30 03:23:00 PDT 2007


> Could not chdir to home directory /usr/home/robi: Permission denied
> /usr/local/bin/bash: Permission denied
> Connection to localhost closed.
>
> Please help!

you've already got an answer

>
>
> Bahman M. wrote:
>>> see below my answer.
>>> 
>>> 
>>> Bahman M. wrote:
>>>>> # su - robi
>>>>> su: /bin/csh: Permission denied
>>>>> 
>>>>> also,
>>>>> 
>>>>> # /usr/local/etc/rc.d/tomcat6 start
>>>>> Starting tomcat60.
>>>>> su: /usr/local/bin/bash: Permission denied
>>>>> 
>>>>> # uname -rms
>>>>> FreeBSD 6.1-RELEASE-p19 i386
>>>> What's the output of
>>>> # ls -l /usr/local/bin/bash
>>>> # ls -l /bin/csh
>>>> ?
>>> # ls -l /usr/local/bin/bash /bin/csh /bin/sh
>>> -r-xr-xr-x  2 root  wheel  298556 Aug  6 18:37 /bin/csh
>>> -r-xr-xr-x  1 root  wheel  107380 Aug  6 18:37 /bin/sh
>>> -rwxr-xr-x  1 root  wheel  611268 Jul  2 12:15 /usr/local/bin/bash
>>> 
>>> # cat /etc/shells
>>> /bin/sh
>>> /bin/csh
>>> /bin/tcsh
>>> /usr/local/bin/bash
>>> /usr/local/bin/rbash
>> 
>> Read man 1 tcsh/bash startup section and see if users other than root
>> have access to all files and directories mentioned out there.
>> Also try logging in as robi (on a login shell). It might give you a clue.
>> 
>> Bahman
>
>
> -- 
> Robi
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>


More information about the freebsd-questions mailing list