SU at Xshell without automatically loading X again


Forum: X and Fluxbox
Topic: SU at Xshell without automatically loading X again
started by: meorero

Posted by meorero on July 16 2004,13:30
I mean here - either XTerminal, Rxvt or  Bash.

In either one of the X-shells, i can do "sudo " + <command>.

But when trying to simply enter "su -", it automatically  loads another
X-system session  for SU.  I need to do ctrl+c to exit this session.

And I generally don't need the full X-system for su.  Just the command-line.

If I will want another X-system  session at SU i'll do "startx"!

So how can I  enter SU without automatic load of another X-system?

Posted by mpie on July 16 2004,13:48
sudo su..................... ???
Posted by roberts on July 16 2004,21:03
sudo su
or select from main menu
Xshells->Root Access

By adding the "-" you are telling the shell to execute the .bash_profile which will start another X session.

You don't need the "-"

Posted by meorero on July 18 2004,20:46
"su -"  led me automatically to he home directory of Root,
but it’s really not that important, just bad manner … :p
Thanks

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.