aboutsummaryrefslogtreecommitdiffstats
path: root/login-utils
AgeCommit message (Expand)AuthorFilesLines
2016-12-07sulogin: bail out from getpasswd(...) on timeoutHEADmasterAndreas Henriksson1-0/+4
2016-12-07sulogin: make getpasswd(...) return NULL on ^DAndreas Henriksson1-0/+1
2016-12-07login-utils: switch to utmpx.hRuediger Meier5-51/+53
2016-12-07login: re-add lastlog.h headerRuediger Meier1-0/+3
2016-12-07login-utils: avoid using the defined utmp sizes.Ruediger Meier1-9/+9
2016-12-07utmpdump: code formatting for readabilityRuediger Meier1-3/+5
2016-12-07lslogins: remove useless strlen()Ruediger Meier1-6/+2
2016-12-07login-utils: remove _HAVE_UT_TV fallbackRuediger Meier4-52/+15
2016-12-07last: include libgen.h for basename(3p)Ruediger Meier1-1/+6
2016-11-30misc: spelling, always use "cannot" instead of "can not"Ruediger Meier3-4/+4
2016-11-29Correctly format page cross referencesMichael Kerrisk (man-pages)2-2/+2
2016-11-29Place SEE ALSO entries in orderMichael Kerrisk (man-pages)5-12/+12
2016-10-26misc: fix unsigned int usage for ctype.h functionsKarel Zak1-1/+1
2016-10-03Revert "su,runuser: add libseccomp based workaround for TIOCSTI ioctl"Karel Zak2-24/+3
2016-09-29su,runuser: add libseccomp based workaround for TIOCSTI ioctlKarel Zak2-3/+24
2016-08-18su, runuser, setpriv: create links between man pagesKarel Zak2-1/+17
2016-08-16include/env: minor fixes and clean upsKarel Zak1-3/+4
2016-08-12misc: always check setenv(3) return valueSami Kerola3-19/+23
2016-07-21misc: fix declarations shadowing variables in the global scope [oclint]Sami Kerola2-6/+6
2016-07-21lslogins: simplify if clause and move definition and comments [oclint]Sami Kerola1-11/+9
2016-07-21misc: simplify if clauses [oclint]Sami Kerola3-11/+7
2016-07-14Merge branch 'write-improvements' of git://github.com/kerolasa/lelux-utiliteetitKarel Zak2-3/+3
2016-07-14sulogin: remove __nonnull__ function attributeSami Kerola1-1/+1
2016-07-03lib: try to find tty in get_terminal_name()Sami Kerola2-3/+3
2016-06-27docs: add file format note to utmpdump manual pageSami Kerola1-0/+12
2016-06-26utmpdump: use iso-8601 timestamp format with subsecond accuracySami Kerola2-26/+38
2016-06-26utmpdump: use always UTC-0 timezone in textual outputSami Kerola1-3/+3
2016-06-14chfn: chsh: use selinux_check_passwd_access()Karel Zak4-31/+16
2016-05-31misc: Fix various typosSebastian Rasmussen6-9/+9
2016-05-31docs: Fix various typosSebastian Rasmussen1-1/+1
2016-05-26build-sys: add --disable-plymouth-supportKarel Zak1-4/+5
2016-05-24last: fix logout timeKarel Zak1-4/+5
2016-05-24lslogins: use strtime_short()Karel Zak1-31/+19
2016-05-24lslogins: use strtm_iso()Karel Zak1-1/+5
2016-05-24last: cleanup time formatting codeKarel Zak1-48/+66
2016-05-20sulogin: agetty: use the plymouth local protocol instead the plymouth binaryWerner Fink1-40/+4
2016-04-19setpwnam: fix memory leakSami Kerola1-0/+1
2016-04-16sulogin: make fopen O_CLOEXEC specifier usage portableSami Kerola1-2/+2
2016-03-29vipw: make tmp_file usage more robust [clang analyze]Karel Zak1-2/+5
2016-03-22sulogin: Always make echo work after performing getpasswd even if root accoun...Werner Fink1-2/+1
2016-03-21sulogin: ignore missing WEXITED, add warningRuediger Meier1-0/+5
2016-03-15vipw: print only one new line when asking about shadow fileSami Kerola1-2/+2
2016-03-14vipw: use puts() when formatting unnecessaryKarel Zak1-1/+2
2016-03-14Merge branch 'travis-osx' of https://github.com/rudimeier/util-linuxKarel Zak1-1/+1
2016-03-14sulogin: fix sigset_t initializationKarel Zak1-1/+1
2016-03-13misc: fix icc/clang compiler warningsRuediger Meier1-1/+1
2016-03-08include: move sys/sysmacros.h to c.hKarel Zak1-3/+0
2016-03-08Revert "include sysmacros.h where used"Karel Zak1-1/+0
2016-03-08include sysmacros.h where usedMike Frysinger1-0/+1
2016-03-07libmount: don't include libio.hRuediger Meier1-1/+1
2016-03-07misc: never cast void* from malloc(3) and friendsRuediger Meier1-1/+1
2016-03-07misc: safer (and uniform) handling of return valueYuriy M. Kaminskiy2-2/+2
2016-02-29login-utils: minor utmp cleanupRuediger Meier2-2/+1
2016-02-29newgrp: rename memset_s()Ruediger Meier1-2/+2
2016-02-23build-sys: always add AM_CFLAGSRuediger Meier1-1/+1
2016-02-23build-sys: always use global LDADDRuediger Meier1-1/+1
2016-02-22vipw: Remove pre-ANSI compiler supportRomain Naour1-1/+1
2016-02-18include: check for sys/sysmacros.hRuediger Meier1-0/+2
2016-02-15su: clean up groups initializationKarel Zak3-34/+42
2016-02-12sulogin: keep initialization more robustKarel Zak1-1/+1
2016-02-12sulogin: avoid shared memory area usemask but use waitid() for childsWerner Fink2-37/+120
2016-02-03docs: fix typos found by codespellRuediger Meier2-2/+2
2016-01-07scriptreplay/newgrp: use signed int to store return of getopt_longFilipe Brandenburger1-1/+1
2015-12-21lslogins: fix getgrouplist() usage for 64BEKarel Zak1-4/+8
2015-12-15login, mount: fix __SC_GETPW_R_SIZE_MAX usageKarel Zak1-10/+2
2015-11-09chfn: improve formatting and wording of the manpageBenno Schulenberg1-11/+10
2015-11-09login: fix stat(2) raceSami Kerola1-4/+2
2015-10-18nologin: require /etc/nologin.txt to be fileSami Kerola1-1/+4
2015-10-18last: display input file in usage() according to command nameSami Kerola1-9/+8
2015-10-16sulogin: Use fallback method on the Hurd for detecting consolesJames Clarke1-0/+8
2015-08-31login: replace siginterrupt with sigactionChen Qi1-1/+4
2015-08-24chfn: document CHFN_RESTRICT /etc/login.defsKarel Zak1-0/+26
2015-08-24chsh, chfn, vipw: fix filenames collisionKarel Zak5-8/+10
2015-07-29lslogins: remove duplicate [make checkincludes]Karel Zak1-1/+0
2015-07-16lslogins: merge read_utmp() codeKarel Zak1-2/+32
2015-07-15lslogins: fix --user-accs and --system-accs docsKarel Zak1-8/+8
2015-06-30Merge branch 'sulogin'Karel Zak2-16/+40
2015-06-29last-deprecated: remove from source treeSami Kerola3-552/+0
2015-06-25sulogin: improve support for locked root accountKarel Zak2-16/+40
2015-06-08sulogin: Use read instead of allocated size from getline()Guillem Jover1-2/+4
2015-05-25sulogin: don't use strcpy(), enlarge pwd line bufferKarel Zak1-7/+7
2015-03-25last, fix race when comparing time stampsRuediger Meier1-4/+4
2015-03-25last: fix first (current) runlevel lineRuediger Meier1-1/+1
2015-03-13last: keep array of files in main()Karel Zak1-32/+22
2015-03-13last: fix utmplist usageKarel Zak1-16/+21
2015-03-06build-sys: cleanup realtime lib usageKarel Zak1-1/+1
2015-02-27docs: fix some spelling errors and typos in man pagesBill Pemberton3-3/+3
2015-02-24rpmatch: use symbolic value when evaluation return codesSami Kerola1-1/+1
2015-02-10sulogin, hwclock: use xusleep() instead of usleep()Sami Kerola1-1/+1
2015-02-02textual: grammarize and harmonize the stat error messageBenno Schulenberg2-2/+2
2015-01-29utmpdump: don't pass parameter of type "struct utmp" by value [coverity scan]Karel Zak1-15/+15
2015-01-29sulogin: make sure that fallback FD is valid [coverity scan]Karel Zak1-1/+1
2015-01-29su: fix mem leak in modify_environ() [coverity scan]Karel Zak1-2/+4
2015-01-29login: fix mem leak in init_environ() [coverity scan]Karel Zak1-3/+5
2015-01-20docs: restore minus symbols in long optsJ William Piggott5-12/+12
2015-01-13docs: fix-up man-pages flaged by checkmans.shJ William Piggott1-1/+0
2015-01-12docs: remove obsolete and unneeded comments from man-page filesBenno Schulenberg2-3/+2
2015-01-07maint: fix shadow declarationSami Kerola1-16/+16
2015-01-06textual: add a docstring to most of the utilitiesBenno Schulenberg10-1/+33
2015-01-06chsh: keep struct options in .rodataKarel Zak1-1/+1
2015-01-06chsh: simplify get_shell_list()Karel Zak1-8/+5
2015-01-05newgrp: set function arguments read-only when possibleSami Kerola1-3/+3
2015-01-05newgrp: move shell determination closer where it is usedSami Kerola1-5/+3
2015-01-05newgrp: simplify if else clausesSami Kerola1-7/+4
2015-01-05chsh: fail get_shell_list() check when /etc/shells cannot be openedSami Kerola1-5/+3
2015-01-05chsh: simplify check_shell()Sami Kerola1-33/+16
2015-01-05chsh: rewrite function interacting with user to get path to new shellSami Kerola1-24/+19
2015-01-05chsh: clean up parse_argv()Sami Kerola1-8/+3
2015-01-05chsh: allow user to set shell to /bin/sh if none is setSami Kerola1-2/+5
2015-01-05chsh: set few variables read-only and rename one of themSami Kerola1-19/+13
2015-01-05chsh: use getline() to support arbitrarily long linesSami Kerola1-7/+8
2015-01-05chfn, chsh: share illegal_passwd_chars() functionSami Kerola5-25/+53
2015-01-05chsh: remove function prototypesSami Kerola1-147/+143
2014-12-19chfn: fix compilation without libuserKarel Zak1-1/+1
2014-12-19chfn: make command to obey login.defs CHFN_RESTRICT instructionsSami Kerola2-8/+81
2014-12-19chfn: remove set_changed_data() and add add_missing()Sami Kerola1-40/+39
2014-12-19chfn: rename prompt() to ask_new_field()Sami Kerola1-6/+7
2014-12-19chfn: move new and old finger structs to chfn control structSami Kerola1-89/+76
2014-12-19chfn: clean up parse_argv()Sami Kerola1-30/+18
2014-12-19chfn: add minimalistic struct chfn_controlSami Kerola1-8/+13
2014-12-19chfn: simplify parse_passwd() by using strsep()Sami Kerola1-36/+15
2014-12-19chfn: fix usage() regressionSami Kerola1-2/+2
2014-12-19chfn: use xasprintf() rather than bunch of strlen() and malloc() callsSami Kerola1-6/+3
2014-12-19chfn: rewrite prompt() to use strutilsSami Kerola1-39/+20
2014-12-19chfn: remove function prototypesSami Kerola1-142/+134
2014-12-19lslogins: use hardcoded paths from pathnames.hSami Kerola1-2/+2
2014-12-19lslogins: add space to systemd journal header and messageSami Kerola1-10/+7
2014-12-19lslogins: reject unknown time format argumentsSami Kerola1-21/+19
2014-12-19lslogins: fix short optionsSami Kerola1-3/+2
2014-12-19lslogins: tell why command failedSami Kerola1-1/+1
2014-12-19lslogins: make journald last logs time stamps to honor --time-formatSami Kerola1-4/+3
2014-12-19lslogins: allow changing password changed and expiration time formatsSami Kerola1-2/+8
2014-12-19docs: don't use bold or italics for "[option]" in synopsis of man pagesBenno Schulenberg2-7/+8
2014-12-18login: Fix unused variables in login.c if _HAVE_UT_TV isn't definedWill Johansson1-0/+2
2014-12-15login-utils: Enable building util-linux against OpenPAMWill Johansson4-12/+43
2014-12-12lslogins: fix -l -g logicKarel Zak1-30/+40
2014-12-09lslogins: align usage() and manual with struct option longoptsSami Kerola2-6/+2
2014-12-09lslogins: fix assertion failure for none existing loginsSami Kerola1-1/+1
2014-12-09login-utils: use libc error printing facilitySami Kerola1-7/+4
2014-11-19login: ignore SIGXFSZ when write to lastlogKarel Zak1-2/+11
2014-11-19build-sys: move all around clock_gettime() to monotonic.cKarel Zak2-2/+2
2014-10-27build-sys: properly check for -lrtKarel Zak1-1/+1
2014-10-01textual: use usage() text element macrosSami Kerola1-2/+2
2014-10-01textual: use manual tail usage() macroSami Kerola1-1/+1
2014-10-01docs: update deprecation bannersSami Kerola2-18/+0
2014-10-01su: print proper core dump message when killedpcpa1-3/+2
2014-10-01textual: use a somewhat clearer and more standard failure messageBenno Schulenberg1-1/+1
2014-09-26lslogins: cleanup after error [coverity scan]Karel Zak1-3/+4
2014-09-19textual: share crypt() error message in sulogin and newgrpSami Kerola1-1/+1
2014-09-19newgrp: avoid use of obsolete getpass() functionSami Kerola1-1/+47
2014-09-19newgrp: use libc function to read gshadow if it is availableSami Kerola1-0/+11
2014-09-19last: improve code readability by renaming variable namesSami Kerola1-11/+14
2014-09-19last: make is_phantom() when kernel config does not include audit supportSami Kerola1-9/+19
2014-08-11textual: remove some inconsistent periods from error messagesBenno Schulenberg2-3/+3
2014-07-29docs: bring the runuser and su man pages closer to standard formattingBenno Schulenberg2-65/+61
2014-07-29docs: give the man page of utmpdump the proper User Commands headerBenno Schulenberg1-7/+12
2014-07-29docs: improve the formatting of the chfn and chsh man pagesBenno Schulenberg2-35/+27
2014-07-23textual: fix some typos and inconsistencies in various messagesBenno Schulenberg5-10/+10
2014-07-22Merge branch 'master' of https://github.com/yurchor/util-linuxKarel Zak1-1/+1
2014-07-22Merge branch 'ioclt' of https://github.com/lanurmi/util-linuxKarel Zak1-1/+1
2014-07-18lslogins: more robust usage of columns[]Karel Zak1-28/+45
2014-07-17sulogin: don't use uninitialized struct sigaction [coverity scan]Karel Zak1-0/+1
2014-07-17sulogin: check result of the open() [coverity scan]Karel Zak1-0/+2
2014-07-17last: fix is_phantom() logic [coverity scan]Karel Zak1-4/+3
2014-07-17docs: improve the formatting and wording of two man pagesBenno Schulenberg2-27/+28
2014-07-16lslogins: make --notruncate more robustKarel Zak1-6/+15
2014-07-16lslogins: add --noheadingsKarel Zak2-4/+17
2014-07-16lslogins: use bit-array, cleanup SELinux codeKarel Zak1-10/+15
2014-07-13textual: fix some typosSami Kerola1-1/+1
2014-07-11Fix typo "ioclt" in various files.Lauri Nurmi1-1/+1
2014-07-03Fix typos in user visible messagesYuri Chornoivan1-1/+1
2014-06-30lslogins: improve the columns informationBenno Schulenberg1-7/+7
2014-06-30lslogins: improve wording and formatting of the man pageBenno Schulenberg1-36/+37
2014-06-19build-sys: fixes for non-Linux systemsSamuel Thibault1-1/+6
2014-06-11utmpdump: fix localtime() error handlingRuediger Meier1-2/+3
2014-06-06libsmartcols: add debug messagesKarel Zak1-0/+2
2014-05-29lslogins: fix pretty-print columnsKarel Zak1-2/+2
2014-05-29lslogins: cleanup some command line optionsKarel Zak2-25/+30
2014-05-29lslogins: cleanup default outputsKarel Zak2-73/+47
2014-05-29lslogins: cleanup -a outputKarel Zak1-49/+76
2014-05-29lslogins: improve COL_PWD_WARN and COL_NPROCS descKarel Zak1-2/+2
2014-05-29lslogins: cleanup usage()Karel Zak2-27/+23
2014-05-29lslogins: fix nologins checkKarel Zak1-2/+2
2014-05-29lslogins: cleanup time formatsKarel Zak2-32/+25
2014-05-29lslogins: clean up password hash checkKarel Zak1-32/+57
2014-05-29lslogins: remove --sort-by-nameKarel Zak2-59/+21
2014-05-29lslogins: improve nologins and shadow usageKarel Zak1-56/+40
2014-05-27lslogins: print systemd journal logsKarel Zak2-7/+81
2014-05-27lslogins: count per-user processesOndrej Oprala1-0/+29
2014-05-16lslogins: add FAILED-LOGIN to pretty outputKarel Zak1-1/+2
2014-05-16lslogins: sync man page and usage()Karel Zak2-79/+81
2014-05-16lslogins: improve pretty outputKarel Zak1-28/+44
2014-05-16lslogins: NLS for all messagesKarel Zak1-27/+28
2014-05-16lslogins: conding style changesKarel Zak1-343/+340
2014-05-16lslogins: improve supplementary groups code, add SUPP-GIDSKarel Zak1-98/+55
2014-05-15lslogins: align to right 0|1 columnsKarel Zak1-4/+4
2014-05-15lslogins: cleanup status[] usageKarel Zak1-42/+25
2014-05-15lslogins: cleanup fill_table()Karel Zak1-62/+36
2014-05-15lslogins: mention --time-format in usageOndrej Oprala1-1/+2
2014-05-15lslogins: fix option exclusivityOndrej Oprala1-1/+1