summaryrefslogtreecommitdiffstats
path: root/login-utils/chsh.c
Commit message (Expand)AuthorAgeFilesLines
* misc: consolidate version printing and close_stdout()Karel Zak2019-04-161-3/+2Star
* chsh: remove local /etc/shells parsing in favour of getusershell(3)Sami Kerola2017-08-301-80/+18Star
* misc: consolidate macro style USAGE_HELP_OPTIONSRuediger Meier2017-06-291-1/+1
* misc: consolidate all --help option descriptionsRuediger Meier2017-06-271-2/+2
* misc: never use usage(stderr)Ruediger Meier2017-06-261-5/+7
* misc: remove superfluous null pointer checks for optargRuediger Meier2017-06-221-2/+0Star
* chsh: cleanup global_shells usageKarel Zak2017-06-051-26/+39
* chsh: split get_shell_list()Karel Zak2017-06-051-18/+25
* chsh: make readline completion to propose valid shellsSami Kerola2017-06-051-27/+90
* chfn, chsh: use readline(3) to receive user inputSami Kerola2017-05-031-3/+12
* misc: do not use plain 0 as NULL [smatch scan]Sami Kerola2017-02-201-6/+6
* chsh: use -h as shorthand for --help instead of -uAndreas Henriksson2017-01-191-3/+4
* Use --help suggestion on invalid optionKarel Zak2016-12-191-1/+1
* chfn: chsh: use selinux_check_passwd_access()Karel Zak2016-06-141-2/+3
* chsh, chfn, vipw: fix filenames collisionKarel Zak2015-08-241-1/+1
* textual: add a docstring to most of the utilitiesBenno Schulenberg2015-01-061-0/+4
* chsh: keep struct options in .rodataKarel Zak2015-01-061-1/+1
* chsh: simplify get_shell_list()Karel Zak2015-01-061-8/+5Star
* chsh: fail get_shell_list() check when /etc/shells cannot be openedSami Kerola2015-01-051-5/+3Star
* chsh: simplify check_shell()Sami Kerola2015-01-051-33/+16Star
* chsh: rewrite function interacting with user to get path to new shellSami Kerola2015-01-051-24/+19Star
* chsh: clean up parse_argv()Sami Kerola2015-01-051-8/+3Star
* chsh: allow user to set shell to /bin/sh if none is setSami Kerola2015-01-051-2/+5
* chsh: set few variables read-only and rename one of themSami Kerola2015-01-051-19/+13Star
* chsh: use getline() to support arbitrarily long linesSami Kerola2015-01-051-7/+8
* chfn, chsh: share illegal_passwd_chars() functionSami Kerola2015-01-051-13/+5Star
* chsh: remove function prototypesSami Kerola2015-01-051-147/+143Star
* textual: fix some typos and inconsistencies in various messagesBenno Schulenberg2014-07-231-2/+2
* chsh-chfn: fix bugs, improve compilationKarel Zak2013-02-131-4/+7
* chsh: Add libuser supportCody Maloney2013-02-131-1/+21
* chsh-chfn: Move pam auth to its own function, factoring out common codeCody Maloney2013-02-131-30/+3Star
* textual: spell and encode the name of Arkadiusz Miƛkiewicz correctlyBenno Schulenberg2013-02-061-1/+1
* chsh: use return rather than exit in main, clean up man pageKarel Zak2012-12-121-9/+8Star
* login-utils: verify writing to streams was successfulSami Kerola2012-04-041-0/+2
* chsh: use pathnames.h for pathsSami Kerola2012-03-181-11/+11
* login: (and chsh) make pw_shell usage more robustKarel Zak2012-02-021-1/+1
* chsh: fix coding styleSami Kerola2011-11-291-275/+290
* chfn, chsh: new file pamfail.h for error printingSami Kerola2011-11-291-21/+9Star
* chsh: build bug: do not override config.h definitionSami Kerola2011-11-231-3/+0Star
* chfn, chsh, setpwnam: get true/false from stdbool.hSami Kerola2011-11-231-7/+4Star
* chsh: use libc error printing facilitiesSami Kerola2011-11-231-48/+33Star
* chsh: align with howto-usage-function.txtSami Kerola2011-11-231-6/+10
* chsh: remove non-PAM codeKarel Zak2011-11-031-18/+2Star
* chsh: fix compiler warnings [-Wsign-compare]Karel Zak2011-08-011-1/+1
* textual: improve the wording of some error and usage messagesBenno Schulenberg2011-02-161-3/+3
* build-sys: provide alternatives for err, errx, warn and warnxFabian Groffen2011-02-141-1/+0Star
* build-sys: improve check for cryptFabian Groffen2011-01-171-1/+4
* fix __noreturn__ usageKarel Zak2010-12-101-1/+1
* chsh: use EXIT_* and err.hKarel Zak2010-12-101-95/+59Star
* chsh: don't suggest ypchshKarel Zak2010-07-291-2/+1Star