You are not logged in.

#1 2012-06-04 21:18:36

Vrekk
Member
Registered: 2009-07-29
Posts: 27

Unable to login (su: /bin/bash: Permission denied)

Ina brand new install of arch I am unable to login with an accont other than root. I also get an error saying that root is not in the sudoers file if it try to use sudo as root but root is in fact in the file.

The hard drive is set up as
/dev/sda1 ext2 boot
/dev/mapper/VolGroup00-lVolRoot btrfs -o subvol=arch /


I have no idea where to go to fix this. All the permissions on the folders in / are correct and everything is mounting correctly, I just simply can't log in.

Offline

#2 2012-06-04 21:20:20

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Unable to login (su: /bin/bash: Permission denied)

Are you using initscripts or a pure systemd install?  if former, did you make any changes to inittab?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2012-06-04 21:23:36

Vrekk
Member
Registered: 2009-07-29
Posts: 27

Re: Unable to login (su: /bin/bash: Permission denied)

The default Archlinux initscripts. I haven't changed inittab in any way.

Offline

#4 2012-06-05 06:49:30

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Unable to login (su: /bin/bash: Permission denied)

Is your system up to date (pacman -Syu)?


Burninate!

Offline

#5 2012-06-05 09:32:08

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,489

Re: Unable to login (su: /bin/bash: Permission denied)

Vrekk wrote:

Ina brand new install of arch I am unable to login with an accont other than root. I also get an error saying that root is not in the sudoers file if it try to use sudo as root but root is in fact in the file.

Check for the user you cant login with that the keymap is correct for the password.

Not quite sure what you mean when you write "..use sudo as root..", but I assume you have added another user "e.g. Vrekk" with "useradd" and then added it to the sudoers file with visudo as per wiki ?

Maybe post the sudoers line you added for that user.

Offline

#6 2012-06-05 13:43:19

aesiris
Member
Registered: 2012-02-25
Posts: 97

Re: Unable to login (su: /bin/bash: Permission denied)

Vrekk wrote:

Ina brand new install of arch I am unable to login with an accont other than root. I also get an error saying that root is not in the sudoers file if it try to use sudo as root but root is in fact in the file.

The hard drive is set up as
/dev/sda1 ext2 boot
/dev/mapper/VolGroup00-lVolRoot btrfs -o subvol=arch /

I have no idea where to go to fix this. All the permissions on the folders in / are correct and everything is mounting correctly, I just simply can't log in.

Check also the subvolume permission: mount the root volume as "/dev/mapper/VolGroup00-lVolRoot btrfs -o subvolid=0"

Offline

Board footer

Powered by FluxBB