02-13-2016
So what other database is holding the groups information for your system. Note that user inf7 is not in group A or B (which do not exist in /etc/group) and is not in group A or B in the getent group group A or B shown in the list you provided in post #3 in this thread. It is also interesting to note that there is no need to add someone to both groups; both groups have the same group ID (2560).
Note also that you have also shown us that user ad3059 does not exist in the getent group output for groups C or D either, so it appears that user ad3059 only appears in the local /etc/group file; not in the network's group database. (I say this because the grep -i a would show all occurrences of ad3059 in the network's group database.)
So, it appears that user ad3059 is not in the network's group database and only appears in the system's local files (/etc/passwd and /etc/group) where there is no group A and there is no group B.
It has been a couple of decades since I worked on a Solaris 8 system, and I don't remember how it determined who would be found in local user and group databases and who would be found in network user and group databases. I also seem to remember limits on the length's of lines in the user and group databases (both local and networked) which is probably why you have group A and B in the remote group database with the same group ID. Maybe you can't add any more users to those groups because you have reached that limit. But, I am surprised that you didn't get any error messages from usermod if that was the reason for failing to add ad3059 to those remote groups.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Could some one please tell me why, when I run the following
php code:
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<?php
$readfile = file("rss_file.xml");
for ($k=0; $k<=count($readfile)-1; $k++) {
echo "$readfile<br>";
}
</BODY>
</HTML>
the tags do not appear in... (1 Reply)
Discussion started by: photon
1 Replies
2. Web Development
hi,
why my uploaded images are not visible both in front-end and back-end of my CMS ?
See the picture:
http://dl-client.getdropbox.com/u/72686/noPics.png
I checked the GD library in php. It seems ok...
http://dl.getdropbox.com/u/72686/GD.png
thanks
---------- Post updated at... (0 Replies)
Discussion started by: aneuryzma
0 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have a 1TB external iomega hard disk, and I want to plug it to a solaris 8 machine. The problem is that solaris doesn't recognize the NTFS file system partition.
I was thinking of formatting it to FAT32, but I would like to know if anyone knows a better file system, considering:
- I... (6 Replies)
Discussion started by: Dann-E
6 Replies
4. Red Hat
Hi,
I have added 30 GB Vmware Scsci disk in RHEL
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
I want to make this 30 GB visible to OS without reboot.
Pls help (1 Reply)
Discussion started by: saurabh84g
1 Replies
5. Solaris
Hi,
I have a strange problem. when i do ls i see a folder, say 'abc', but it disappears when i do ls -l. I cannot access or mv that folder. Solaris 10 (SPARC) doesn't allow me to create a new folder with the same name, as it already exists.
'file' command also doesn't recognize i 'abc'... (10 Replies)
Discussion started by: Mack1982
10 Replies
6. Shell Programming and Scripting
Hi,
In one folder there is a hidden folder. Whenever i do any ls -a i can't see the folder. However i can get into the folder by cd .foldername.
Would you please help me to identify what is the problem here. (13 Replies)
Discussion started by: anupdas
13 Replies
7. Post Here to Contact Site Administrators and Moderators
Hi,
I am not able to see second page of my last post, giving me message database corrupted. Please check. (7 Replies)
Discussion started by: learnbash
7 Replies
8. Post Here to Contact Site Administrators and Moderators
Let's see if this works here.
(Except I can't post a URL ...)
I posted the thread above and you can't see content, only the subject title.
Moderator Don Cragun replied to the post in Shell scripting and programming. (2 Replies)
Discussion started by: Dalej
2 Replies
LEARN ABOUT OSF1
groupdel
groupdel(8) System Manager's Manual groupdel(8)
NAME
groupdel - Deletes a group definition from the system
SYNOPSIS
/usr/sbin/groupdel [-P] [-x extended_option] group_name
OPTIONS
Creates a PC group only. The following extended_option attributes are available: Indicates whether or not the group is distributed. The
value of the distributed=n attribute can be 0 or 1. If set to 0, the group is deleted from the local system. If set to 1, the group is
deleted from the NIS master database on the running system. Indicates whether or not the group is local. The value of the local=n
attribute can be 0 or 1. If set to 1, the group is deleted from the local database. If set to 0, the group is deleted from the NIS master
database. Specifies the name of the group to be deleted from the system. The groupname must exist.
DESCRIPTION
The groupdel command lets the system administrator delete existing groups from the system, by group name. In addition, the system adminis-
trator can use the -x option to specify whether the group to be deleted is local or whether the group resides in the NIS master database.
If the -x option is not specified, the group is deleted from the appropriate database as specified by the system defaults.
The default behavior on the system for the groupdel command is distributed=0 and local=1. With these values, the system deletes the group
from the local database by default. Setting the distributed= and local= attributes to the same value (for example, distributed=0 and
local=0) produces an error.
When the Advanced Server for UNIX (ASU) is running, you can also delete PC groups consisting of members who are holders of Windows NT
domain accounts.
You must have superuser privilege to execute this command.
EXIT STATUS
The groupmod command exits with one of the following values: Success. Failure. Warning.
EXAMPLES
The following example removes the group, testgrp: % groupdel testgrp The following example removes the group, testgrp, from the local group
database: % groupdel -x local=1 testgrp The following example removes the PC users group, domainbdev, from the local group database: %
groupdel -P domainbdev
FILES
The groupdel command operates on the appropriate files for the specific level of system security.
SEE ALSO
Commands: groupadd(8), groupmod(8), useradd(8), userdel(8), usermod(8)
System Administration
Security
groupdel(8)