LinuxQuestions.org
Review your favorite Linux distribution.
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 01-11-2012, 12:17 PM   #1
macroron
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 0
New successful net install but can't login anywhere.


I used useradd and then passwd without the user's name parameter without which means root's password was changed to user's password and user never got a password. Simple mistake

Another member passed this on: I've been waiting to use this: Head-slap

ron says: Ha, Ha, Ha. Ouch!

ron said: I successfully net installed arch 64 bit basic in virtualbox on fedora 16.

I was able to first boot and login.

I pacman -Syu successfully.

I installed xorg-server xorg-xinit kde-meta-kdebase virtualbox-archlinux-additions xf86-video-fbdev xf86-video-vesa sudo dbus metalog gpm slocate.

I made config file adjustments to rc.conf, and set up a iptables.rules file.

I left inittab set to original run level and xinit settings.

I useradd -m -g users -G wheel -s /bin/bash "my name"

I didn't make any visudo adjustments.

On reboot I expected to be in a terminal, login and try startx command.

But can not login anywhere.

[tty1 archlinux login incorrect]

I'm very confident that I configured correctly and tried several wipe and new installs.

I have an archlinux vboximage kde full 3 months old and updated that works on this same hardware.

$ uname -a

Linux f16.home.net 3.1.7-1.fc16.x86_64 #1 SMP Tue Jan 3 19:45:05 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

system http://www.system76.com/laptops/model/gazelle

-ron

Last edited by macroron; 01-12-2012 at 09:02 PM.
 
Old 01-12-2012, 08:57 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
You can boot into runlevel 1, then change password with passwd command

What bootloader do you use ? Lilo, grub...

(edit)
Sorry, didn't realize that your problem is that you can't get a login prompt at boot

The only thing to do is to edit inittab and configure the correct runlevel afaik
(you need to change runlevel in the bootloader first, though)

Last edited by Cedrik; 01-12-2012 at 09:05 PM.
 
Old 01-12-2012, 09:21 PM   #3
macroron
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Cedrik View Post
You can boot into runlevel 1, then change password with passwd command

What bootloader do you use ? Lilo, grub...
Grub.[Solved]

I booted the live cd and:

# mount /dev/sda1/ mnt/cdrom

# chroot /mnt/cdrom

# passwd root

I couldn't get to grub screen because "quiet splash" was on

to make matters worse I was in virtualbox and none of the function keys worked.

Last edited by macroron; 01-12-2012 at 09:22 PM.
 
  


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
[SOLVED] Getting user's previous successful login before this one? arashi256 Linux - Newbie 7 08-24-2011 02:49 PM
I want 100 last successful login linuxjamil Linux - Newbie 2 11-11-2008 01:51 AM
FTP Fails on Successful Login machineghost Linux - Networking 5 02-27-2005 12:00 PM
Login freezes after successful install. neocookie Slackware - Installation 6 09-23-2004 10:43 AM


All times are GMT -5. The time now is 10:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration