Jump to content

root shell terminal [solved]


Recommended Posts

Instead of using the Optional menus / terminal sessions / root shell terminal,

I would like to execute it from the task bar. What would I execute? I have tried /bin/bash in terminal, do not close, execute as root... but I am not quite there... It comes up in the user's directory instead of the root directory, even though I specify /root/ for the work path.

tia!

Kristi

 

EDIT: second question: how do I get the system to not put my IP addy in the prompt?

tia!

 

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

1/ I would say, something like this:

kdesu -u root -- su - root -c xterm

I don't know kdesu though so I made up the above line, by supposing that:

- kdesu takes its user from the -u parameter, and

- kdesu uses -- to mark the end of its own options and the beginning of the command.

 

You'll have to adapt to what the man page says.

 

Yves.

Link to comment
Share on other sites

1/ I would say, something like this:

kdesu -u root -- su - root -c xterm

I don't know kdesu though so I made up the above line, by supposing that:

- kdesu takes its user from the -u parameter, and

- kdesu uses -- to mark the end of its own options and the beginning of the command.

 

You'll have to adapt to what the man page says.

 

Yves.

 

Well that got me to scratching my head and it turns out that all i need is

konsole --type su

 

Thanks!

Kristi

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...