Differences
This shows you the differences between the selected revisions of the page.
2006-01-05 | 2006-01-06 | ||
no summary (84.87.111.227) | revent. hints on sudo moved to faq_su as this is not a feature, but rather a hack. (martin) | ||
Line 6: | Line 6: | ||
===== Shell ===== | ===== Shell ===== | ||
The ''bash'' shell is recommended for working with WinSCP. If your default shell doesn't work with WinSCP, you can specify another shell. Typing the full path (e.g. ''/bin/bash'' or ''/usr/local/bin/bash'') is recommended. | The ''bash'' shell is recommended for working with WinSCP. If your default shell doesn't work with WinSCP, you can specify another shell. Typing the full path (e.g. ''/bin/bash'' or ''/usr/local/bin/bash'') is recommended. | ||
- | |||
- | To change user to root after login, use | ||
- | |||
- | /bin/bash -c 'sudo su -' | ||
- | |||
- | as shell and add the line | ||
- | |||
- | yourusername ALL=(ALL) NOPASSWD: ALL | ||
- | |||
- | to /etc/sudoers. | ||
===== Return code variable ===== | ===== Return code variable ===== |