Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-25-2006, 03:32 PM   #1
Registered: Apr 2006
Posts: 131

Rep: Reputation: 15

How can I delete user account in smbpasswd ?

Old 07-25-2006, 03:37 PM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 58
It's listed under Options when using man smbpasswd
Old 07-25-2006, 03:52 PM   #3
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
You could also just open the file up in a text editor such as vi and delete the row of the user you want to remove. The smbpasswd option would be a cleaner, more routine way of doing it though.
Old 07-25-2006, 06:55 PM   #4
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
You can also disable an account with -d, if you need to do so on a temporary basis, or similar.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding users using smbpasswd, or synchronise passwd/smbpasswd gyodai Linux - Networking 2 03-11-2009 03:47 PM
Cannot change smbpasswd robintw Linux - Networking 5 08-09-2005 11:34 PM
smbpasswd -a ... smbpasswd: Command not found Lleb_KCir Linux - Software 7 08-11-2004 12:27 PM
smbpasswd whaase Linux - Networking 3 11-02-2003 04:48 PM
smbpasswd is pissing me off. Need help JoeLinux Linux - Networking 2 06-09-2002 01:04 AM

All times are GMT -5. The time now is 01:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration