Discussion Locked

Linux user auto setup

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am wondering how to write a script or program that would accepts users information and
base on that create a new or delete or modify user information.

If there is way to do this through php and mysql ( or text) tools that will be great.

2 replies

by aaube

Check out the man pages for useradd, userdel, and related command-line user management programs. Then write a script to pass the appropriate parameters to these programs. Be sure to carefully screen the input before invoking the programs to prevent any abuse.

by aghana

How would I do it ,, Also if you know of any command-line user management programs let me know.

This discussion is closed to new replies.