diff options
Diffstat (limited to 'cheatsheets')
| -rw-r--r-- | cheatsheets/termux.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cheatsheets/termux.md b/cheatsheets/termux.md index e69de29..db9ac83 100644 --- a/cheatsheets/termux.md +++ b/cheatsheets/termux.md @@ -0,0 +1,17 @@ +- Change password of root +`# passwd` + +- +`# pacman -S sudo vim visudo` + +- +`# passwd <username>` + +- Add <username> to sudoers. Edit/etc/sudoers with vi, add following lines beneath "root ALL=(ALL) ALL": +`<username> ALL=(ALL) ALL` + +- Login to the non-root user account by default, +`# echo startarch login username > archlinux; chmod +x archlinux` + +- To login into account: +`$ ./archlinux` |