Operating System - HP-UX
1753797 Members
7137 Online
108805 Solutions
New Discussion юеВ

login incorrect, su command problem

 
Eduardo Ayala Cort├йs
Occasional Advisor

login incorrect, su command problem

Hi Friends
I have a problem, my machine is a rp2405, SO UNIX 11i.
When I change the password of any user did not match at the login prompt. The system send a message "login incorrect".
With the su command the system send "set groups: not owner" message.

Thak you
7 REPLIES 7
Devender Khatana
Honored Contributor

Re: login incorrect, su command problem

Hi,

Is your password file intact ? See through some allready logged in user or try logging in as root from console.

Also note that you should not use special characters like @,# in the passwords.

From man passwd
=============================
WARNINGS
Avoid password characters which have special meaning to the tty driver, such as # (erase) and @ (kill). You may not be able to login with these characters.



HTH,
Devender
Impossible itself mentions "I m possible"
James R. Ferguson
Acclaimed Contributor

Re: login incorrect, su command problem

Hi Eduardo:

Make sure that the '/usr/bin/su' executable is owned by root with its set userid bit (suid) on. An 'ls' should return:

-r-sr-xr-x 1 root bin ...

If not, fix with:

# chmod 04555 /usr/bin/su

Make sure, too, that '/etc/passwd' is readable by everyone: -r--r--r--

Regards!

...JRF...
Eduardo Ayala Cort├йs
Occasional Advisor

Re: login incorrect, su command problem

Hi Devender, Mye /etc/passwd file is intact, I not use this characters in the password.
The problem exist either trusted or untrusted system
Eduardo Ayala Cort├йs
Occasional Advisor

Re: login incorrect, su command problem

Thanks James, these are my files
-r--r--r-- 1 root sys 1521 Sep 5 16:52 /etc/passwd

and

-r-sr-xr-x 1 bin bin 28672 Oct 4 2002 /usr/bin/su

I owned to root /usr/bin/su and now the problem happens with the trusted system mode
Eduardo Ayala Cort├йs
Occasional Advisor

Re: login incorrect, su command problem

I detect another problem:
When I typed the Who command do not appear anything on the screen.
Eduardo Ayala Cort├йs
Occasional Advisor

Re: login incorrect, su command problem

Thanx Devender... Thanx James.
The problem was owner in /usr/bin/login, I changed it bin to root.
Regards
Eduardo Ayala Cort├йs
Occasional Advisor

Re: login incorrect, su command problem

Thanx Devender... Thanx James.
The problem was owner in /usr/bin/login, I changed it bin to root.
Regards