LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 05-05-2018, 06:54 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,960

Rep: Reputation: 55
Text console password not recognized.


Hi: I run arch linux:
Code:
[root@revenge linux]# cat /proc/version
Linux version 4.16.3-1-zen (builduser@heftig-25092) (gcc version 7.3.1 20180406 (GCC)) #1 ZEN SMP PREEMPT Thu Apr 19 09:17:21 UTC 2018
[root@revenge linux]#
Zen installs arch to disk. The arch version it uses I really don't know. Anyway the problem is this: I am in the GUI, which starts automatically after boot. Now I press ctrl-alt-F2 (console 1 is taken by X). I see the login prompt. I type 'root', then the password, which is let' say p1 and it's rejected. However when I installed the OS p1 is the password I gave for root and, when I open a terminal in the GUI and issue 'su -' p1 is accepted. How can this be?

Last edited by stf92; 05-05-2018 at 07:11 PM.
 
Old 05-05-2018, 07:56 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,621
Blog Entries: 24

Rep: Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054
Many distros don't allow a login directly from the console as root. They allow you to use su (or, in the *buntuverse, sudo) in a terminal window to assume root privileges, but not a direct log in.

It appears that Arch may be one of them. https://tutorialforlinux.com/2016/01...-command-line/

Try logging in as user, then using su as described in the article at the link and let us know what happens.

By the by, you can generally determine your release version with the following command; with the wild cards, it seems to work with most distros:

Code:
cat /etc/*release*

Last edited by frankbell; 05-05-2018 at 07:58 PM.
 
Old 05-05-2018, 08:28 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,960

Original Poster
Rep: Reputation: 55
Code:
[root@revenge linux]# cat /etc/*release*
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
ID_LIKE=archlinux
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
[root@revenge linux]#
I already had used this but, as you can see, it doesn't tell the arch linux version.

Using su - root's password was accepted. This in the text only console. So, in arch, I must first login as a regular user and then su to root! But why should I make in two steps what can be done in one?

Last edited by stf92; 05-05-2018 at 08:30 PM.
 
Old 05-05-2018, 09:07 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,621
Blog Entries: 24

Rep: Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054Reputation: 4054
Quote:
Using su - root's password was accepted. This in the text only console. So, in arch, I must first login as a regular user and then su to root! But why should I make in two steps what can be done in one?
In two words, security theatre.

______________

I don't use Arch so I don't know about version thing. Could they have given up on version numbers upon becoming a rolling release?
 
1 members found this post helpful.
Old 05-13-2018, 11:52 PM   #5
WFV
Member
 
Registered: Apr 2012
Location: CA
Distribution: Arch
Posts: 166

Rep: Reputation: Disabled
Code:
uname -a
will also give you version in most Linux - the version number updates with every new Arch release.
not sure if there's a good reason to always be logged on as root unless the only thing you log on for is to compile?

Last edited by WFV; 05-21-2018 at 05:22 PM. Reason: i stand corrected, thanks ondoho
 
Old 05-14-2018, 01:46 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,044
Blog Entries: 7

Rep: Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778
Quote:
Originally Posted by WFV View Post
not sure if there's a good reason to always be logged on as root unless the only thing you log on for is to compile?
especially when compiling one should NOT be root.

fwiw, i can login as root just fine on my archlinux machines.

does OP even run archlinux, or some arch-based distro/installer?

this:
Quote:
Originally Posted by stf92 View Post
Zen installs arch to disk. The arch version it uses I really don't know.
suggests it is not self-installed arch, therefore your problems are not arch-specific, but zen-specific (whatever that is).
also, everyone that uses arch should know that there are no "arch versions". it's a rolling distro.
 
1 members found this post helpful.
Old 05-26-2018, 09:21 AM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,960

Original Poster
Rep: Reputation: 55
I had originally an Arch iso image in a pendrive (usb stick), booted from the stick and that was all. I was incapable of installing to disk (hard disk). I had also tested with some distros such as Manjaro, which are Arch derived. Finally I was lucky enough to find this Zen installer who was the first time I could have a running operating system on disk on this machine (eMMC "hard disk").
 
Old 05-27-2018, 12:04 AM   #8
WFV
Member
 
Registered: Apr 2012
Location: CA
Distribution: Arch
Posts: 166

Rep: Reputation: Disabled
Quote:
everyone that uses arch should know that there are no "arch versions". it's a rolling distro.
whether its referred to as a "version" or not is really pointless,
the Ops reference clearly states
Quote:
Linux version 4.16.3-1-zen
so is running zen built on 4.16.3-1 release.
linux-zen is in the main Arch repos

Last edited by WFV; 05-27-2018 at 12:17 AM.
 
Old 05-27-2018, 02:10 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,044
Blog Entries: 7

Rep: Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778
^ what you are talking about is a linux kernel, not a distro version or which installer was used, both things that OP clearly specified - wrongly.
the kernel is not concerned with console passwords.
the distro and/or installer is.

thing is, if you install archlinux you KNOW which password you defined where.
hence my remark was relevant.
 
1 members found this post helpful.
Old 05-30-2018, 03:31 PM   #10
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,080

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Hey stf92,

I agree with ondoho's comments.
  • Arch has no versions - it is a rolling release

  • The uname -a command will give you the name and version number of the linux kernel you are using in Arch.

  • You can log in as root in Arch. As ondoho stated, you seemed to have installed Arch, or a derivative of Arch, using something other than the usual, completely manual way (the "Arch Way" to quote the verbiage ... ...). Something in the installation process may have applied a constraint to logging in as root. You'll have to do some digging into whatever method you used to install.

Hope this helps !
 
1 members found this post helpful.
  


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
Password not recognized Bill Gatz Linux - Newbie 5 02-20-2013 08:35 PM
[SOLVED] Root password no longer recognized buickpower Linux - Newbie 2 11-14-2012 11:52 PM
asus eee password not being recognized Kat03 Linux - Laptop and Netbook 3 11-11-2008 04:06 AM
Root password not recognized jchandler Linux - General 3 12-12-2006 05:33 PM
Root password not recognized (KDE). . . alpha_male Mandriva 1 09-13-2003 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

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