Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| picore:user [2025/06/29 07:22] – rhermsen | picore:user [2025/06/29 07:41] (current) – rhermsen | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| * sudo adduser < | * sudo adduser < | ||
| From this point you can login with ssh as user < | From this point you can login with ssh as user < | ||
| - | It is not yet possible to execute commands that require root privileges. | + | It is not yet possible to execute commands that require root privileges.\\ \\ |
| * From user tc login as root and make < | * From user tc login as root and make < | ||
| Line 18: | Line 18: | ||
| * chmod 660 / | * chmod 660 / | ||
| * vi / | * vi / | ||
| - | * add: < | + | * add: < |
| * chmod 440 / | * chmod 440 / | ||
| * exit | * exit | ||
| Line 24: | Line 24: | ||
| * add: < | * add: < | ||
| * backup | * backup | ||
| + | From this point you can also execute commands that require root privileges for user < | ||
| + | |||
| * Switch to user tc after login with user < | * Switch to user tc after login with user < | ||
| - | * sudo su | + | * sudo su - tc\\ or |
| - | * su - tc\\ or | + | * sudo su -\\ \\ |
| - | * sudo su - tc | + | * To switch to root from user < |
| + | * sudo su\\ \\ | ||
| + | * From root you can switch to user tc with: | ||
| + | * su - tc\\ \\ | ||
| + | * Use ' | ||