Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Run the bash shell in su mode' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Run the bash shell in su mode
Authored by: jdera on May 12, '04 12:31:01PM

Okay. First, the reason the poster probably had problems using the su command is because they don't have their root account enabled. So, the first problem with this hint is its premise. The second thing wrong with it is that the sudo command has the -s switch specifically for opening a privileged interactive shell, so sudo bash is rather verbose (and might have other issues, for example, if bash weren't in your path for some reason. The third thing wrong with it is that it will only affect login shells because the settings have only been placed in ~/.bash_profile, while ~/.bashrc remains untouched.



[ Reply to This | # ]