Commit Graph

10 Commits

Author SHA256 Message Date
Thorsten Kukuk
75e8bf19d8 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
Thorsten Kukuk
e839e06bcf 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
Thorsten Kukuk
81802b4712 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
Thorsten Kukuk
a19c937597 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
Thorsten Kukuk
dc1a70f2b6 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
Thorsten Kukuk
aff93c9d23 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
Thorsten Kukuk
173b764048 Accepting request 504693 from home:kukuk:sysusers
- sysuser-tools needs to require sysuser-shadow

OBS-URL: https://build.opensuse.org/request/show/504693
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=9
2017-06-19 12:08:42 +00:00
Thorsten Kukuk
0b8c1d1d89 Accepting request 504648 from home:kukuk:sysusers
- Add requires for shadow to sysuser-shadow

OBS-URL: https://build.opensuse.org/request/show/504648
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=8
2017-06-19 11:49:47 +00:00
Thorsten Kukuk
c35174b874 Accepting request 504523 from home:kukuk:sysusers
- Put helper script into own subpackage
- Convert sysusers config file to shadow arguments and use
  shadow suite to create user and groups. Fixes [bsc#1041497] and
  serveral dependency loops.

OBS-URL: https://build.opensuse.org/request/show/504523
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=7
2017-06-19 06:26:55 +00:00
Ludwig Nussel
20ab9219b9 Accepting request 457437 from home:kukuk:sysusers
Initial tool package for the new system user proposal

OBS-URL: https://build.opensuse.org/request/show/457437
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=1
2017-02-16 15:08:58 +00:00