LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-31-2018, 08:43 PM   #1
SebazKun
LQ Newbie
 
Registered: Jan 2018
Posts: 3

Rep: Reputation: Disabled
why can't I set the password in Arch Linux?


Hey guys,

I'm really inexperienced with Linux in general but I somehow managed to install Arch Linux on my old Toshiba Satellite laptop (or almost managed..).

I created 4 partitions
sda1 for bios boot (512KiB),
sda2 for Linux swap (1024 MiB)
sda3 for Linux filesystem (512MiB)
sda4 for Linux filesystem (remaining space)

I set them up to be able to install the necessary packages using
Code:
pacstrap /mnt base
.

Then I installed Grub like this:
Code:
# pacstrap /mnt grub
# grub-install --root-directory=/mnt /dev/sda 
# arch-chroot  /mnt
# grub-mkconfig -o /boot/grub/grub.cfg
# exit
I generated fstab:
Code:
genfstab -U -p /mnt >> /mnt/etc/ftab
Last but not least I wanted to set up a password. So I followed the steps in the tutorial:
Code:
# arch-chroot  /mnt
# passwd
And it asks me to specify a password. But when I want to type, I can't!?
I won't let me input any characters (no letters, no number), the only key that works is the Return key. And when I press that it asks me to retype my password to confirm it...
But I really need to set a password (don't I?) in order to reboot without the installation disk and log in.

I don't know what's going on... Help would really be appreciated! ^^
 
Old 01-31-2018, 09:42 PM   #2
Soitgoes
Member
 
Registered: Oct 2016
Location: Beyond Thunderdome
Distribution: Gentoo
Posts: 67

Rep: Reputation: Disabled
Just because you don’t see it doesn’t mean it isn’t working. Typically, you will not see your password(any characters being entered in the console). So chances are, if <enter> is working, and your keyboard is working, the password is being typed. You will be asked after typing to reconfirm and viola.. That’s it.
 
1 members found this post helpful.
Old 01-31-2018, 09:56 PM   #3
SebazKun
LQ Newbie
 
Registered: Jan 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
turned out to be easier than expected

Quote:
Originally Posted by Soitgoes View Post
Just because you donít see it doesnít mean it isnít working. Typically, you will not see your password(any characters being entered in the console). So chances are, if <enter> is working, and your keyboard is working, the password is being typed. You will be asked after typing to reconfirm and viola.. Thatís it.

Thank you for your reply.
I just figured it out on my own...
It was so frustrating not knowing how to proceed.
 
Old 02-01-2018, 12:33 AM   #4
Unturned3
Member
 
Registered: Jan 2018
Posts: 35

Rep: Reputation: Disabled
instead of outputting a bunch of ******* when you type your password, programs like "passwd" just doesn't print anything.
I was quite confused by this "feature" when I first touched Arch. The graphical Debian installer didn't have this feature
 
Old 02-01-2018, 01:08 AM   #5
SebazKun
LQ Newbie
 
Registered: Jan 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Unturned3 View Post
instead of outputting a bunch of ******* when you type your password, programs like "passwd" just doesn't print anything.
I was quite confused by this "feature" when I first touched Arch. The graphical Debian installer didn't have this feature
Exactly. When I installed the whole thing without a break, I just needed to take a break to come up with the solution myself ^^
During installation, I've made countless stupid little mistakes but in the end, I learned from them. It stills seems (in comparison to Windows) complicated, but I'm up for the challenge
 
  


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] I'm really new to arch so where do I go to set the settings for my new arch Sustem? hisforever Linux - Newbie 2 01-06-2015 07:51 AM
trying to set up arch linux arm with wifi dongle lapishater276 Arch 3 08-11-2014 09:47 AM
(NOT SOLVED) $DISPLAY not set error in ARCH Linux. mattvdh Linux - Newbie 9 06-02-2010 07:18 PM
Set VLC to autoplay DVDs in GNOME/Arch linux. powerpleb Linux - Newbie 1 08-08-2008 01:52 AM

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

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