7 Commits

Author SHA1 Message Date
Przemyslaw Pawelczyk
da4e96aace Reorder arguments passed to addgroup/adduser in scripts.
Now all invocations have following order of arguments (if present):

    addgroup -S -g ... GROUP
    adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
2016-04-25 06:56:47 +00:00
Przemyslaw Pawelczyk
a60b9f07de Improve consistency of scripts using adduser/addgroup.
Following rules have been applied:
- script starts with shebang !#/bin/sh followed by blank line,
- script ends with exit 0 prepended by blank line,
- only stderr of adduser, addgroup or passwd is redirected to /dev/null,
- getent passwd/group instances has been removed,
- manual checking of file and group existence has been removed,
- `|| true` instances has been removed.

Comments and line wrapping have been preserved.
2016-04-25 06:55:43 +00:00
Przemyslaw Pawelczyk
a593d306c9 Add -g option (GECOS/comment) to adduser in scripts.
This way we can avoid ugly default:

    Linux user,,,
2016-04-25 06:54:18 +00:00
Natanael Copa
cd6e2e857e main/dbus: create use as system user 2014-01-13 15:33:11 +00:00
Natanael Copa
f3928e5faf main/dbus: use /sbin/nologin as shell 2013-09-04 11:53:26 +00:00
Natanael Copa
5a7acc3218 main/dbus: greate messagebus group 2010-04-10 17:29:11 +00:00
Natanael Copa
9526ee6594 merged x11 repository into main
ref #255
2010-01-25 16:43:57 +00:00