Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2007 12:35:14 +0200
From:      Roberto Nunnari <roberto.nunnari@supsi.ch>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        "Bahman M." <b.movaqar@gmail.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: users cannot login anymore
Message-ID:  <46D69D62.7090704@supsi.ch>
In-Reply-To: <20070830122215.J2682@wojtek.tensor.gdynia.pl>
References:  <46D684E0.5030808@supsi.ch>	<6d62f69a0708300239y75485c80odf03b4e31cf675fe@mail.gmail.com>	<46D6925B.3090909@supsi.ch> <20070830122215.J2682@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes! Thank you all!
The problem was permissions on /

it was:
ls -la /
total 79
drwxr-x---  23 root    wheel    1024 Aug 30 09:07 .

and changing it to:
# chmod o=rx /

solved the problem.

But how comes it was changed? have to check better..

Thank you again guys!

Best regards.


Wojciech Puchar wrote:
> check / and /lib and /libexec
> 
> 
> On Thu, 30 Aug 2007, Roberto Nunnari wrote:
> 
>> Hi Bahman.
>>
>> 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
>>
>>>
>>> Bahman
>>
>>
>> -- 
>> Robi
>>
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe@freebsd.org"
>>
>>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"


-- 
Robi




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46D69D62.7090704>