Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant login [Solved]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
augury
l33t
l33t


Joined: 22 May 2004
Posts: 722
Location: philadelphia

PostPosted: Tue Jan 28, 2014 9:26 pm    Post subject: Reply with quote

attr 2

surprise :|

copy your permissions from the one box to the other.

cp --attributes-only / /{this is your other root}

EDIT: Recursively of course.
Back to top
View user's profile Send private message
apiaio
Apprentice
Apprentice


Joined: 04 Dec 2008
Posts: 208

PostPosted: Fri Jan 31, 2014 6:50 pm    Post subject: Reply with quote

Yes.Solved. This inspirated me.
augury wrote:
attr 2

surprise :|

copy your permissions from the one box to the other.

cp --attributes-only / /{this is your other root}

EDIT: Recursively of course.

After that was not able to login, but permissions in all directories seemed to be OK. I rebuilt word -e and was able to login as normal user su into another user but not into root.
When I was trying to su into root I could see something like
Quote:
/bin/bash - no such file or directory

Final solution
Code:
usermod root -s /bin/bash
I am happy that problem is solved, but I will never find out what had caused it I am afraid.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum