Operating System - HP-UX
1825805 Members
2573 Online
109687 Solutions
New Discussion

Receive message: "audswitch: Not owner" when trying to change password

 
SOLVED
Go to solution
Dani Seely
Valued Contributor

Receive message: "audswitch: Not owner" when trying to change password

An attempt to change a non-privileged users' password returns the message: "audswitch: Not owner". Any suggestion on what to check?
Together We Stand!
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor
Solution

Re: Receive message: "audswitch: Not owner" when trying to change password

Hi,

Could you check the permissions of,

# ll /usr/bin/login
# ll /usr/bin/passwd

shoud be -r-sr-xr-x root bin for both.

HTH,
Robert-Jan
Jeff Schussele
Honored Contributor

Re: Receive message: "audswitch: Not owner" when trying to change password

Hi,

Check the perms on the login & passwd binaries. They must be SUID & root:bin owned

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

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Sanjay_6
Honored Contributor

Re: Receive message: "audswitch: Not owner" when trying to change password

Hi,

Check these permission and reset if wrong,

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 this helps.

Regds
Dani Seely
Valued Contributor

Re: Receive message: "audswitch: Not owner" when trying to change password

Thanks! The problem was the SUID bit was not set on /usr/bin/passwd ... it was set to:
-r-xr-xr-x root:bin

and should have been:

-r-sr-xr-x root:bin

Thank you!
Together We Stand!