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 SUNOS
groupdel
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)