Lines Matching refs:of
10 The precise set of allowed user and group names on Linux systems is weakly
11 defined. Depending on the distribution a different set of requirements and
12 restrictions on the syntax of user/group names are enforced — on some
14 the interest of interoperability systemd enforces different rules when
16 itself, following the principle of "Be conservative in what you send, be
17 liberal in what you accept". Also in the interest of interoperability systemd
25 * On POSIX the set of [valid user
30 with the restriction that hyphen is not allowed as first character of the
33 string is a valid user name as well as a string of gigabytes in length.
39 though. This rule enforces a minimum length of one character but no maximum
47 * Fedora/Red Hat based systems enforce the regular expression of
48 `^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,30}[a-zA-Z0-9_.$-]?$`, i.e. a size limit of
51 character may be a dollar character. On top of that, `.` and `..` are not
61 focus on Linux systems only however, hence those are out of scope. That said,
72 Philosophically, the strict mode described below enforces an allow list of
74 below implements a deny list of what's not allowed and permits everything else.
87 hyphen. A size limit is enforced: the minimum of `sysconf(_SC_LOGIN_NAME_MAX)`
95 Note that these rules are both more strict and more relaxed than all of the
105 and makes use of user/group names registered by other (non-systemd)
106 components of the system, for example in
111 registered by a variety of tools relaxed mode is used, but since the primary
112 purpose of these users is to run a system service and thus a job for systemd a
119 * No names consisting fully of digits (rationale: avoid confusion with numeric
122 * Similar, no names consisting of an initial hyphen and otherwise entirely made
123 up of digits (rationale: avoid confusion with negative, numeric UID/GID
141 paths, in particular for the purpose of home directories.
146 consisting of white-space only either (rationale: this typically indicates
153 Note that this relaxed mode does not refuse a couple of very questionable