GROUPDEL(8) BSD System Manager's Manual GROUPDEL(8)NAME
groupdel -- remove a group from the system
SYNOPSIS
groupdel [-v] group
DESCRIPTION
The groupdel utility removes a group from the system. See group(8) for more information about EXTENSIONS. The options are as follows:
-v Enable verbose mode - explain the commands as they are executed. This option is included if built with EXTENSIONS.
EXIT STATUS
The groupdel utility exits 0 on success, and >0 if an error occurs.
SEE ALSO group(5), group(8), user(8)HISTORY
The groupdel utility first appeared in NetBSD 1.5. It is based on the addnerd package by the same author.
AUTHORS
The groupdel utility was written by Alistair G. Crooks <agc@NetBSD.org>.
BSD November 7, 2005 BSD
Check Out this Related Man Page
groupdel(1M) System Administration Commands groupdel(1M)NAME
groupdel - delete a group definition from the system
SYNOPSIS
/usr/sbin/groupdel group
DESCRIPTION
The groupdel utility deletes a group definition from the system. It deletes the appropriate entry from the /etc/group file.
OPERANDS
group An existing group name to be deleted.
EXIT STATUS
The following exit values are returned:
0 Success.
2 Invalid command syntax. A usage message for the groupdel command is displayed.
6 group does not exist.
10 Cannot update the /etc/group file.
FILES
/etc/group system file containing group definitions
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO users(1B), groupadd(1M), groupmod(1M), logins(1M), useradd(1M), userdel(1M), usermod(1M), attributes(5)NOTES
The groupdel utility only deletes a group definition that is in the local /etc/group file. If a network nameservice such as NIS or NIS+ is
being used to supplement the local /etc/group file with additional entries, groupdel cannot change information supplied by the network
nameservice.
SunOS 5.10 14 Sep 1992 groupdel(1M)
From what I have read it possible to create a new group by editing the etc/group and etc/passwd in UNIX two files but a non-experienced user may face many problems such as destroying the file by mistake ot that his changes to these file does not make any difference.
However, there is this... (2 Replies)
I just want to audit and log to syslog when a user is added, removed or modified from the system.
According to the docs I have:
#/etc/security/audit_control
dir:/var/audit
flags:ua
minfree:20
naflags:ua
plugin:name=audit_syslog.so.1; p_flags=ua
But neither syslog nor auditreduce -c ua... (7 Replies)
Hello folks,
I am trying to accomplish the following:
1. Create home folders for each user
2. Create a public folder where all users can access
3. Use Samba as a domain controller.
I have successfully completed issue 1. But I can't get the second issue to work. Below is my config file.... (0 Replies)
Linux OS : Fedora 10 (No graphical mode)
Windows OS : XP and Windows Server NT
I am able to access from my windows to linux using following step
//fedora10 ip
username of admin and password
I am able to view the admin and shared printer of fedora 10.
When i try to enter in the admin... (0 Replies)
Hi I wanted to add a group using 1 id which is not root but has some sudo privileges.
test@test>sudo -l
gives this
(root) NOPASSWD: /usr/bin/passwd, /usr/sbin/useradd, /usr/sbin/usermod, /usr/sbin/userdel, /usr/bin/tee, /usr/bin/grep, /bin/grep, /usr/bin/chmod, /bin/chmod, /usr/bin/echo,... (1 Reply)
Two VCE files (files to pass IT ceritifcate test) have been converted to text files. So now I need a script to compare the difference between them.
Each question session start from QUESTION and end by Section. Here is the sample.
QUESTION 7
A user logs into a system running the Solaris 8... (2 Replies)
I dug myself a hole yesterday that I can't seem to get myself out of.
In a very futile attempt to create a new FTP user with limited access via SSH, I inadvertently changed permissions for who knows what and now I am having a problem accessing password protected directories. When I enter the... (1 Reply)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Hi This is my first post.I am learning Unix and finding it difficult to get a handle on the scripting side of... (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I'm able to create a group but when I'm trying to delete the group it keeps stating Group Doesn't Exist. I know... (2 Replies)
Hi
I would like to create another root account, for example root2. I added a new user named root2 and set it's uid and gid ( in /etc/passwd ) to 0. Then I logged in ( account root2 ) and the server asked to change the password, so I changed.
And the problem happend. The password of both root... (15 Replies)