Operating System - Tru64 Unix
1753890 Members
7618 Online
108809 Solutions
New Discussion юеВ

Re: passwd command exists with db_lock.share permission denied

 
Rick Collette_2
Occasional Advisor

Re: passwd command exists with db_lock.share permission denied

on mine, root can change users pw's, but the users themselves cannot.

Ivan Ferreira
Honored Contributor

Re: passwd command exists with db_lock.share permission denied

Is the SUID bit on in the passwd file?

ls -la /usr/bin/passwd
-rws--x--x 3 root bin 33024 Oct 17 2002 /usr/bin/passwd
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Rick Collette_2
Occasional Advisor

Re: passwd command exists with db_lock.share permission denied

oh man. Ok - so the sotry is this: the guy or gal who built this system had chmodded -R some dirs to 0755.

the SUID flag fixed the problem.

Thanks a ton!
Ivan Ferreira
Honored Contributor

Re: passwd command exists with db_lock.share permission denied

I'm glad to help you.

See also:

http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?