You are not logged in.

#1 2014-10-22 18:37:48

jancici
Member
From: svk
Registered: 2011-12-04
Posts: 192

sudo or su freez after password [SOLVED]

hi

problem is quite strange, it happend only sometimes.

example

jano@jarvis ~ % sudo ls                                                                                                                                                            :(
[sudo] password for jano: 
1 jano@jarvis ~ %                                                                                                                                                                      :(
1 jano@jarvis ~ %                                                                                                                                                                      :(
1 jano@jarvis ~ %                                                                                                                                                                      :(
1 jano@jarvis ~ % su -                                                                                                                                                                 :(
Password: 
130 jano@jarvis ~ % 

after entering password looks that it freez, I did wait long time and nothing happen.

this is from log

Oct 22 20:33:41 jarvis sudo[25334]: pam_unix(sudo:auth): conversation failed
Oct 22 20:33:41 jarvis sudo[25334]: pam_unix(sudo:auth): auth could not identify password for [jano]
Oct 22 20:34:06 jarvis sudo[25364]: pam_unix(sudo:auth): conversation failed
Oct 22 20:34:06 jarvis sudo[25364]: pam_unix(sudo:auth): auth could not identify password for [jano]

thanks for comments

Last edited by jancici (2014-10-25 06:53:44)

Offline

#2 2014-10-22 19:35:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: sudo or su freez after password [SOLVED]

Check your sudoers...


Not a Sysadmin issue, moving to NC.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-10-22 19:47:47

jancici
Member
From: svk
Registered: 2011-12-04
Posts: 192

Re: sudo or su freez after password [SOLVED]

well, I dont know what to check.
two three days it is working without problems and then I dont know why it is not.

here is what is says

jano@jarvis ~ % sudo -l
Matching Defaults entries for jano on jarvis:
    timestamp_timeout=20

User jano may run the following commands on jarvis:
    (ALL) ALL

Offline

#4 2014-10-24 19:18:06

jancici
Member
From: svk
Registered: 2011-12-04
Posts: 192

Re: sudo or su freez after password [SOLVED]

it is very strange

first point:
I did comment out line

#%wheel ALL=(ALL) ALL

and I did uncomments this line

%wheel ALL=(ALL) NOPASSWD: ALL

now I can run sudo with any command, no problems at all

second point:
as user jano I am running yaourt -Syua
before I did asked to enter root password ... {story you know, looks like that it freez}
now, I can run that command without password,
I am getting this prompt:

...
Total Download Size:    27,60 MiB
Total Installed Size:   135,16 MiB
Net Upgrade Size:       4,37 MiB

:: Proceed with installation? [Y/n] y^M

so I am pressing key "y" and then key "enter" and nothing happend and there is "^M" character.

so my theory, if thes happend when I eneter password, then it is clear why nothing happend.


NOTE: I am using zsh

Offline

#5 2014-10-24 21:13:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: sudo or su freez after password [SOLVED]

https://bbs.archlinux.org/viewtopic.php?id=186814

I would merge the threads, except the beginning of this thread was a different problem.  Please take yaourt issues, and the mayhem it's use generates, to that other thread.
Thanks.

Last edited by ewaller (2014-10-24 21:14:00)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2014-10-25 06:52:40

jancici
Member
From: svk
Registered: 2011-12-04
Posts: 192

Re: sudo or su freez after password [SOLVED]

yes, I already find that thread. I did stop to use yaurt, which is breaking shell. looks that problems gone.

thank you

Offline

Board footer

Powered by FluxBB