Can't Add/Delete/Login user

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Can't Add/Delete/Login user

Postby Psi Phi on Fri Jan 25, 2013 2:50 am

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?
Psi Phi
Level 1
Level 1
 
Posts: 2
Joined: Fri Jan 25, 2013 2:29 am

Linux Mint is funded by ads and donations.
 

Re: Can't Add/Delete/Login user

Postby SiKing on Fri Jan 25, 2013 12:21 pm

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!
SiKing
Level 5
Level 5
 
Posts: 576
Joined: Mon Sep 29, 2008 10:57 pm
Location: Las Vegas

Re: Can't Add/Delete/Login user

Postby Psi Phi on Mon Jan 28, 2013 10:06 pm

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.
Psi Phi
Level 1
Level 1
 
Posts: 2
Joined: Fri Jan 25, 2013 2:29 am


Return to Newbie Questions

Who is online

Users browsing this forum: An3Micu, Bing [Bot], jintro, WharfRat and 25 guests