sudo userdel <username>
but I received the following error
userdel: cannot remove entry '<username>' from /etc/passwd
I check the /etc/passwd file and I indeed cannot find an entry for the username - I CTRL+F'd through to check.
Help would be really appreciated, already used to the search bar and no satisfactory answers turned up.
I believe I know what may be the issue. The user I am trying to delete does not authenticate locally, but on a network as the login is the same as my university login details which is why it is not locally storing details in /etc/passwd - The question is now how can I delete this sort of user that is authenticating over a network - Could someone help me with that?
EDIT2: Upon request below is the contents of /etc/nsswitch.conf
passwd: files group: files shadow: files gshadow: files hosts: files mdns4_minimal [NOTFOUND=return] dns networks: files protocols: db files services: db files sss ethers: db files rpc: db files netgroup: nis sudoers: sss