Anytime I have a request to have a user added to access our server, I get a headache. It shouldn't be that tough, but I always have problems. I tried to add a user, "ysingh", that account didn't work. Okay, I'll delete the account :
Should be good right? NO:
Not sure how to go about deleting this guy now.
In my next post I'll show my process to try and add an account.
Code:
$ sudo rmuser ysingh
Matching password entry:
ysingh:*:1009:513::0:0:System User:/home/ysingh:/bin/sh
Is this the entry you wish to remove? y
Remove user's home directory (/home/ysingh)? y
Removing user (ysingh): home passwdpw: user 'ysingh' does not exist: No such file or directory
.
Code:
$ sudo pdbedit -x ysingh
smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=SPRINGFIELD))]
smbldap_open_connection: connection opened
ldap_connect_system: successful connection to the LDAP server
user ysingh does not exist in the passdb
Should be good right? NO:
Code:
$ id ysingh
uid=1009(ysingh) gid=513(Domain Users) groups=513(Domain Users)
Not sure how to go about deleting this guy now.
In my next post I'll show my process to try and add an account.