Commit Graph

13 Commits

Author SHA256 Message Date
Thorsten Kukuk
24d67490c3 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
Thorsten Kukuk
8e3bfd4594 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
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
73d3e7c0eb 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
Thorsten Kukuk
2f98125200 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
Thorsten Kukuk
d7b80fccdd 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
Thorsten Kukuk
1111c839cc 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
Thorsten Kukuk
54305a4169 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
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
ac43675b41 Accepting request 528932 from home:dimstar:Factory
Any thoughts about this change? currently we simply hide all errors deep into zypp's log files and somehow hope the system would be working in the end

OBS-URL: https://build.opensuse.org/request/show/528932
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=11
2017-10-07 10:06:56 +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