Differences
This shows you the differences between the selected revisions of the page.
| 2005-12-14 | 2006-01-05 | ||
| no summary (martin) | no summary (84.87.111.227) | ||
| 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 ===== | ||