# db.adduser(<username>, <password>);
to log in using a newly created user, you first have to authenticate in db
# db.auth(<username>, <password>);
to remove a user
# db.system.users.remove({"user" : <username>});
yep, you can use other parameters in matching user/s you want to remove :)
No comments:
Post a Comment