summaryrefslogtreecommitdiff
path: root/src/basic/user-util.c
AgeCommit message (Expand)AuthorFilesLines
2018-08-20Rename USER_CREDS_SYNTHESIZE_FALLBACK to …_PREFER_NSSZbigniew Jędrzejewski-Szmek1-4/+4
2018-08-20user-util: rework get_user_creds()Lennart Poettering1-68/+105
2018-06-14tree-wide: remove Lennart's copyright linesLennart Poettering1-3/+0
2018-06-14tree-wide: drop 'This file is part of systemd' blurbLennart Poettering1-2/+0
2018-04-19user-util: trivial coding style fixesLennart Poettering1-8/+8
2018-04-18sysusers: make sure to reset the returned value when EOF is reached in fget*e...Franck Bui1-20/+8
2018-04-18util-lib: introduce new empty_or_root() helper (#8746)Lennart Poettering1-2/+1
2018-04-06tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek1-13/+0
2018-03-21user-util: add new wrappers for reading/writing {passwd,shadow,gshadow} datab...Franck Bui1-0/+120
2018-02-12user-util: also consider /bin/false and /bin/true as non-shellLennart Poettering1-5/+20
2018-02-02sysusers: allow the shell to be specifiedZbigniew Jędrzejewski-Szmek1-0/+2
2018-02-02sysusers: emit a bit more info at debug level when locking failsZbigniew Jędrzejewski-Szmek1-4/+4
2018-01-10nss-systemd,user-util: add a way how synthesizing "nobody" can be turned offLennart Poettering1-6/+33
2018-01-04user-util: minor updates of in_gid()Lennart Poettering1-2/+3
2017-12-06user-util: synthesize user records for "nobody" the same way as for "root"Lennart Poettering1-7/+52
2017-11-19Merge pull request #7198 from poettering/stdin-stdoutLennart Poettering1-1/+1
2017-11-19Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek1-0/+1
2017-11-17fs-util: rename path_is_safe() → path_is_normalized()Lennart Poettering1-1/+1
2017-10-04tree-wide: use IN_SET macro (#6977)Yu Watanabe1-2/+1
2016-12-27util-lib: add a comment explaining the user name rules we enforceLennart Poettering1-1/+11
2016-11-07Rename formats-util.h to format-util.hZbigniew Jędrzejewski-Szmek1-1/+1
2016-10-06user-util: rework maybe_setgroups() a bitLennart Poettering1-21/+28
2016-10-06core: do not fail in a container if we can't use setgroupsGiuseppe Scrivano1-1/+26
2016-09-25execute: move suppression of HOME=/ and SHELL=/bin/nologin into user-util.cLennart Poettering1-1/+31
2016-07-22sysusers: move various user credential validity checks to src/basic/Lennart Poettering1-0/+93
2016-07-11treewide: fix typos and remove accidental repetition of wordsTorstein Husebø1-1/+1
2016-04-18basic: user-utils.c needs missing.h for secure_getenv (#3059)michaelolbrich1-0/+1
2016-02-10tree-wide: remove Emacs lines from all filesDaniel Mack1-2/+0
2016-01-18basic: add missing word in commentZbigniew Jędrzejewski-Szmek1-1/+1
2015-12-01basic: re-sort includesThomas Hindoe Paaboel Andersen1-1/+1
2015-11-30basic: include only what we useThomas Hindoe Paaboel Andersen1-1/+11
2015-11-16tree-wide: sort includesThomas Hindoe Paaboel Andersen1-1/+1
2015-10-27util-lib: split out allocation calls into alloc-util.[ch]Lennart Poettering1-0/+1
2015-10-27util-lib: move take_password_lock() to user-util.[ch]Lennart Poettering1-0/+41
2015-10-27util-lib: split string parsing related calls from util.[ch] into parse-util.[ch]Lennart Poettering1-3/+4
2015-10-26user-util: never hand out or accept invalid UIDsLennart Poettering1-3/+18
2015-10-26util: remove lookup_uid(), replace by uid_to_name()Lennart Poettering1-43/+59
2015-10-26user-util: simplify uid parsing a bitLennart Poettering1-13/+8
2015-10-26util-lib: split out user/group/uid/gid calls into user-util.[ch]Lennart Poettering1-0/+403