0336454503
This program has 10 calls to gets(3) according to grep(1). That makes it a very unsafe program which should not be used at all. Let's kill the program already. See what gets(3) has to say: SYNOPSIS #include <stdio.h> [[deprecated]] char *gets(char *s); DESCRIPTION Never use this function. ... BUGS Never use gets(). Because it is impossible to tell with‐ out knowing the data in advance how many characters gets() will read, and because gets() will continue to store characters past the end of the buffer, it is ex‐ tremely dangerous to use. It has been used to break com‐ puter security. Use fgets() instead. For more information, see CWE‐242 (aka "Use of Inherently Dangerous Function") at http://cwe.mitre.org/data/defini‐ tions/242.html Acked-by: "Serge E. Hallyn" <serge@hallyn.com> Signed-off-by: Alejandro Colomar <alx@kernel.org> |
||
---|---|---|
.builds | ||
.github | ||
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.