54305a4169
- 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
9 lines
203 B
Bash
9 lines
203 B
Bash
#!/bin/sh
|
|
# pass systemd sysusers config paths as argument to this script.
|
|
|
|
echo '#!/bin/sh'
|
|
echo 'cat <<"EOF" |'
|
|
grep -he '^[ugmr]' "$@"
|
|
echo 'EOF'
|
|
echo '/usr/sbin/sysusers2shadow || [ -f /.buildenv ]'
|