This is a bash script. Using this script you can make you termux more beautiful and good looking and also you can set a password or login system on your termux.
First update and upgrade your system
apt update && upgrade -y
apt install git -yNow Install the script:
git clone https://github.com/Cyber-Programer/termux_login_system.git
cd termux_login_system
bash tmxloginFirst you need any text editor. You can use nano/mousepad/gedit/vim and many more. Hear i use nano if you don't have nano installed then install it by runing apt install nano -y -> For linux pkg install nano -> for termux.
nano tmxloginYou need to put your username and password in variable.
When you open the tmxlogin script in any text exitor then you can see
username=""
password=""username="YOUR USER NAME"
password="YOUR PASSWORD"
bash setupNow follow the output everything is ok!
For remove the login system you need to use the remove file
bash removeby runing this script your login system will distroy you can use your termux normally , but you need to remove 1 word from /data/data/com.termux/files/usr/etc/bash.bashrc file
Open the /data/data/com.termux/files/usr/etc/bash.bashrc file with any text editor and remove tmxlogin worm from the file.
Now the script will proparly closed.
x.mp4
- This script only for termux you can't use it on linux becourse it's maked for termux
- At first don't run the setup file bescouse the setup file will permanently set the user/pass
- If you run at first the
setup fileby mistake thendon't afraidjust userblank '' usernameandblank '' passwordjustpress enterto login - When you type the
passwordfor login the password arenot showforprivacyjusttype your password and press enter