You are not logged in.

#1 2013-03-06 21:34:03

Aegidius
Member
From: Italy
Registered: 2011-06-29
Posts: 288
Website

[Solved] Root user not usable

Hello.

I don't know why, but I am not able to use sudo anymore. I cannot login to root too. The password is correct but if I try with su or to login from tty it says the the login is incorrect.

What can I do?

;(

Solution

I solved following this guide.

Last edited by Aegidius (2013-03-07 15:56:40)

Offline

#2 2013-03-06 23:07:36

jim_bo
Member
From: France
Registered: 2013-02-22
Posts: 7

Re: [Solved] Root user not usable

hi,

have you mess up your sudo conf file (ie /etc/sudoers) or have you just forgot your root password ?

can you login in root with

 sudo su 

if you can, set a new root password with

 passwd 


If you can't login in root, you will have to boot with a liveusb distro, and clean the 3 following conf files 

/etc/passwd
/etc/group
/etc/sudoers 

i can try to explain how !

Offline

#3 2013-03-07 10:39:59

Aegidius
Member
From: Italy
Registered: 2011-06-29
Posts: 288
Website

Re: [Solved] Root user not usable

What I have done is to create a new grup and add my user to that goup. That's all.

I have a trouble with UEFI and I cannot start any CS/USB at boot time. I cannot login as root too.

I'm very very very very very frustrated by this situation. I cannot work and I'm wasting time for no reason.

>:

Offline

#4 2013-03-07 10:55:14

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 5,912
Website

Re: [Solved] Root user not usable

Aegidiius wrote:

What I have done is to create a new grup and add my user to that goup. That's all.

What commands did you use to do that? I fail to see how creating a group and adding a user to it would prevent the root user logging in.

I have a trouble with UEFI and I cannot start any CS/USB at boot time.

What sort of problem? What have you tried to fix it? Can you switch to BIOS mode and boot a LiveCD that way?


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Making lemonade from lemons since 2015.

Offline

#5 2013-03-07 10:59:38

Aegidius
Member
From: Italy
Registered: 2011-06-29
Posts: 288
Website

Re: [Solved] Root user not usable

I followed this guide, linked in the wiki.

The UEFI problem is this one.

Offline

#6 2013-03-07 11:30:44

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 5,912
Website

Re: [Solved] Root user not usable

That thread suggests that you couldn't even install Arch, yet you've apparently managed to install and break it between then and now. So how did you get past the problem last time? Can you do it again to boot a LIveCD?


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Making lemonade from lemons since 2015.

Offline

#7 2013-03-07 11:41:17

Aegidius
Member
From: Italy
Registered: 2011-06-29
Posts: 288
Website

Re: [Solved] Root user not usable

I think that my friend know how to do that.

Offline

#8 2013-03-07 11:44:38

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 5,912
Website

Re: [Solved] Root user not usable

Then may I suggest that you give him/her a call?


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Making lemonade from lemons since 2015.

Offline

#9 2013-03-07 11:46:06

Aegidius
Member
From: Italy
Registered: 2011-06-29
Posts: 288
Website

Re: [Solved] Root user not usable

I'm gonna meet him this afternoon. I just wonder if exists a solution within my reach.

Offline

Board footer

Powered by FluxBB