First, verify that no user accounts are locked (via passwd command).
Next, make sure the correct permissions are set on /etc/passwd and
/etc/shadow:
$ ls -la /etc/passwd /etc/shadow
-rw-r--r-- 1 root root 731 May 8 16:05 /etc/passwd
-r-------- 1 root root 691 May 8 16:05 /etc/shadow
After that, we would probably need more specific information such as the
distribution (and version) you're running, as well as versions of bash,
login, and su.
-=>Jim Roland
"Never settle with words what you can settle with a flamethrower."
--Anonymous
On Sun, 11 Jun 2000, V.Vasant wrote:
> Date: Sun, 11 Jun 2000 11:11:14 +0400 (RET)
> From: V.Vasant <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: A LINUX Puzzle!!!
>
> Hi,
> Can you help me out ... Something so puzzlings come up in one
> of the linux systems here that we can't seem to figure it out here .
>
> What has happened is that even as root we are unable to su to
> another user account . It says "Cannot run /bin/bash permission denied"!.
> which is the default shell. The root is only able to su to itself. We
> thought perhaps someone has changed the root account. But that is not the
> case either... We also gave "777" permissions to all files in /usr/bin
> and /bin directories. Still the message persists .
>
> Moreover no user except the root is able to login . The system
> simply says "No directory /home/<user> found " and the system closes the
> login . Even the root is unable to use the login command to login as
> another user. This with all users and home directories existing as
> verified with linuxconf and userconf etc .. We also checked out the
> /etc/profile and the /etc/bashrc files. Nothing seems to be suspicious .As
> a last resort we gave all files from "777" permissions .The problem
> remains unshaken !
>
> Now that I hope is a really good puzzle. Please help us!!
>
> -V.Vasant
> -Indian Institute Of Information Technology , Hyderabad ,INDIA
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs