Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: Oromis on September 24, 2013, 09:17:08 AM
-
Hello,
I need to remove a bunch of users from our SME 8.0 server. To save time, I want to write a script that deletes the users.
How can I delete a user from command line? Is it enough to do "db accounts remove xxx"? Or is something else needed?
Thanks in advance!
Oromis
-
take a look into /etc/e-smith/events/user-delete
a
db accounts delete xxx
signal-event user-delete xxx
should be enough
you should test on a virtual machine before trying on the production server...
-
Oromis
The answer & many more are in the FAQ & other Documentation, so please take the time to read them.
Thanks
http://wiki.contribs.org/SME_Server:Documentation:FAQ:Section01#Deletion_of_Users_Ibays_Groups
-
Thanks. Sorry for bothering you.
-
Oromis
Sorry for bothering you.
You were not bothering us, but I think it's good to show or teach you where to find basic information that answers a lot of common questions.
That way you can find the answer yourself (in a lot of cases), & enquiries here to these forums can be for more difficult problems or issues that may not have been answered as yet, or are a one off situation requiring a unique answer.
If you know where to look for common answers then your SME Server "user experience" will be a better & more fulfilling one.