The userdel command is (Ftp web hosting) extremely easy to use
The userdel command is extremely easy to use and can therefore be dangerous if not used with caution. There is only one argument or option available for the command: r, for removing the account s home directory and mail spool (mail file). Here s how to remove the saraht account: userdel -r saraht If you want to keep her home directory for backup purposes, omit the -r option. You can remove the home directory as needed at a later time. The useradd, usermod, and userdel commands work similarly in most Unix systems (Solaris, Linux, BSD, and so on) but not in Mac OS X. If you want to modify accounts with the command line, you need to use niutil with the -create, -createprop, and -appendprop arguments. niutil is a Mac OS X specific command; refer to your man pages for more information if you are using Mac OS X and need to add users at the command line. Group Management Managing groups is accomplished with the groupadd, groupmod, and groupdel commands on most Unix systems. groupadd has this syntax: groupadd -g group_id group_name To create a new group for the finance department called finance_2 and assign it a unique GID of 535, for example, you d use: groupadd -g 535 finance_2 This command makes the appropriate entry in the /etc/group file. To modify a group, use the groupmod syntax: groupmod -n new_modified_group_name old_group_name To change the finance_2 group name to financial, type: groupmod -n financial finance_2 You can also use the -g option with groupmod to change the GID of the group. Here s how you d change the financial GID to 545: groupmod -g 545 financial To delete an existing group, all you need are the groupdel command and the group name. To delete the financial group, the command is: groupdel financial This removes only the group, not any files associated with that group. (The files are still accessible by their owners.) 43 Understanding Users and Groups
Note: In case you are looking for affordable and reliable webhost to host and run your business application check Vision ftp web hosting services