LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-08-2010, 04:49 PM   #1
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Rep: Reputation: 41
The case of the non-existant user


After numerous problems, I recently returned one box running Mandriva to a Ubuntu Karmic box.

As I always do, I keep the /home partition intact. This may or may not be important.
As I always have before, I assign the same users to the same folders on the /home partition, to ensure everyone has immediate access to their files and settings.
This time, it didn't go to plan.

I created a temporary user so I could set up everyone else's user accounts.
Using Gnome, I used System->Administration->Users and Groups
I created my normal user.
It wouldn't let me assign it to the already existing folder for my user, so I assigned it to /home/temp, later to be removed - in theory.
I told it to create the user. It claimed sucess, and returned to the user list.
Where nothing had changed. Only the temporary user and root were listed.
I installed KUser.
Running not as root, it of course, complains.
Running as root, it doesn't, and happily lists all users. It says my account exists, is not disabled, and even let me change the home folder to the correct directory.
However, Gnome's Users and Groups dialog still reports it nonexistant, and won't let me create a new one with the same name or ID, of course.
The GDM login screen's face browser also doesn't list it.
This is a problem - the other users who use this computer regularly use that face browser because (inconveniently) they can't remember their own username. I'm not going to try to get them to remember, because as usual I'll be ignored.
So it'd be very much appreciated if someone could help diagnose the problem.

(As I type this, KDM is being installed in an attempt to see if it can 'see' my otherwise nonexistant user. Since KUser can, I'm optimistic.)
 
Old 02-08-2010, 05:04 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Can you log in with the account at all ? ( Select "other" from GDM )
 
Old 02-08-2010, 05:05 PM   #3
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
It appears to be so, which is alright for me - but not for them. Which is why I've been trying to resolve the user's apparent refusal to show up.
 
Old 02-08-2010, 05:50 PM   #4
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Although this probably isn't of any help have you tried: man invisible ????

I have been comparing my /etc/pam.d/kdm and /etc/pam.d/gdm files and they are basically the same except that gdm uses the pam_gnome_keyring.so - can you say the same of yours?
 
Old 02-08-2010, 05:58 PM   #5
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
No manual entry for invisible, by the way.

Indeed, my /etc/pam.d/gdm file does use the pam_gnome_keyring.so

KDM, however, also seems to suffer from the inability to display an entry for additional users, so for now I've returned to GDM.
 
Old 02-08-2010, 10:48 PM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Brave the man who takes the path less trodden on buggy systems!

Complex systems -- especially ones with a leading edge design goal -- are prone to bugs, many of which escape detection in pre-release testing and so are only identified "in the wild". They are then classified according to impact and fixed in impact order. The effect is that a) bugs are more likely in seldom-used code or in code used with unusual data and b) such bugs are not fixed quickly.

(Ubuntu Karmic) + (user with home directory other than /home/$USERNAME) = minefield
 
Old 02-09-2010, 07:49 AM   #7
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
What bothers me though is that if I try to create a user linking to an already existant directory, Gnome won't let you do it - which is a major pest on systems which are meant to have more than one user.
KUser solves that, but the users it creates don't show up either. More of a pest.
And the User management in the KDE system settings... crashes.
I'm starting to wonder if Jaunty wasn't a better system then Karmic.
 
Old 02-09-2010, 10:34 AM   #8
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by TheStarLion View Post
What bothers me though is that if I try to create a user linking to an already existant directory, Gnome won't let you do it - which is a major pest on systems which are meant to have more than one user.
KUser solves that, but the users it creates don't show up either. More of a pest.
And the User management in the KDE system settings... crashes.
I'm starting to wonder if Jaunty wasn't a better system then Karmic.
I am using Ubuntu only as a single user machine (well, real existing user at least) so I am not sure if this will work. But have you considered to remove that user as root (using the console) and then recreate him? Of course you should backup the user's data first. Afterwards you can copy the user's data back into his new home directory.
This could be automated with a script.
 
Old 02-09-2010, 10:36 AM   #9
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
The problem still remains that the newly created user doesn't appear in the face browser - that's the core problem for me here at the moment. Given that most of the other users still think 'the windows way' a lot, and just want it to work, they're used to things like XP's Welcome screen, and want it to be just the same way. I don't mind that, but the system's refusal to cooperate and show the users is a major hinderance.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot add user with UPPER-case characters awesomejt Fedora 10 07-19-2007 12:13 AM
FC5 -- g++ non-existant? Ha1f Linux - General 1 03-26-2006 07:21 AM
Interface Non-Existant...? MiniMe001 Linux - Networking 13 12-29-2005 12:25 AM
Removing non existant folder squady Linux - Newbie 2 10-11-2005 12:10 AM
non-existant file still shows up Daenris Linux - General 8 03-17-2005 03:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration