LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-18-2003, 09:52 PM   #1
danr14
LQ Newbie
 
Registered: May 2003
Posts: 6

Rep: Reputation: 0
Login problems


I recently bought an old computer, this computer is installed with linux, the person who sold me the computer said that linux didn't fully install.
When i get to the login, it says

Mrburns login:

when i type something in it says password

i asked the guy the pass and user name, and he said he doesnt remember so i cant log in, anyone know how to find out?

Last edited by danr14; 05-18-2003 at 09:59 PM.
 
Old 05-18-2003, 09:59 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Few possibilities...

1.) get a linux boot-disk or bootable CD ...
boot of those, mount the hard-disk and
edit /etc/passwd

2.) If the box has lilo on it, pass single as
a parameter to the kernel... if it's a RH or
MDK box you get a root-shell without
password prompt ... you can then set
passwords as you please.

Cheers,
Tink
 
Old 05-19-2003, 02:47 PM   #4
danr14
LQ Newbie
 
Registered: May 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Whats linux single, and where can i get a boot disk?
 
Old 05-19-2003, 02:59 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Do you know the distribution and release of Linux that is installed? You will get more specific answers if you do.

Watch the bootup messages carefully and look for an opportunity to pass commands to the bootloader. Perhaps you need to hit "i" or something similar. The messages should say.

Type linux single and hit return when you figure it out.

Linux single boots to the command line and you have root powers without giving a password. Change the root password:

passwd

Do you know the user's name? if not, you will need to add a user as well.

If you need a boot floppy, see my previous post about toms root and boot.
 
Old 05-19-2003, 03:09 PM   #6
danr14
LQ Newbie
 
Registered: May 2003
Posts: 6

Original Poster
Rep: Reputation: 0
oo, alright, ill try that
 
Old 05-19-2003, 03:32 PM   #7
danr14
LQ Newbie
 
Registered: May 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Aliright i got past the log in screen but i dont know the root user name
 
Old 05-19-2003, 03:45 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
You don't need to.

Type:

passwd <enter>
enter the password you want to use for root access twice as the prompt suggests.

Reboot

At the login prompt tpye:

root<enter>
give the password you assigned.

Now create a new user, log out of root and into the user's account and go from there.

Seriously, you need to

I suggest downloading these:
Linux Newbie Administrator Guide
Rute User's Tutorial and Exposition

Since you have been unable to answer some of my questions, you might want to print this out and refer to it to explore that box some.

Handy bash commands for finding out stuff in Linux:
# Find CPU specifications
cat /proc/cpuinfo

# What pci cards are installed and what irq/port is used
cat /proc/pci

# Memory and swap information
free
An article: Tips for Optimizing Linux Memory

# How is the hard drive partitioned
fdisk /dev/hd<X> -l

# How much free drive space
df -h

# Show disk usage by current directory and all subdirectories
du | less

# Find running kernel version
uname -r

# Find X server version
X -showconfig

# What is the distribution
cat /etc/.product
cat /etc/.issue
cat /etc/issue
cat /etc/issue.net
sysinfo

# For finding or locating files
find
locate
which
whereis

# Use dmesg to view the kernel ring buffer (error messages)
dmesg | less

# Watch error messages as they happen (sysklog needed)
as root, tail -f /var/log/messages (shows last 10 lines, use a number in front of f for more lines)

# What processes are running
ps -A

# Find a process by name
ps -ef | grep -i <plain text>
For example, XCDroast
ps -ef | grep -i xcdroast
# See current environment list, or pipe to file
env | more
env > environmentvariablelist.txt

# Show current userid and assigned groups
id

# See all command aliases for the current user
alias

# See rpms installed on current system
rpmquery --all | more
rpmquery --all > <filename>
rpmquery --all | grep -i <plaintext>

# What directory am I using
pwd

# What takes up so much space on your box
# Run from the directory in question and the largest chunk shows up last
find $1 -type d | xargs du -sm | sort -g

Look at man <command> or info <command> for the flags I used and for other options you can use for bash commands.

Last edited by fancypiper; 05-19-2003 at 03:49 PM.
 
Old 05-19-2003, 04:45 PM   #9
danr14
LQ Newbie
 
Registered: May 2003
Posts: 6

Original Poster
Rep: Reputation: 0
alright, i just got one last question. i got an error.

When i hit 90% on the system check on got an error that said.

FAILED

run fsck manualy, when i ran fsck everything turned out clean, than i rebooted and got the same error message, and when i tried the passwd i got administrative token manipulation error

Last edited by danr14; 05-19-2003 at 04:49 PM.
 
Old 05-19-2003, 06:19 PM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Quote:
i rebooted and got the same error message, and when i tried the passwd i got administrative token manipulation error
Are you saying the fsck failed on boot the second time after you ran fsck manually? If so, I suspect a really screwed system if you say he never finished installing. He may have hit the power button while something was in progress.

I would suggest reinstalling. Most newbies have good results with RedHat and Mandrake.

The KNOPPIX Linux Live CD would be a good test of your hardware and to give you a quick look at linux and I understand you can even install from it. If you have an external modem, you can even get on the net real easy, or at least I can on all my boxen.

# Cheap CDs
Discount Linux CDs
Linux Central
Cheapbytes
TuxCDs
ComputerHelperGuy
 
Old 05-24-2003, 11:53 PM   #11
danr14
LQ Newbie
 
Registered: May 2003
Posts: 6

Original Poster
Rep: Reputation: 0
nah, i didnt hit the power button, there wasnt enough space, im just tryin to boot it and install a windows shell
 
  


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
Login Screen and Login Photo problems? host Linux - Software 0 02-21-2005 06:56 AM
Login Problems belkira Mandriva 18 05-27-2004 10:49 PM
Login problems, HELP! boojummy Linux - General 4 11-02-2003 10:30 AM
Problems with Login kristaps Mandriva 1 10-25-2003 07:48 AM
login problems--help!! hobylinux Linux - Newbie 3 07-19-2003 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:56 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