Results 1 to 10 of 12
Hey Yall,
This is my first forum ever although I started using the net in the early 90's when it first became widely available in Australia! I feel a little ...
- 09-22-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 0
Howdy! New to Linux & Forums (of any kind)
Hey Yall,
This is my first forum ever although I started using the net in the early 90's when it first became widely available in Australia! I feel a little silly! I can usually work most things out on my own, but not this time!
I have been messing around with settings for two weeks now on and off to try and gain access to my late husband's laptop (RIP beautiful man!!!). It is loaded with Ubuntu 8 and prompts for a username I dont know and a password I dont know either.
I have followed many guides...I am relatively confident this stand alone machine is set to single user mode. I also think I have managed to reset the root password. But with no username, where do I log in with this? I have tried u/n root and it tells me I cannot use this login screen to do this. I have never used linux before so I'm a dummy as dummy can be!
I am most reluctant to format the machine in case there is any precious data from my husband that I might like to keep.
Boy am I feeling frustrated!
So thanks for all the great info in here - I certainly have learnt alot already and I hope there is someone out there with the patience and inclination to help me work it out!
Cheers
- 09-22-2009 #2
Hi and welcome!
You can't log in as root through the login manager, by default, as you have found out. From the login manager, press CTRL+ALT+F2 to drop to a console. From there, you can login as root.
You can add a user by typingand following the prompts.Code:adduser
If you know the username on the machine, you can reset that password from root withCode:passwd <username>
- 09-22-2009 #3
Hmm, I forgot to mention you should add your new user to the admin group right off the bat, so you have root privileges with the user. Here is how:
Add User to “sudoers” File Benaiah’s Computer Experiences
You won't by default have access to other users home folders as your user. To change ownership of the folder, doWhere <user> is your username.Code:sudo chown -R <user>:users /home
- 09-22-2009 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,081
Welcome to the forums!
Hope you will have lots of fun running Linux!
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 09-23-2009 #5Just Joined!
- Join Date
- Sep 2009
- Posts
- 0
The adduser command is saying only one or two names allowed...I'm stuck again! Sorry! Is there a way to detect what my husband's username was somewhere? I have followed your instructions, including the link using root as my username...but to no end. Thanku it was exciting to move past the login screen I have been staring at for so long...even if only for a moment!
- 09-23-2009 #6
You were able to log in as root from the prompt, correct?
TypeThis should list all the users on the machine.Code:cat /etc/passwd
- 09-23-2009 #7Just Joined!
- Join Date
- Sep 2009
- Posts
- 0
Yes - it all went smoothly until the adduser command. I logged in as root and saw an intro, it is recording each time I try this, a disclaimer re the software and warranty and a link and then this prompt
root@trip-laptop:~#
- 09-23-2009 #8Just Joined!
- Join Date
- Sep 2009
- Posts
- 0
The cat /etc/passwd command produces a page of information which I cannot make sense of - I do not see any list of usernames...but I am also a dummy so it could be right under my nose...eek...
- 09-23-2009 #9
How long is the output? Are you able to post it here and we can take a look at it?
- 09-23-2009 #10
You can also do
This will list the files in the /home directory, it's quite likely there will only be one, and it's name will in all probability be the username.Code:ls /home



