Operating System - Tru64 Unix
1752780 Members
6677 Online
108789 Solutions
New Discussion юеВ

Re: no login to any user except root

 
AKSHAY.DANAK
Occasional Contributor

no login to any user except root

AS2100, 5.1A server.
Following is the error encountered with attempt to login into the system with other user name.
su -compaq
error: no shell.
Action taken: tried creating a new user and logging in. But same error .
tried giving root previledges to user, but still same error.

Please help someone.

Regards,
Akshay.Danak
5 REPLIES 5
Ralf Puchner
Honored Contributor

Re: no login to any user except root

Why not simple reading the error message?

error: no shell

this means: the login process can not find the shell specified! So please check existence and protection of the shell specified!

Btw. a simple search within the forum point you to the right answer!
Help() { FirstReadManual(urgently); Go_to_it;; }
Venkatesh BL
Honored Contributor

Re: no login to any user except root

What is the exact error that you get?

Do you have the updated licenses?
Joerg Schulenburg
Frequent Advisor

Re: no login to any user except root

make a (grep compaq /etc/passwd) and look at the shell.
If its like compaq:x:1001:100:compaq:/home/compaq:/bin/bash
than check its existence with ls -l /bin/bash.
Its probably not executable.
If its like
compaq:x:1001:100:compaq:/home/compaq:
shell is missing, add /bin/sh using dxaccounts.
Compare with
grep root /etc/passwd
Fighting for a better world with more penguins.
Michael Schulte zur Sur
Honored Contributor

Re: no login to any user except root

Hi,
su -compaq
this should result in the error illegal option because of the missing space.

greetings,

Michael


Bruce Gingrich
New Member

Re: no login to any user except root

It may be as simple as the permissions on "/" have changed. Change to 755