Hi.
I'm trying to remove a line from a file that holds user profiles. The file is as follows:
admin:god:group1:ksh:1
user1:pass1:group1:bash:1
user2:pass1:group2:bash:0
user3:pass1:group3:bash:1
user4:pass1:group4:bash:0
So I have a form which can select which username to delete, but I don't...
Hi,
This segment of my script:
open($file_var, ">>../login.txt") or die "$!\n";
printf ($file_var, "%s:%s:%s:%s:%s\n",new_username, new_password, new_group, new_shell, new_superuser);
close($file_var) or die "$!\n";
The output on my web...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.