username, password program in bash
问题 I have a program that asks input from user on their username and password then stores it in a text file column one is usernames and column 2 is passwords, i need a command that replaces the password when the user inputs their username and new password, heres what i have #!/bin/bash #admin menu #Register User echo enter the username of the user you want to register. read reguser echo enter the password of the user you want to register. read regpass User_Pass="username_pass.txt" if [ ! -e "