[K12OSN] How to change own user password
krsnendu108 at gmail.com
Fri Mar 7 06:52:26 UTC 2008
Does this work for non-root users? When I tried something similar in the
pass only root could change passwords. It seemed that users could change
their own passwds, but they never actually changed. Maybe it was the way
smbldap was set up. It thought that a way around this would be to make a
script that runs sudo that calls the smbldap passwd script. all users would
need sudo rights to run just the script.
On 07/03/2008, John Lucas <mrjohnlucas at gmail.com> wrote:
> ml at bortal.de wrote:
> > Hello List,
> > how can the users change their own password in a unix shell?
> > foobar at 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 at gmail.com |
> | St. Thomas, VI 00802 http://mrjohnlucas.googlepages.com/ |
> | 18.3°N, 65°W AST (UTC-4) |
> K12OSN mailing list
> K12OSN at redhat.com
> For more info see <http://www.k12os.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the K12OSN