Sponsored Content
Full Discussion: Groups is not visible
Operating Systems Solaris Groups is not visible Post 302966535 by Don Cragun on Saturday 13th of February 2016 05:38:42 AM
Old 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

Why are the xml tags not visible?

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

images are not visible

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

A file system visible for solaris and windows?

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

[ URGENT] - HDD visible to OS without reboot

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

folder not visible in ls -l

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

Not visible hidden folder

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

Thread 2nd page not visible

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

Content of posts aren't visible - only subject

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
NEWGRP(1)						    BSD General Commands Manual 						 NEWGRP(1)

NAME
newgrp -- change to a new primary group SYNOPSIS
newgrp [-l] [group] DESCRIPTION
The newgrp command changes a user to a new primary group (real and effective group ID) by starting a new shell. The user remains logged in and the current directory and file creation mask remain unchanged. The user is always given a new shell even if the primary group change fails. The newgrp command accepts the following options: -l The environment is changed to what would be expected if the user actually logged in again. This simulates a full login. The group is a group name or non-negative numeric group ID from the group database. The real and effective group IDs are set to group or the group ID associated with the group name. If group is not specified, newgrp restores the user's real and effective group IDs to the user's primary group specified in the password database. The user's supplementary group IDs are restored to the set specified for the user in the group database. If the user is not a member of the specified group, and the group requires a password, the user will be prompted for the group password. FILES
/etc/group The group database /etc/master.passwd The user database /etc/passwd A Version 7 format password file EXIT STATUS
If a new shell is started the exit status is the exit status of the shell. Otherwise the exit status will be >0. SEE ALSO
csh(1), groups(1), login(1), sh(1), su(1), umask(2), group(5), passwd(5), environ(7) STANDARDS
The newgrp command conforms to IEEE Std 1003.1-2001 (``POSIX.1''). HISTORY
A newgrp command appeared in Version 6 AT&T UNIX. A newgrp command appeared in NetBSD 5.0. BUGS
There is no convenient way to enter a password into /etc/group. The use of group passwords is strongly discouraged since they are inherently insecure. It is not possible to stop users from obtaining the encrypted password from the group database. BSD
June 6, 2007 BSD
All times are GMT -4. The time now is 01:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy