Re: [OpenIndiana-discuss] passwd changing trouble

2014-08-01 Thread Mohamed Khalfella
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 bro...@gmail.com 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.

Re: [OpenIndiana-discuss] passwd changing trouble

2014-08-01 Thread Michael Schuster
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 khalfe...@gmail.com 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,

Re: [OpenIndiana-discuss] passwd changing trouble

2014-08-01 Thread Mohamed Khalfella
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 michaelspriv...@gmail.com wrote: I don't know whether truss on a suid binary (which I seem to remember passwd being) will work ... On Fri, Aug

Re: [OpenIndiana-discuss] passwd changing trouble

2014-08-01 Thread Jonathan Adams
assuming that you can get root: grep -c joe /etc/shadow /etc/passwd grep -i passw /etc/pam.conf # passwd command (explicit because of a different authentication module) passwdauth requiredpam_passwd_auth.so.1 # Default definition for Password management # Used when service name is

Re: [OpenIndiana-discuss] passwd changing trouble

2014-08-01 Thread Brogyányi József
Hi Jon Your answer was very close. Thank you. Somewhere I've read I have to modify the /etc/pam.conf file for samba user. I checked on old server how did it so many years ago. I was wrong because put long space/gap as you wrote and as who wrote that configuration file. Here are the two