WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Now 'sudo su' in /root  (Read 24197 times)

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
Re: Now 'sudo su' in /root
« Reply #30 on: December 31, 2008, 09:19:53 PM »
Oh, crap.  I was hoping you'd see that last post of mine as saying "Some of us (myself included) are too lazy to study anything we're not immediately interested in"  =o)

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: Now 'sudo su' in /root
« Reply #31 on: January 01, 2009, 11:36:03 AM »
oh no worries, i know helping people is voluntary anyway. i'd love to do it more often, that's one of the reasons i'm trying to learn more.

you should be familiar enough with that book, you're thanked and mentioned on page xviii. if the book was copylefted, i would buy two. almost no one is going to sell a copylefted book though, except richard stallman: "Permission is granted to make and distribute verbatim copies of this book provided the copyright notice and this permission notice are preserved on all copies." ($25.00)

Offline hjkl

  • Newbie
  • *
  • Posts: 23
Re: Now 'sudo su' in /root
« Reply #32 on: January 07, 2009, 06:25:26 PM »
cjgau wrote:
Quote
"sudo su" changes to the home directory of root.

"sudo -s" will remain in the same directory where the command is executed.

I noticed 'sudo -s' also keeps the user's shell environment.
So, my replacing BusyBox's 'su' with GNU 'su' to get 'sudo su -m' is overkill.
'sudo -s' is enough for me.  Thanks for the information.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Now 'sudo su' in /root
« Reply #33 on: January 07, 2009, 07:11:57 PM »
As mentioned in 1.0 change log, the jwm system menu, the root access xshells, now use cjgau'a suggestion of sudo -s
10+ Years Contributing to Linux Open Source Projects.