1833758 Members
2458 Online
110063 Solutions
New Discussion

Re: problem with passwd

 
SOLVED
Go to solution
Alex Lavrov
Regular Advisor

problem with passwd

Hello,
I have a problem in 11i, when I do passwd in some user, I get eror message:
audswitch: not owner

I don't see any problem there ...

thanks.
6 REPLIES 6
Khalid A. Al-Tayaran
Valued Contributor

Re: problem with passwd


Hi,

logon as root then,

# passwd user

You can then change the password. I don't think it is good to su from a user to root to change the password....

Jim Mallett
Honored Contributor

Re: problem with passwd

Make sure you're logged in as root when you try to change their password.

Also, make sure /etc/passwd is set with 444 permissions. (not likely the problem though).

Jim
Hindsight is 20/20
Michael Tully
Honored Contributor

Re: problem with passwd

Looks more like some hanky panky with some binary permissions. Have a look at binary permissions on things in /sbin /usr/bin /usr/sbin /etc
Anyone for a Mutiny ?
Sridhar Bhaskarla
Honored Contributor
Solution

Re: problem with passwd

Hi,

Look at the permissions on the executable /usr/bin/login.

It should be owned by user "root" and group "bin" with the permissions -r-sr-xr-x.
(chmod 4555).

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Robert-Jan Goossens
Honored Contributor

Re: problem with passwd

Hi,

check and change the login and passwd permissions:

-r-sr-xr-x 1 root bin /usr/bin/login
-r-sr-xr-x 1 root bin /usr/bin/passwd

Hope it helps,

Robert-Jan.
Fragon
Trusted Contributor

Re: problem with passwd

Hi,alex
Please make sure which "passwd" you execute!
#which passwd
Then make sure the command "passwd" has the permission -r-sr-xr-x.
[Key]"-s" by means of "set-owner-id" on file execution permission.

Good luck!
-ux