srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/cheatsheets/termux.md
blob: 3d9b111dadc39846f386add5a909678f507320c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- Change password of root
`# passwd`

- 
`# pacman -S sudo vim visudo`

- 
`# passwd <username>`

- Install common base tools
`# pacman -S vim sudo wget networkmanager xorg xorg-server git openssh fakeroot base-devel tigervnc tmux neofetch`

- 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`