This program enables a login feature on starting Termux app.
The credentials provided are hashed using bcrypt
and stored in a file as user password pair.
Currently zsh
shell is supported.
# Clone the repo...
git clone https://github.com/omecamtiv/termux-login.git
# Open termux-login folder...
cd termux-login
# Run install.sh
sh ./install.sh
# Run uninstall.sh from termux-login folder...
cd termux-login
sh ./uninstall.sh
-
How to change credentials?
Just runauth -p
to change credentials. -
I forgot password, now I can't open Termux. What to do?
This is a serious problem. You have to launch Termux in Failsafe mode and delete thepasswd
file insideetc
folder. After that restart Termux in normal mode. -
How to update Termux Login Utility?
Refer to Updating Termux Login Utility.