Re: Issue's with ls
From: Kapetanakis Giannis (bilias_at_edu.physics.uoc.gr)
Date: Tue, 20 Apr 2004 11:48:34 +0300 (EEST) To: firstname.lastname@example.org
On Mon, 19 Apr 2004, Michael Wright wrote:
> I've recently noticed a quirky issue when using the ls command on my
> Solaris 8 server. In the / directory when I type ls it shows the
> folders. If I used ls -a I can see the files and folders there, but if
> I use ls -l it just hangs and shows nothing. I have to give it a ctrl+c
> to get back to my shell. I've run rootkit and done some other checking
> and get find no hints of foul play. Does anyone have any suggestions,
> or have experience with a problem like this? If you need more info just
> drop me a line.
I've only seen ls to hung in nfs situations, where
the nfs server is not accessible.
Who do you get your users? Local passwd, NIS, ldap?
Maybe it tries to find the users/groups and it cant.
What is your entry in /etc/nsswitch.conf for
passwd and group?
If does not have to do with users try \/bin/ls -l