- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /etc/logingroup on 11.23
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 02:36 AM
тАО12-16-2009 02:36 AM
Why is that /etc/logingroup required?
What can be the entries in the /etc/logingroup, why is that required.
is just linking /etc/group to /etc/logingroup sufficient?
Regards
sujit
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 04:04 AM
тАО12-16-2009 04:04 AM
Re: /etc/logingroup on 11.23
This hasn't been required for several OS releases. What does id(1) show for you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 04:23 AM
тАО12-16-2009 04:23 AM
Re: /etc/logingroup on 11.23
as i logon as root
root # id
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)
id root
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)
$ id
uid=155(sujisin) gid=7000(unix_adm)
$ id sujisin
uid=155(sujisin) gid=7000(unix_adm)
$
these are the O/Ps, i had been working on a Security Audit performed telling that:
For the
Thats why i had been worried, how to really address this situation.
Please do guide.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 04:39 AM
тАО12-16-2009 04:39 AM
Re: /etc/logingroup on 11.23
Are they with and without logingroup?
>Thats why I had been worried, how to really address this situation.
I suppose you can just symlink the files. I can't see any difference without it, contrary to logingroup(4), perhaps because I have NIS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 04:48 AM
тАО12-16-2009 04:48 AM
Re: /etc/logingroup on 11.23
I do not have alogingroup file on my system currently and the above id and id
As per the man page here:
http://www.informatik.uni-frankfurt.de/doc/man/hpux/logingroup.4.html
There are two files of this form in the system, /etc/group and
/etc/logingroup. The file /etc/group exists to supply names for each
group, and to support changing groups by means of the newgrp utility
(see newgrp(1)). /etc/logingroup provides a default group access list
for each user via login and initgroups() (see login(1) and
initgroups(3C)).
The real and effective group ID set up by login for each user is
defined in /etc/passwd (see passwd(4)). If /etc/logingroup is empty
or non-existent, the default group access list is empty. If
/etc/logingroup and /etc/group are links to the same file, the default
access list includes the entire set of groups associated with the
user. The group name and password fields in /etc/logingroup are never
used; they are included only to give the two files a uniform format,
allowing them to be linked together.
that is symlink to /etc/group as /etc/logingroup is going to give users default group access to entire set of group
so i am not able to understand or decide whether to symlink them or to have an empty /etc/logingroup fie.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 04:59 AM
тАО12-16-2009 04:59 AM
Re: /etc/logingroup on 11.23
It appears that contrary to the documentation, logingroup is near useless, unless you have fewer groups than in /etc/group.
Fiddling with my logingroup, it seems to OR the groups in group and logingroup, if different.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 05:25 AM
тАО12-16-2009 05:25 AM
Re: /etc/logingroup on 11.23
anyway i am creating a symlink with the /etc/group tp /etc/logingroup
just need to know the file ownership of the two are correct or not.
ll /etc/group
-r--r--r-- 1 bin bin 630 Dec 12 10:22 /etc/group
l /etc/logingroup
lrwxr-xr-x 1 root sys 10 Dec 16 08:09 /etc/logingroup -> /etc/group
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 03:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2009 10:14 AM
тАО12-19-2009 10:14 AM
Re: /etc/logingroup on 11.23
Thanks for the replies.
Thanks
Sujit