LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-25-2009, 06:59 AM   #1
Nonc
Member
 
Registered: Mar 2006
Location: Nottingham, England
Distribution: Ubuntu
Posts: 59

Rep: Reputation: 15
i am not a user


Hey, so im trying to get usb devices to work in virtual box.

did some searching and found this http://www.linuxquestions.org/questi...ything-572446/ which will probably work.

problem is, when i go into System>Administration>Users & Groups only the root user shows up. As if my username doesnt exist. It could be because of the funny way i moved my home drive from one partition to another, or something.

but either way, i cant complete the rest of the instructions untill my username shows up on there.

Im running Ubuntu 8.10, and everything else works fine. I log in, i log out no problem. Oh, and there is only one user - me.

How do i solve this?

Cheers

nonc
 
Old 02-26-2009, 09:10 AM   #2
gergely89
Member
 
Registered: Feb 2009
Posts: 100

Rep: Reputation: 21
Check the /etc/passwd file to see if your user setting is really contained.

Also list the contents of some directory owned by your user with ls -l and see if the username and group is diplayed correctly. If you see numbers instead of the username and group, then the system doesn't associate those files with any of it's current UNIX accounts.

linux

Last edited by gergely89; 02-27-2009 at 11:02 PM.
 
Old 02-26-2009, 10:59 AM   #3
Nonc
Member
 
Registered: Mar 2006
Location: Nottingham, England
Distribution: Ubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
Hi, there is a line like this in /etc/passwd

user:x:501:501:Real Name,,,:/home/user:/bin/bash

with the correct user name and Real name in it

and ls -l does say that i own the folders.

like i say, ive never met another problem saying there isnt a user, only i am not listed in the users and groups thing. There is a group named after me, but nobody is a member of it, and i cant add myself to it.

Nonc
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do i change to super user then revert back to ordinary user ,using shell script? wrapster Solaris / OpenSolaris 6 03-18-2009 03:37 AM
how to create sftp user only in red hat 4 not ftp user ..only sftp user princeu28 Linux - Newbie 1 10-14-2008 08:10 AM
samba(global security=user) useful tools for client.ex: user change password. hocheetiong Linux - Newbie 1 03-18-2008 09:20 AM
C program to see user log on in system and print user with real user name also naveen245 Programming 2 12-21-2005 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:05 PM.

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