Can't Add/Delete/Login user

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Psi Phi

Can't Add/Delete/Login user

Post by Psi Phi »

Hi
Just installed Mint 14 to USB using Universal USB Installer.
All went on OK, then I used the control centre to create a new user, all OK.
Tried to log in as that user and it says wrong password.
Tried, from console, to change password, it says users doesn't exist.
Tried to create user with useradd and it says user already exists.
Tried to delete user with deluser and it says user doesn't exist.

I'm kind of going round in circles now.

Is it possible to remove this user I created?
Is it possible to create an alternative account that I can log in with?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
SiKing
Level 5
Level 5
Posts: 571
Joined: Mon Sep 29, 2008 10:57 pm
Location: Las Vegas
Contact:

Re: Can't Add/Delete/Login user

Post by SiKing »

Try:

Code: Select all

grep <username> /etc/passwd
grep ^<username> /etc/group   # the carat is NOT a typo!
Assuming your user was created using standard Mint tools, each of the above should return exactly one item!
Psi Phi

Re: Can't Add/Delete/Login user

Post by Psi Phi »

SiKing
User was there OK, home directory and everything, I had checked that.
The problem was that I could not log in as the user (said the password was wrong) and could not change the password (said the user did not exist).
I find today that I can change the password and log in without any problems.
No idea what went wrong, must be some newbie stuff-up I guess ?
cheers.
Locked

Return to “Beginner Questions”