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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...