I think you should truss as a root user to change the password for joe user.

# truss passwd joe


On Fri, Aug 1, 2014 at 1:07 PM, Michael Schuster <[email protected]>
wrote:

> I don't know whether truss on a suid binary (which I seem to remember
> passwd being) will work ...
>
>
> On Fri, Aug 1, 2014 at 12:02 PM, Mohamed Khalfella <[email protected]>
> wrote:
>
> > Hi,
> >
> > You could try
> >
> > $ truss passwd joe
> >
> > to get what system call fails for you.
> >
> >
> > On Fri, Aug 1, 2014 at 12:34 PM, Jozsef Brogyanyi <[email protected]>
> > wrote:
> >
> > > Hi
> > >
> > > I can not change my passwd as a user and as root too. On older setup
> this
> > > function is worked. Which is the trick in this case? Thanks.
> > >
> > > joe@hipster:/export/home/joe$ passwd
> > > passwd: Changing password for joe
> > > Enter existing login password:
> > > Permission denied
> > > _______________________________________________
> > > openindiana-discuss mailing list
> > > [email protected]
> > > http://openindiana.org/mailman/listinfo/openindiana-discuss
> > >
> >
> >
> >
> > --
> > BR,
> > Mohamed A. Khalfella
> > _______________________________________________
> > openindiana-discuss mailing list
> > [email protected]
> > http://openindiana.org/mailman/listinfo/openindiana-discuss
> >
>
>
>
> --
> Michael Schuster
> http://recursiveramblings.wordpress.com/
> _______________________________________________
> openindiana-discuss mailing list
> [email protected]
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>



-- 
BR,
Mohamed A. Khalfella
_______________________________________________
openindiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to