From: "ren ren" <[EMAIL PROTECTED]>
> aku pake 'security = user'.....truss kalo soal
> password user aku create dulu 'default' password untuk
> semua user.
>
> # smbpasswd -a user1
> new password : password
> retype new password : password
> #
> demikian pula untuk user2, user3 dst....truss agar
> user bisa bisa gonta-ganti password user tsb harus
> telnet ke linuxbox, truss jalanin command
> smbpasswd(tapi ada sedikit error nih, aku gak tau
> berpengaruh apa nggak)
>
> user1@linuxbox$ smbpasswd
> failed to open /etc/secrets.tdb
> old SMB password : password
> new SMB password : newpassword
> retype new SMB password : newpassword
> password changed for user user1
> user1@linuxbox$
>
> dgn cara diatas hasil yg didapatkan sesuai dgn yg aku
> harapkan (maksudnya agar user bisa ganti password
> sendiri), tapi aku masih penasaran dgn baris
>
> failed to open /etc/secrets.tdb
>
What kind of samba[s] did you install/configure, samba.xx.rpm or
samba.xx.tar.gz?
Jika samba.xx.rpm command smbpasswd sudah benar, tapi saya ngga tahu
penyebab error tsb.
Jika samba.xx.tar.gz, dimana default install-nya di /usr/local/samba, maka
command smbpasswd seharusnya /usr/local/samba/bin/smbpasswd atau change ke
dir tsb
#cd /usr/local/samba
lalu execute
#bin/smbpasswd
Lebih mudah smbpasswd dan/atau passwd dapat diubah dari client win9x [tidak
harus telnet-ing linuxbox]
#smb.conf
[global]
encrypt passwords = yes
update encrypted = yes
unix password sync = yes #this will update/change the passwd as the
smbpasswd
passwd program = /usr/bin/passwd %u #adjust to where the passwd command
is
passwd chat = *password* %n\n *password* %n\n *successful* #this will do
change smbpasswd from the client[win9x]
> buat bung ony cara ini boleh dicoba, yg lain mohon
> pencerahannya sekaligus trims buat om yaya ---create
> mask nya berhasil :-) ---
>
> best regards,
> ren ren.
Yaya
--
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3