e7d18f5bc0
- Remove dependency on chage
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=78
2025-11-01 15:49:03 +00:00
c87b2416a6
- Fallback to useradd if systemd is older than v257 [bsc#1248855]
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=74
2025-08-28 15:21:11 +00:00
5404cd7529
- Don't set TZ=UTC for chage to avoid dependency on env.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=73
2025-08-27 06:58:02 +00:00
ecc2084274
- Use run macro for chage for log files/debugging.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=72
2025-08-26 09:45:34 +00:00
c9cf3c6207
- Generate provides for "u!".
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=71
2025-08-25 07:17:57 +00:00
cc8214b39d
Accepting request 1295781 from home:msmeissn:branches:Base:System
...
- disable the buildroot virus scanning, as it needs the vscan user
this package provides. (bsc#1246878)
OBS-URL: https://build.opensuse.org/request/show/1295781
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=69
2025-07-25 14:23:28 +00:00
0cece4e54d
Accepting request 1240624 from home:kukuk:systemd257
...
- Add support for "u!" with useradd (shadow). busybox has no
support for account/password expiration
OBS-URL: https://build.opensuse.org/request/show/1240624
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=68
2025-01-28 09:13:47 +00:00
bde6f19fdb
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=67
2024-12-19 22:01:11 +00:00
aa00ca0e3d
- Revert last changes partly, add Conflict for systemd < 238
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=65
2024-12-18 09:28:30 +00:00
04cf1c24b4
- Directly check return value of systemd-sysusers
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=64
2024-12-11 11:07:04 +00:00
90c6a39846
- Drop SLE15 support and remove disable-systemd-sysusers.patch
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=63
2024-12-09 06:30:48 +00:00
cad1daee23
- sysuser-shadow: remove systemd 238 dependency, this does not
...
work in a single RPM transaction [bsc#1234277]. Call
systemd-sysuser instead again without --replace.
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=62
2024-12-09 06:28:19 +00:00
19b788de57
Accepting request 1204305 from home:kukuk:cleanup
...
- Remove check for .buildenv to see failures in OBS
OBS-URL: https://build.opensuse.org/request/show/1204305
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=61
2024-09-28 06:58:41 +00:00
b4b291bd69
Accepting request 1192185 from home:kukuk:cleanup
...
- usermod: revert renamed arguments
OBS-URL: https://build.opensuse.org/request/show/1192185
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=60
2024-08-07 10:10:18 +00:00
057db30369
Accepting request 1191724 from home:kukuk:cleanup
...
- Implement UID:GID support for busybox
- Reenable UID:GID support
OBS-URL: https://build.opensuse.org/request/show/1191724
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=59
2024-08-05 14:38:15 +00:00
b0ba3589fb
Accepting request 1191330 from home:kukuk:cleanup
...
- Disable UID:GID support for now
- UID:GID: don't create group with GID if it does not exist
OBS-URL: https://build.opensuse.org/request/show/1191330
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=58
2024-08-03 06:40:00 +00:00
c9ace90b63
Accepting request 1191152 from home:kukuk:cleanup
...
- Rewrite UID:GID support to work with busybox and fix it for useradd
OBS-URL: https://build.opensuse.org/request/show/1191152
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=57
2024-08-02 10:05:05 +00:00
731ab747b8
Accepting request 1186451 from home:weberho:sqmail
...
- Allow setting of UID:GID for as defined in sysusers.d
OBS-URL: https://build.opensuse.org/request/show/1186451
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=56
2024-07-30 14:00:07 +00:00
eb13c688a6
Accepting request 1123844 from home:dimstar:Factory
...
Fix build with RPM 4.19: unnumbered patches are no longer supported.
OBS-URL: https://build.opensuse.org/request/show/1123844
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=55
2023-11-07 10:26:07 +00:00
618db965b7
Accepting request 1099442 from home:olh:branches:Base:System
...
- Version 3.2
- update sysusers_requires to request sysuser-shadow 3.2
- Use TAB consistently for indention in sysusers2shadow.sh
- This pkg needs to follow behavior which is described in sysusers.d(5).
Always create a system group of the same name as the system user,
even if the user already exists. (bsc#1205161, bsc#1207778, bsc#1213240)
- Disable systemd-sysuser on SLE15 to stay compatible
(disable-systemd-sysusers.patch)
OBS-URL: https://build.opensuse.org/request/show/1099442
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=54
2023-07-25 07:05:14 +00:00
c469ed4156
Accepting request 1099233 from home:olh:branches:Base:System
...
- Add "quilt setup" friendly hint to %sysusers_requires usage
It is not required to have sysuser-tools installed when working
with a pkg source which uses sysuser-tools at build time.
OBS-URL: https://build.opensuse.org/request/show/1099233
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=53
2023-07-18 12:22:19 +00:00
8d10aea4a7
Accepting request 1001491 from home:gmbr3:Active
...
- Use append so if a pre file already exists it isn't overridden
OBS-URL: https://build.opensuse.org/request/show/1001491
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=52
2022-09-19 06:55:41 +00:00
4312da8985
Accepting request 950427 from home:dirkmueller:Factory
...
- invoke bash for bash scripts (bsc#1195391)
OBS-URL: https://build.opensuse.org/request/show/950427
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=51
2022-02-03 09:12:53 +00:00
da8baa16d5
Accepting request 917595 from home:kukuk:tiu
...
- Add support for new shell field [bsc#1189518]
OBS-URL: https://build.opensuse.org/request/show/917595
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=50
2021-09-08 14:31:16 +00:00
eb2c6c1e3a
- Use /bin/bash for sysusers-generate-pre
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=49
2021-07-15 06:47:00 +00:00
b24ea4bfa1
Accepting request 903094 from home:dancermak:branches:Base:System
...
Remove usage of grep from sysusers-generate-pre
OBS-URL: https://build.opensuse.org/request/show/903094
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=48
2021-07-09 12:08:33 +00:00
43c72e4c89
- Add dependency on systemd >=238 if systemd is installed to
...
sysuser-shadow
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=47
2021-06-24 10:24:07 +00:00
5d481cd805
Accepting request 901117 from home:dimstar:Factory
...
- Bump version up to 3.1. The --replace parameter only appeared in
systemd 238, so we need to ensure to get the update order correct
for sysuser-generate when using the 3rd command line parameters:
* systemd -> sysuser-tools -> system-{user|group}-FOO.
- Add Conflicts systemd < 238 to sysuser-shadow
- update sysuser_requires to request sysuser-shadow 3.1
OBS-URL: https://build.opensuse.org/request/show/901117
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=45
2021-06-21 10:02:40 +00:00
07836d151c
Accepting request 898111 from home:kukuk:container
...
- Support systemd-sysusers --replace=/usr/lib/sysusers.d/ option
- sysusers-generate-pre: only use first argument for grep
- sysusers2shadow.sh: use "run" prefix for systemd-sysusers call
- macros.sysusers: fix typo
OBS-URL: https://build.opensuse.org/request/show/898111
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=44
2021-06-07 13:14:59 +00:00
67c0d2da62
Accepting request 891513 from home:gmbr3:Active
...
- Use /usr/sbin/nologin instead of /sbin/nologin
OBS-URL: https://build.opensuse.org/request/show/891513
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=43
2021-05-10 13:44:26 +00:00
1bdbfc8368
Accepting request 872279 from home:kukuk:etc
...
- Don't abort on unbound first argument
OBS-URL: https://build.opensuse.org/request/show/872279
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=42
2021-02-15 07:31:11 +00:00
ad61ffc79b
Accepting request 871218 from home:kukuk:etc
...
- Remove sysusers/nscd workaround
OBS-URL: https://build.opensuse.org/request/show/871218
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=41
2021-02-11 13:54:52 +00:00
a6ba167f03
Accepting request 871208 from home:kukuk:etc
...
- Use systemd-sysusers only if /proc is mounted, don't require it
- Set --replace option for systemd-sysusers
OBS-URL: https://build.opensuse.org/request/show/871208
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=40
2021-02-11 12:54:07 +00:00
43c62ca2ba
Accepting request 865021 from home:kukuk:etc
...
- Ignore nscd return code
OBS-URL: https://build.opensuse.org/request/show/865021
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=37
2021-01-20 15:08:26 +00:00
fcace4b443
Accepting request 864336 from home:kukuk:etc
...
- If systemd-sysusers is used to create a new user/group, invalidate
the nscd passwd and group cache to make the new user/group
visible immediately as workaround [bsc#1181121].
Needs to be removed after sytemd-sysusers get's fixed, since we
invalidate the cache even if the user/group file wasn't changed.
OBS-URL: https://build.opensuse.org/request/show/864336
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=36
2021-01-19 15:20:59 +00:00
3aec82482f
Accepting request 863987 from home:kukuk:etc
...
- An "u" in a sysusers.d file will create an user and a group.
Create provides for both, user and group.
OBS-URL: https://build.opensuse.org/request/show/863987
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=35
2021-01-18 07:13:39 +00:00
33717263b1
Accepting request 863306 from home:kukuk:etc
...
- Use systemd-sysusers as default to create and update the user
account. Fixes the problem that a modified sysusers config file
get's ignored by useradd and adduser [bsc#1180549].
OBS-URL: https://build.opensuse.org/request/show/863306
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=34
2021-01-15 10:59:15 +00:00
5211ed5108
Accepting request 853102 from home:lnussel:branches:Base:System
...
- useradd_or_adduser_dep must be PreReq so ordering makes sure it gets
installed before.
- suggest shadow where useradd_or_adduser_dep is actually required
OBS-URL: https://build.opensuse.org/request/show/853102
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=32
2020-12-07 12:26:22 +00:00
40d0a2eafe
Accepting request 835782 from home:favogt:fixnobody
...
- Avoid useless use of cat
- Simplify %sysusers_requires
- Drop shebang, rpm passes it to /bin/sh itself
OBS-URL: https://build.opensuse.org/request/show/835782
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=30
2020-09-22 08:24:31 +00:00
ef3cc3ae10
Accepting request 828539 from home:kukuk:branches:Base:System
...
- Packages providing users need /usr/bin/cat installed to create
them. Add that to the PreRequires.
OBS-URL: https://build.opensuse.org/request/show/828539
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=28
2020-08-21 15:11:27 +00:00
6b6bfad005
Accepting request 828489 from home:kukuk:branches:Base:System
...
- Create system groups for system users
OBS-URL: https://build.opensuse.org/request/show/828489
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=27
2020-08-21 12:44:49 +00:00
94080aadd8
Accepting request 788085 from home:favogt:nobash
...
- Fix bug introduced by simplification of check for useradd -g
- Refactor use of sed away
OBS-URL: https://build.opensuse.org/request/show/788085
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=25
2020-03-25 10:07:14 +00:00
9ee1e2e3fe
Accepting request 787733 from home:favogt:nobash
...
- Use eval set -- $LINE instead of read for parsing
Fixes system-user-man. eval is evil though, so if there is a better idea, please tell
OBS-URL: https://build.opensuse.org/request/show/787733
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=24
2020-03-24 11:54:36 +00:00
940fe91f99
Accepting request 786819 from home:favogt:nobash
...
- Clean up sysusers2shadow and make it use only /bin/sh
- Don't let busybox adduser create the home directory, it breaks
permissions of e.g. /sbin (home of daemon)
- Use only /bin/sh in sysusers-generate-pre and the generated code
OBS-URL: https://build.opensuse.org/request/show/786819
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=23
2020-03-20 11:31:21 +00:00
1ef5dffca8
Accepting request 785867 from home:favogt:branches:openSUSE:Factory
...
- Drop use of tail from the generated %pre scriptlets
I'll try dropping the bash dep next. A pure lua implementation is possible, but would require some work and is IMO not really necessary. If any of those users are needed, there's very likely also a shell available. For system-user-root it's already pure lua.
OBS-URL: https://build.opensuse.org/request/show/785867
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=22
2020-03-17 14:34:59 +00:00
869b95f01a
Accepting request 759948 from home:kukuk:ei-demo
...
- Look for /bin/busybox, too
- Add special handling for busybox and groups
OBS-URL: https://build.opensuse.org/request/show/759948
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=20
2019-12-29 21:30:37 +00:00
9a96ea4200
Accepting request 718884 from home:dimstar:Factory
...
Fixup macros; my bad, it should be Suggests:, not Suggest:
OBS-URL: https://build.opensuse.org/request/show/718884
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=18
2019-07-26 13:33:41 +00:00
263f3b1852
Accepting request 718841 from home:kukuk:container
...
- Use suggest shadow to prefer that over busybox in normal systems
- Add support for busybox adduser/addgroup
- Change requirements from shadow to useradd_or_adduser_dep
OBS-URL: https://build.opensuse.org/request/show/718841
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=17
2019-07-26 11:29:41 +00:00
f87d768264
Accepting request 701787 from home:kukuk:branches:Base:System
...
- Fix default home directory [bsc#1105934]
- Use _rpmmacrodir for macro file
OBS-URL: https://build.opensuse.org/request/show/701787
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=15
2019-05-09 13:51:43 +00:00
207ab044dc
Accepting request 532757 from home:dimstar:Factory
...
I think this should finally cater to all cases, and still allow us to have proper error handling on actual systems
OBS-URL: https://build.opensuse.org/request/show/532757
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=13
2017-10-12 11:27:01 +00:00