Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sudo refuses to work only in X
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
teknocrust
n00b
n00b


Joined: 03 Feb 2013
Posts: 11

PostPosted: Fri Feb 08, 2013 7:54 pm    Post subject: sudo refuses to work only in X Reply with quote

hey all, i'm running slim and awesome-wm

I am having a problem where sudo doesn't work while i'm in an X session... otherwise its fine
not sure what to do!!

any tips would be great!!

it outputs no errors and just sits, never delivers a password prompt..

my ck-list-sessions looks fine.. and logs don't reveal anything.. it shows pam open then session then fail after i beak out of sudo..
Code:

[pam_ssh] can't get passphrase from PAM
[sudo] pam_unix(sudo:auth): conversation failed
[sudo] pam_unix(sudo:auth): auth could not identify password for [foo]


let me know if you want any other logs
Back to top
View user's profile Send private message
derk
Guru
Guru


Joined: 10 Mar 2003
Posts: 347
Location: St Thomas Ontario

PostPosted: Sat Feb 09, 2013 2:14 pm    Post subject: Reply with quote

you might install net-misc/ssh-askpass-fullscreen which may supply what pam_ssh is loking for
Back to top
View user's profile Send private message
teknocrust
n00b
n00b


Joined: 03 Feb 2013
Posts: 11

PostPosted: Thu Feb 14, 2013 6:24 pm    Post subject: Reply with quote

I installed that package and i still have the same issue
should sudo be using the ssh prompt to supply its password? that seems weird.

nobody else is having issues with /dev/tty and sudo lately??
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Thu Feb 14, 2013 6:43 pm    Post subject: Reply with quote

post the output of
Code:

su -c 'cat /etc/sudoers'



and then look at the shell your user is to be using.......

Code:

cat /etc/passwd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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