Displaying 4 results from an estimated 4 matches for "changepasswd".
Did you mean:
change_passwd
2003 Jan 02
0
Samba PDC passwd update to NIS server
...change there smbpasswd and unix nis password in one go.
(They just use the ctrl-alt-del change passwd.)
My setup:
A samba pdc running on host x (sunos) (Serving 3 TB, 500 users)
A YP NIS password server running on host y (sunos)
The lines in smb.conf for this:
...
passwd program = /samba/tools/changepasswd.exp %u
passwd chat = *new* %n\n *OK* *OK*
...
The needed changepasswd.exp script:
---
#!/app/expect/bin/expect -f
set ypserver "toor@<change to fit your system>"
set ssh "/usr/local/bin/ssh"
set passwd "/usr/bin/passwd"
# Don't change below
set force_conse...
2007 Mar 11
1
samba+Ldap+smbldap-tools
...e order = lmhosts host wins bcast
####AUTENTIFICACION######
security = user
encrypt passwords = true
passdb backend = ldapsam:ldaps://shogun.ironman.es:636
; guest account = guest
invalid users = root
unix password sync = no
; ldap passwd sync = yes
passwd program = /usr/sbin/changepasswd.atc -o %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
; obey pam restrictions = yes
; pam password change = no
#####LDAP#####
ldap admin dn = cn=admin,dc=ironman,dc=es
ldap ssl = on
ldap delete dn = no
ldap suffix = dc=ironman,dc=e...
2006 Feb 20
1
Change smbpasswd in a cron job
Hi list
For a project we are trying to change the samba password automatically
in a cron job. Since smbpasswd doesn't allow the password to be entered
otherwise than though the console (user input). We found a solution to
the input part though expect. But as thing go expect doesn't work in a
cron job since it has no tty.
Is there anyone who can point us the right way to a solution.
2001 Jan 26
8
Password Syncing
Is there a way to have the Samba password file sync up from the Linux (Red
Hat 7) password file either automatically or in a batch process.
We change user passwords every view months and it's a pain to have to change
both files each time.
Brad Bell
Maharam