You are not logged in.

#1 2025-03-26 09:56:14

monrirun
Member
Registered: 2025-03-26
Posts: 3

Incorrect Password Issue

Hello everyone,

I recently started working with Linux and decided to test it on a virtual machine. I followed some guides, checked forums, and eventually installed GNOME. Everything seemed to be going fine until I booted into the full OS with a graphical interface. When I tried to log in, I kept getting an 'incorrect password' message, even though my password was very simple (just a sequence of numbers).

I then switched to TTY to try entering my password there, but it still wasn't accepted. I’m not sure what’s causing this issue. I do have superuser access, and all necessary packages should be installed.

Would anyone be able to help me reset my password or figure out what might be going wrong? I was considering booting into live mode, but I'm not sure how to do that once the system is already installed.

For reference, I'm using VirtualBox 7.1.7.

Offline

#2 2025-03-26 09:57:50

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,640
Website

Re: Incorrect Password Issue

How did you install Arch Linux?


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#3 2025-03-26 10:14:30

monrirun
Member
Registered: 2025-03-26
Posts: 3

Re: Incorrect Password Issue

schard wrote:

How did you install Arch Linux?

I installed Arch Linux by following guide.


Step 1: Connect to the Internet
- **Ethernet**: No action needed. 

Step 2: Configure Package Manager
- Edit mirrors: `nano /etc/pacman.d/mirrorlist` 
- Enable parallel downloads: `nano /etc/pacman.conf`

Step 3: Disk Partitioning
- Find disk: `lsblk` 
- Partition using `cfdisk` 
  ```
  1. EFI system → /boot/efi 
  2. Linux filesystem → / 
  ```

Step 4: Format Partitions
```
mkfs.vfat /dev/disk1
mkfs.ext4 /dev/disk2
mkfs.ext4 /dev/disk3  # if /home is separate
```
Step 5: Mount Partitions
```
mount /dev/disk2 /mnt
mkdir -p /mnt/boot/efi && mount /dev/disk1 /mnt/boot/efi
mkdir -p /mnt/home && mount /dev/disk3 /mnt/home  # if /home is separate
```

Step 6: Install Base System
```
pacstrap /mnt base base-devel linux linux-firmware linux-headers nano vim bash-completion grub efibootmgr gdm, ttf`s and gnome gnome-extra etc..
```

Step 7: Generate fstab
```
genfstab /mnt >> /mnt/etc/fstab
```

Step 8: Chroot into System
```
arch-chroot /mnt
```

Step 9: Enable Services
```
systemctl enable NetworkManager
systemctl enable <display_manager>
```

Step 10: Create User & Set Passwords
```
useradd -m <username>
passwd <username>
passwd  # for root
```
Grant sudo access: `nano /etc/sudoers`

Step 11: Set System Language
```
nano /etc/locale.gen  # Uncomment en_US.UTF-8 UTF-8
locale-gen
echo 'LANG=en_US.UTF-8' > /etc/locale.conf
```
Step 12: Install Bootloader
```
grub-install /dev/disk
grub-mkconfig -o /boot/grub/grub.cfg
```

Step 13: Reboot into New System
```
exit
umount -R /mnt
reboot
```

This is a shortened and translated guide, so there may be some errors in Bash commands, etc.

Offline

#4 2025-03-26 10:57:19

LinuxLover471
Member
From: Asia, India
Registered: 2025-02-23
Posts: 172

Re: Incorrect Password Issue

monrirun wrote:

When I tried to log in, I kept getting an 'incorrect password' message, even though my password was very simple (just a sequence of numbers).
I then switched to TTY to try entering my password there, but it still wasn't accepted. I’m not sure what’s causing this issue. I do have superuser access, and all necessary packages should be installed.

Are you trying to login as the user you created?, try to login as root in the tty environment and change the password from there.

Sincerely,
LL


--- asyync1024

Offline

#5 2025-03-26 11:09:12

monrirun
Member
Registered: 2025-03-26
Posts: 3

Re: Incorrect Password Issue

LinuxLover471 wrote:
monrirun wrote:

When I tried to log in, I kept getting an 'incorrect password' message, even though my password was very simple (just a sequence of numbers).
I then switched to TTY to try entering my password there, but it still wasn't accepted. I’m not sure what’s causing this issue. I do have superuser access, and all necessary packages should be installed.

Are you trying to login as the user you created?, try to login as root in the tty environment and change the password from there.

Sincerely,
LL

it works! I really messed up with this, thanks a lot!

Offline

#6 2025-03-26 12:43:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,332

Re: Incorrect Password Issue

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB