Доброго времени суток! Народ как удалить user-а? userdel-а нет. Достаточно ли удалить соответствующие записи в файлах groops и passwd? С Уважением krion!
Removing a User
Removing a user requires editing a few files and removing some things, but it's really quite simple. These steps a necessary to remove a user from the system:
Remove the line in /etc/passwd. As root open the file /etc/passwd and find the line corresponding to the account you are removing and delete it.
Remove the user name from /etc/group. You need to remove the username from any groups in the /etc/group file.
Remove the line in /etc/shadow. Same process as in step 1.
Delete the home directory. As root do an rm -rf on the home directory for the account.
Delete the mail spool file. As root you need to delete /var/spool/mail/{USERNAME}.
Another approach to removing a user is by using the userdel command (located in /usr/sbin). You can use it to do all of the above. See the man page for more information.