[Samba] Help removing many users

Mike Eggleston mikeegg1 at mac.com
Fri Jan 4 21:26:06 GMT 2008

On Fri, 04 Jan 2008, Ryan Novosielski might have said:

> Can anyone brighter than me think of an easy way to remove MANY users
> from an smbpasswd file (I have a list of users that can be removed, some
> of which may already be missing, some of which may be present)? I cannot
> use smbpasswd -x in a loop. Is there some easy way to do this?

I'm aware that you cannot use smbpasswd in a loop creating the accounts
because you have to type in the password, but removing the accounts? What's
the issue with using smbpasswd in a loop to remove the accounts?


More information about the samba mailing list