[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Konsole root session ignores bash completion



> Any ideas?

strace -f -e trace=execve konsole

gives :

  execve("/bin/zsh", ["/bin/zsh", "-c", "su -"], [/* 48 vars */]) = 0
  execve("/bin/su", ["su", "-"], [/* 47 vars */]) = 0


my own shell is zsh, so konsole does :

  $(SHELL) -c "su -"

to launch a root session.
soit should defininetely do the same as you typing 'su -' in a shell. 
(meaning it creates a login shell with root's $(SHELL)).

maybe your root has /bin/sh as a shell ?


-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpxARQasNYrY.pgp
Description: PGP signature


Reply to: