You are not logged in.

#1 2014-05-30 11:18:11

lesto
Member
Registered: 2010-07-13
Posts: 115

su/sudo hangs

Hi,
from some day on, i've got a problem where su and sudo commands hang.. aftert i insert the password, and pressed "enter" nothing happen. i can kill with ctrl+c, but again it won't work unless i open up another consolle. this happen even after some sudo/su comman has sucessufully completed in the same tty.

"tty" output in one case was /dev/pts/0, others case i've not looked at it. Consolle is zsh, on Yakuake, seems not to appen on virtual consolle, but maybe just because i almost never use them

Offline

#2 2014-05-30 11:45:28

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: su/sudo hangs

What architecture?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2014-06-02 12:49:21

lesto
Member
Registered: 2010-07-13
Posts: 115

Re: su/sudo hangs

Linux primero 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux

may be connected to NFS offline resource?

Last edited by lesto (2014-06-02 12:50:18)

Offline

#4 2014-06-02 13:07:04

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: su/sudo hangs

lesto wrote:

Linux primero 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux

Moving from Other Architectures to Applications & Desktop Environments.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#5 2014-06-02 14:03:02

lesto
Member
Registered: 2010-07-13
Posts: 115

Re: su/sudo hangs

what, wait, when did this ended up into "Other Architectures"? xD

Offline

#6 2014-06-02 14:43:22

phw
Member
Registered: 2013-05-27
Posts: 318

Re: su/sudo hangs

I had this issue, too. It started maybe two weeks ago. Happened often, but not all of the time. If it started happening the only solution was to open a new terminal, just as you described.

However, at the moment the issue does not seem to happen anymore. I am not yet sure whether it was fixed by some update or whether I was just lucky.

Offline

#7 2014-06-02 18:10:26

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: su/sudo hangs

I have a somewhat similar problem with su, but I am using bash with tmux. Many times, su hangs with

stty -ixon

as the child process ( I have the above in my .bashrc).

Killing the tmux pane fixes the problem.

In my case, entering the password with a small delay prevents this problem from happening.

Offline

Board footer

Powered by FluxBB