[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] How to change own user password



ml bortal de wrote:
Hello List,

how can the users change their own password in a unix shell?

foobar PDC:~$ passwd
Enter login(LDAP) password:
New password:
Re-enter new password:
LDAP password information update failed: Unknown error

passwd: Permission denied


If you are using SMBLDAP then using "smbpasswd" works to change both the Unix and Samba passwords stored in LDAP, just make sure that it acts on the PDC. Assuming the PDC is named "pdchost":

	smbpasswd -r pdchost username

It will prompt for for old and new passwords. You can put it on a GUI menu with xterm:

	xterm -e "smbpasswd -r pdchost $USER"


--
        "History doesn't repeat itself; at best it rhymes."
                        - Mark Twain

| John Lucas            MrJohnLucas gmail com               |
| St. Thomas, VI 00802  http://mrjohnlucas.googlepages.com/ |
| 18.3°N, 65°W          AST (UTC-4)                         |


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]