From 9ac70bc2f654d0953ebc227adc2a51001058c9c8 Mon Sep 17 00:00:00 2001 From: srdusr Date: Fri, 2 Jun 2023 10:13:02 +0200 Subject: Add draft of basic setup for arch on termux --- cheatsheets/termux.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 ` + +- Add to sudoers. Edit/etc/sudoers with vi, add following lines beneath "root ALL=(ALL) ALL": +` 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` -- cgit v1.2.3