I'm going to delete the group account, unixgrp, using the groupdel command. Here's an example of its use.
#groupdel unixgrp
Or use GUI
#admintool &
This blog covers Unix system administration HOWTO tips for using inline for loops, find command, Unix scripting, configuration, SQL, various Unix-based tools, and command line interface syntax. The Unix OS supports tasks such as running hardware, device drivers, peripherals and third party applications. Share tips/comments. Read the comments. But most importantly: Read Disclaimer - Read Disclaimer.
Subscribe to:
Post Comments (Atom)
2 comments:
You mean there is a way other than CLI / `groupdel` to delete a group? E, wow, never thought of that. (:-)
You can always vi /etc/group and delete a group. It's dirty but allowable. ;)
Frankly speakly, you can do all these tasks I mentioned yesterday via vi, chown and a mkdir action in the home directory area.
For the first three items, I yank/paste a previous line and then modify.
#vi /etc/passwd
#vi /etc/shadow
#vi /etc/group
#mkdir home_dir
OR rename existing home_dir
#mv old_homedir newhome_dir
#chown -R newuser:group newhome_dir
#passwd -r files newuser
Post a Comment