| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Partial autotools conversion to help out Joe
More autotools migration
More autotools migration
Add platform detection for Linux vs Solaris
Move CFG_PATH out of duser.h and put into configure via --with-config-path
Forgot to define ifdef for HAVE_CONFIG_H sigh
Add configure checks for strchrnul() and strcasestr() and config.h entries
Add __NLINUX__ and __NSOLARIS__ platform checks to configure and config.h entries
Forgot compat.c for Solaris platforms sigh
Fix spelling mistake: comat.c -> compat.c
Fixed typo
Make strcasestr() and strchrnul() into separate compat files
Force everyone to use compat functions not just Solaris
Remove libsysfs from buildconf
Add libtool support (needed for libdusercompat.a)
|
|
|
|
| |
that used it. Added version().
|
| |
|
|
|
|
|
| |
duser.c depends on cfg.h
Removed cfg prototypes from duser.h
|
| |
|
|
|
|
| |
data into the filename. While loop in user_cmd() was removed because it was never used as intended.
|
|
|
|
| |
Program name is now global
|
|
|
|
| |
user_new_list() function added
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added configuration file parsing, and removed constants (list_path, LOGFILE).
CFG_PATH is defined in duser.h and will need to be changed before compiling.
Removed basename in favor of libgen.h
Log no longer reports DELETE ALL/SINGLE. Just DELETE.
Fixed a ridiculous file truncation mistake in user_del().
Removed dependency on libtre... it sucks.
Decided to go with libc searching -- seems to work better. (strfind())
We now validate strings passed as arguments to make sure they cannot cause arbitrary code execution, or accidental damage. (strval())
Added match column to list output.
user_add was truncating files... fixed.
CMD_FLAG_ADD will verify adding addresses to a mailing list.
CMD_FLAG_MOD will display a temporary error (not done)
If a corrupt record ever occurs it returns -1.
|
|
|
|
| |
Trying to add the user_add stuff a little
|
|
|
|
| |
Adding code to add a user to a list
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
still does not modify original files
|
|
|
|
| |
find_in_file_ex needs tweaking for return value
|
| |
|
|
|