YUPAPA
10-31-2002, 07:58 PM
not planning to try it, but i have a few questions when looking at the source code...
1. do you have to change ownership to all files to root when u run the script? cuz if you don't, the script can't add user account since 'root' is the only user that can add users...
If I change all the scripts to root, then i think apache will not work with root user...
2. ALSO, i see the script edit shadow or passwd file, is this dangerous? If something screw up, the whole system passwd will mess up and you can't even login as root again.
I am writing one for my computer school project, but I use named pipe to do all these. :angel:
1. do you have to change ownership to all files to root when u run the script? cuz if you don't, the script can't add user account since 'root' is the only user that can add users...
If I change all the scripts to root, then i think apache will not work with root user...
2. ALSO, i see the script edit shadow or passwd file, is this dangerous? If something screw up, the whole system passwd will mess up and you can't even login as root again.
I am writing one for my computer school project, but I use named pipe to do all these. :angel:
