how do you remove samba accounts from command line? _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
-----[ linuxgeek23@hotmail.com wrote on 07/12/02 12:25:34 PM +0000 ]----- --> how do you remove samba accounts from command line? As root: smbpasswd -x account Check 'man smbpasswd' for further details. --Ben-- ----------------------- Ben Griffith bgriffit@email.unc.edu -----------------------
> how do you remove samba accounts from command line?As root: # smbpasswd -x [username to delete] If you just want to disable the account instead of removing it, use -d instead of -x. Note that this just removes the user's access to samba shares and doesn't delete any shares themselves. Also, it only works on shares not marked "guests ok" and if passwords are enabled. If you want to remove the user's home directory (in /usr/home) you'll also want to run 'rmuser' to remove the user's unix account. --Dan