Page MenuHomeFreeBSD

groups.7: Standard group names
Needs ReviewPublic

Authored by tembun_bk.ru on Sun, Dec 7, 9:01 PM.
Referenced Files
Unknown Object (File)
Wed, Dec 31, 4:06 PM
Unknown Object (File)
Sat, Dec 20, 10:34 PM
Unknown Object (File)
Fri, Dec 19, 11:36 AM
Unknown Object (File)
Fri, Dec 19, 11:36 AM
Unknown Object (File)
Fri, Dec 19, 10:57 AM
Unknown Object (File)
Thu, Dec 18, 10:27 AM
Unknown Object (File)
Thu, Dec 18, 8:43 AM
Unknown Object (File)
Thu, Dec 18, 6:19 AM
Subscribers

Details

Reviewers
ziaee
des
maxim
Group Reviewers
docs
manpages
Summary

I'm not 100% sure whether every statement and group description is true for FreeBSD and its current state. Please, point out mistakes in my assumptions.

The group list is sorted by GID. All the group names from /usr/src/etc/group are described, except "uucp": honestly, I don't know what it is used for and what to say about it.

PR: 264966
Obtained from: NetBSD

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

share/man/man7/groups.7
4–5

What should I do with the license? The page was not only imported, but changed for FreeBSD. I also did change some of the original parts.

208

I'm not sure if I'm right about this one.

247

I'm not quite sure about this one too. If I understand correctly, it must be somehow related to group "uucp" (which is missed), since on my machine /dev/cuau2 is owned by used "uucp" and in group "dialer".

253

I'm not sure if it's really unused now. Didn't find much about it in /usr/src.

265

As above.

269

Didn't have any experience with it, just tried to deduce what it is used for :)

301

That's only my guess described here. Maybe there is a different reason why there are "nogroup" and "nobody".

tembun_bk.ru marked an inline comment as not done.

'December' instead of 'Dec'.

Add groups(7) cross-references into other man pages.

I'm also going to port users(7) man page. The structure and the overall idea of these two pages are very similar; do you have some notes/advises that I can learn from this page and apply to users(7)?

@ziaee I've been thinking: maybe it would be a nice idea to create hard links for this manual page: wheel.7 and operator.7? wheel and operator are the most noticeable groups and people frequently have questions about their purpose, so it would be nice to be able to do man wheel or man operator. We have the similar thing for builtin.1 which has a link to every builtin command: https://cgit.freebsd.org/src/tree/share/man/man1/Makefile?id=4b0d5d1d6a7c9773e38882feb4747a76b37a645c#n13

Sorry I haven't had time to review this yet!

I don't know about adding mlinks. We can't really do it consistently without creating a lot of collision in the apropos database, which is hard for beginners to navigate.

share/man/man7/groups.7
4–5

The license always stays, that's what the first clause therein says (lines 9 and 10), but add a SPDX tag at the top so we can index it mechanically.

share/man/man7/groups.7
4–5

That should be 'SPDX-License-Identifier: BSD-2-Clause', right?

share/man/man7/groups.7
4–5

Yes. I believe this is the standard BSD-2-Clause, or close enough, that this is the right thing.

Sorry I haven't had time to review this yet!

I don't know about adding mlinks. We can't really do it consistently without creating a lot of collision in the apropos database, which is hard for beginners to navigate.

@imp (sorry, I'm not sure if you can answer this, but since you've been active on this revision) do you think that adding mlinks would be worth it or it is better to avoid such hard links?