DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th July 2014
spermwhale_warrior spermwhale_warrior is offline
Fdisk Soldier
 
Join Date: May 2013
Posts: 59
Angry can't login on virtual console

Hello
I can't login on virtual console.
It keeps saying that root isn't a valid login(I don't have users yet).
What can I do ?
Reply With Quote
  #2   (View Single Post)  
Old 19th July 2014
blackhole's Avatar
blackhole blackhole is offline
Spam Deminer
 
Join Date: Mar 2014
Posts: 316
Default

What is the exact error you are seeing? "Login incorrect" ?
Reply With Quote
  #3   (View Single Post)  
Old 19th July 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

If you cannot log in as root for any reason, you can always boot into single-user mode. How this is done is architecture dependent. If you are using one of the architectures that has a second-stage bootloader, such as i386 or amd64, you can boot into single-user mode by typing in "-s" in response to the "boot>" prompt.

In single-user mode, the root filesystem is mounted read-only. No other filesystems are mounted, and no services or network have been started. You can mount your filesystems read write:

# mount -a

then set a terminal type:

# export TERM=vt220

and make any corrections you need to make. What you need to do to fix the problem will depend on what you did. Do you just need to change the root password? Do you need to repair an error you made editing a configuration file such as /etc/ttys?
Reply With Quote
  #4   (View Single Post)  
Old 19th July 2014
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by spermwhale_warrior View Post
I can't login on virtual console.
It keeps saying that root isn't a valid login(I don't have users yet).
Two questions:
  • Are you attempting to log in through SSH? If so, did you disable root access upon installation?
  • It is not clear what you intend by "virtual console". Not every architecture supports virtual consoles. Providing dmesg(8) output would be very helpful.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
console configuration hanzer OpenBSD General 14 15th December 2013 12:21 AM
Console problem sniper007 FreeBSD General 3 20th February 2010 03:44 PM
disable console access milo974 OpenBSD Security 9 29th December 2009 01:36 PM
log in to console and startx in os x questionguy Other BSD and UNIX/UNIX-like 11 25th August 2009 05:27 AM
Console Fonts JMJ_coder General software and network 6 10th September 2008 09:57 PM


All times are GMT. The time now is 05:02 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick