a8166a86ed
run_part() and run_parts() do not modify their directory, name and action arguments. Also include the header in the implementation to provide the prototypes. useradd.c:2495:59: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2495 | if (run_parts ("/etc/shadow-maint/useradd-pre.d", (char*)user_name, | ^ useradd.c:2495:24: warning: passing argument 1 of ‘run_parts’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2495 | if (run_parts ("/etc/shadow-maint/useradd-pre.d", (char*)user_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from useradd.c:45: ../lib/run_part.h:2:22: note: expected ‘char *’ but argument is of type ‘const char *’ 2 | int run_parts (char *directory, char *name, char *action); | ~~~~~~^~~~~~~~~ useradd.c:2496:25: warning: passing argument 3 of ‘run_parts’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2496 | "useradd")) { | ^~~~~~~~~ |
||
---|---|---|
.builds | ||
contrib | ||
doc | ||
docs | ||
etc | ||
lib | ||
libmisc | ||
libsubid | ||
man | ||
po | ||
src | ||
tests | ||
.gitignore | ||
.travis.yml | ||
acinclude.m4 | ||
AUTHORS.md | ||
autogen.sh | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
NEWS | ||
README | ||
README.md | ||
SECURITY.md | ||
shadow.spec.in | ||
TODO |
shadow-utils
Introduction
The shadow-utils package includes the necessary programs for converting UNIX password files to the shadow password format, plus programs for managing user and group accounts. The pwconv command converts passwords to the shadow password format. The pwunconv command unconverts shadow passwords and generates a passwd file (a standard UNIX password file). The pwck command checks the integrity of password and shadow files. The lastlog command prints out the last login times for all users. The useradd, userdel, and usermod commands are used for managing user accounts. The groupadd, groupdel, and groupmod commands are used for managing group accounts.
Sites
Contacts
There are several ways to contact us:
- the general discussion mailing list
- the #shadow IRC channel on libera.chat:
- irc://irc.libera.chat/shadow
Mailing archives
- the general discussion mailing list archive
- the commit mailing list archive, only used for historical purposes
Authors and maintainers
Authors and maintainers are listed in AUTHORS.md.