diff options
| author | srdusr <[email protected]> | 2023-06-02 10:13:02 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2023-06-02 10:13:02 +0200 |
| commit | 9ac70bc2f654d0953ebc227adc2a51001058c9c8 (patch) | |
| tree | 5d2dcd31932aff34d117d133a1122d49954581d8 /cheatsheets | |
| parent | b3d1dc91b1d3c1dc8e31099f0e8e014ac349e947 (diff) | |
| download | notes-9ac70bc2f654d0953ebc227adc2a51001058c9c8.tar.gz notes-9ac70bc2f654d0953ebc227adc2a51001058c9c8.zip | |
Add draft of basic setup for arch on termux
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` |