how to set password in termux

How to Set Password in Termux in 30 Seconds

In this article, you will learn How to Set Password in Termux in 30 seconds. After reading this blog, no one will be able to use your Termux without your permission.

This tool helps you to authenticate termux by a password. With the help of this tool, you can secure your termux and termux tools by password protection. After installing this tool, when you open termux, it will ask for a password. If you put the wrong password, you can’t be able to open termux.

how to set password in termux

Also Read: How to convert JPG into PDF on Ubuntu Via Command Line

Although You don’t need password security if you’re the only hacker in your friend’s circle. People get interested and attempt to use your applications as well as termux and to safeguard your privacy. You may take advantage of this Termux-Lock. This tool will only ask for a password before you use termux, and it will not do anything more than that.

How to Set Password in Termux:

Step 1: Open the Termux App and Update and Upgrade using the below command.

pkg update && pkg upgrade

pkg update and upgrade

Also Read: How to Write Name in Termux 2021 [Add Name in Termux]

Step 2: After that, install git and python using the following command. If you have already installed it, then you can skip this step.

pkg install git && python 

Step 3: Now clone the Termux-login Using the git clone command.

git clone https://github.com/Ublimjo/Termux-login

git clone

Step 4: Goto Termux-login folder using the following command.

cd Termux-login

how to set password in termux

Type ls, and you will see a list of files inside the Termux-login Folder.

Step 5: Now, we will make a setup.sh file executable by using chmod +x command.

chmod +x setup.sh

chmod + x setup.sh

Step 6: Execute the file by using the following command.

bash setup.sh

bash setup.sh

After you have finished all of the commands, it will show you a field where you should put your password, so enter your password here, and now you have successfully done it.

set password in termux

Also Read: How to Use Sudo Command Without Password In Ubuntu

Now Close the termux app and open it again. You will see it’s asking for a password. So in this blog, we have set password in termux successfully.

Update Your Password in Termux:

Step 1: Open the Termux app and go to the Termux-login folder.

cd Termux-login

Step 2: Execute setup.sh file.

 bash setup.sh

You will see Password Field again. Just type a new password and Retype the same password again, and the password will be updated. 

Also Read: How to Change Whatsapp Status of Your Friend

Removing the Password from Termux:

Step 1: Open the termux app and go to the home folder.

cd $HOME

Step 2: Open the Termux-login folder by using the following command.

cd Termux-login

Type ls, and you will see a list of files. We need to execute uninstall.sh file.

cd and ls command

Step 3: Write the following command to make uninstall.sh executable.

chmod +x uninstall.sh

uninstall.sh

Step 4: Now Execute the file by the following command-

bash uninstall.sh

set password in termux

Also Read: How to Split Terminal in Ubuntu 2021

This was a short tutorial on How to set password in termux. Also, please let me know if you have any further questions or remarks in the comments section below. Thank you for reading!

Leave a Reply

Your email address will not be published. Required fields are marked *