Thanks to all who responded namely:
Dave Hill <ddhill_at_zk3.dec.com>
Ezra Peisach <epeisach_at_MIT.EDU>
Alan Rollow <alan_at_nabeth.cxo.dec.com>
Ronald Ali-Khan <khan_at_informatik.fh-hamburg.de>
> Have just encountered such problem bugging us currently:
>
> 1.) Upon reboot of the system, (running OSF/1 v2.0b), the console login
> (GUI) is not executed, instead, a login prompt is seen but on a text format.
> Has also observed that upon observing the monitor message below the
> screen, the screen flips to and fro mode 16 and 3.
>
> 2.) Since then, users are denied access from the host. When they try to
> login and entered their corresponding passwords, they encounter this
> message below:
>
> No directory!
> Loggin in with home = "/"
> login: no shell: Permission denied
>
> Changed the permissions of the /usr filesystem from a 700 to a 755 and
> was successfully able to login but again, with the following error message:
>
> login: no shell: exec format error
>
> What seems to be missing?
Actually, root can successfully login WITHOUT problems whatsoever.
Ordinary users cannot.
Just found out that all the permissions at the / directory are on 700
mode -- most of the owners are root.. ( /etc, /sbin, and most
importantly, /usr! ) Maybe someone just issued the command chmod 700 * in
his dreams at the root directory thinking it was some other root directory.
Have shifted them back to the original permissions taken from some backup
listings.. and presto! all things were working just fine just as they were..
Oh well!... another thing learned for the day...
Again, my personal thanks to all who responded..
Dave Hill comments:
-------------------
Looks like you have either lost (or had corrupted):
/etc/shells
-or-
the login shell of your users. I would bet you get the same using
telnet or rlogin. If you don't, then one of the files in
/usr/lib/X11/xdm has been corrupted.
Ezra Peisach suggested:
-----------------------
Just an idea - but did someone install another platform binary on your
system as a shell. I would suggest finding out the users shell
(from the /etc/passwd line) and then run file on the executable indicated.
Alan Rollow says:
----------------
The "No directory" message is the result of the user's home directory
not existing. It probably isn't mounted. The others are the result
of the shell not being able to start. The "exec format error" suggests
that shell they're using isn't an executable file.
I'd concentrate on the "No directory" problem first. See if you can
get the system booted to single user, run fsck on all the UFS file
systems and see if they'll all mount.
Ronald Ali-Khan has this to share:
---------------------------------
It seems, the home Directory is not mounted correctly.
Make a df, when it is up.
Edit /etc/fstab to see if the apropiate HOME Directory
will be mounted.
Received on Tue Aug 01 1995 - 13:36:39 NZST