💠 𝗛𝗢𝗪 𝗧𝗢 𝗦𝗘𝗧𝗨𝗣 𝗟𝗢𝗚𝗜𝗡 𝗦𝗬𝗦𝗧𝗔𝗠 & 𝗗𝗘𝗚𝗜𝗡𝗘𝗜𝗡𝗚 𝗜𝗡 𝗧𝗥𝗘𝗠𝗨𝗫 💠
In termux, there are various methods to set up a login system. Here's one possible method:
1. Install the PAM authentication system:
pkg install libpam
2. Create a password for the root user (you'll be prompted to enter and confirm the password):
passwd root
3. Modify the PAM configuration file (/etc/pam.d/login) to enable password authentication:
nano /etc/pam.d/login
Add the following line to the file at the end:
auth required pam_unix.so
4. Create a new user account and password:
adduser <username>
passwd <username>
5. Modify the PAM configuration file (/etc/pam.d/su) to enable password authentication for the "su" command:
nano /etc/pam.d/su
Add the following line to the file at the end:
auth required pam_unix.so
6. Test the login system by logging out of Termux and logging back in as the new user:
exit
login <username>
7. To further secure your setup, you can also configure SSH key-based authentication or use two-factor authentication methods.
Method: 2
🔺ABOUT- Termux-Login Usage This script is for security or lock in termux And your Termux look better then normal and its secure 🔐 your Termux data
🔻 INSTALLATION 🔻
$ apt update
$ apt install git
$ git clone https://github.com/M4ND33P-M4L4K4R143/Termux-Login
$ cd Termux-Login
$ chmod +x setup.sh login.sh
$ bash setup.sh
$ bash login.sh
🚫 DISCLAIMER 🚫
➡️This tool is only for educational purpose
0 Comments