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 -y
Now Install the script:
git clone https://github.com/Cyber-Programer/termux_login_system.git
cd termux_login_system
bash tmxlogin
First 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 tmxlogin
You 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 setup
Now follow the output everything is ok!
For remove the login system you need to use the remove file
bash remove
by 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 file
by mistake thendon't afraid
just userblank '' username
andblank '' password
justpress enter
to login - When you type the
password
for login the password arenot show
forprivacy
justtype your password and press enter