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 versions.

other password required pam_smb_passwd.so.1 nowarn ### This is a working version. other password required pam_smb_passwd.so.1 nowarn ### This is a wrong version with lot unnecessary space/gap.

I don't know what does it mean but I have a working samba and I can change the password. Thanks guys. :)
Brogyi


2014.08.01. 12:34 keltezéssel, Jonathan Adams írta:
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)
passwd    auth required        pam_passwd_auth.so.1
# Default definition for Password management
# Used when service name is not explicitly mentioned for password management
other    password required    pam_dhkeys.so.1
other    password requisite    pam_authtok_get.so.1
other    password requisite    pam_authtok_check.so.1
other    password required    pam_authtok_store.so.1

Jon


On 1 August 2014 10:34, 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.

joe@hipster:/export/home/joe$ passwd
passwd: Changing password for joe
Enter existing login password:
Permission denied
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to