summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
1996-01-30Add w.c & w to the appropiate places.Miles Bader
1996-01-30(main):Miles Bader
Put LOGNAME in the environ even if it was already. Try to set the default path using confstr(). Call setlogin(). Turn on RETRY when the -h option is specified. (options, main): Change the -R/--retry option so that the optional argument is an argument to add to those passed to login when retrying, and remove all the hardwired arguments (except propagating -h/--via). (main, default_args): Replace the BACKUP_SHELL param with BACKUP_SHELLS, which is a list of things to try. The default includes both bash and the /bin/sh. (default_args, options, main): Get rid of the -n/--nobody option and variables, making it an additional login parameter. (add_utmp_entry): Get rid of declaration for login(). (copied_args): Add "USER". (default_args, default_env): Make the default path just /bin.
1996-01-23Initial revisionMiles Bader
1996-01-23(main): Move a bunch of stuff into psout() in psout.c.Miles Bader
(spec_abbrevs, ps_specs): New variables. (fmts): Get rid of redundant header specifications. (fmt_sortrevs): Variable removed. (main, options): Rename -o flag to -U for posix compat (ick).
1996-01-23(options, main): Make -g/--goaway only apply to active translators.Miles Bader
(options): Rearrange a bit.
1996-01-23Pass the appropiate -R options to login, and -p.Miles Bader
Only print a preceeding newline if this is a retry.
1996-01-10Instead of giving --su to login, use all the component options it stood for.Miles Bader
Use --program-name for nice errors.
1996-01-10(main):Miles Bader
Use add_canonical_host() to implement the -h option. Only let root specify the login host. child_lookup() now takes an additional PATH arg, and calls hurd_file_name_path_lookup() instead. Pass a path when looking up the shell executable. Do all file-name lookups using the target authentication, so that login isn't a security hole. Rework how password-checking is done somewhat (only ask when necessary). Use exec_reauth() instead of our own. If setting the real [ug]id, also add it as the `saved id'. Use BACKUP_SHELL instead of FAILURE_SHELL define. Get rid of various string vars only used once. (add_canonical_host): New function. (add_utmp_entry): Use VIA_ADDR instead of VIA in the utmp entry if it fits better. (add_entry): Function moved out of main. (cat): Take an io_t port instead of a file descriptor. (options, main): Add -k/--keep & -S/--shell-arg options. Remove -m/--umask option; use UMASK param instead. (FAILURE_SHELL): Macro deleted. (default_args): Add BACKUP_SHELL param.
1996-01-02Initial revisionMiles Bader
1995-12-30Initial revisionMiles Bader
1995-12-30(main, options): Add --retry/-R and --paranoid/-P options.Miles Bader
(main): Don't ask for password by name if only one user.
1995-12-29(main):Miles Bader
If -f/--no-passwd is specified, get rid of the effect of the login executable being setuid/gid. Only set the shell proc's owner to an effective uid.
1995-12-21(libutil-libsubst): New hack.Miles Bader
(login): Depend on -lutil.
1995-12-21Everything changed.Miles Bader
1995-12-21(main, options): If the specified sort field begins with `-', reverse the sort.Miles Bader
(main): If there is no current uid, don't try to filter with it. (FILTER_NOT_LEADER): Renamed from FILTER_NSESSLDR. (main): Rename ps_not_leader_filter from ps_not_sess_leader_filter. (main): Use idvec routines instead of ids. Use argz functions to store tty_names instead of our own. (make_ids, ids_add, ids_contains): Routines deleted. Include <idvec.h>.
1995-12-17(options): Reformat doc string for --tty option.Miles Bader
1995-12-17(main): Implement 'w' option.Miles Bader
(options): Add argument and doc for 'w' option.
1995-12-13Initial revisionMiles Bader
1995-12-13(SRCS): Add login.cMiles Bader
(targets): Add login. (login): Depends on ../libshouldbelibc/libshouldbelibc.
1995-12-06(main):Miles Bader
Change uses of the INDEX field in argp_state structures to use NEXT instead.
1995-12-06(main):Miles Bader
Change uses of the INDEX field in argp_state structures to use NEXT instead. Fix default prefix-printing test.
1995-12-06(main):Miles Bader
Supply the new SEP argument to argz_stringify. Change uses of the INDEX field in argp_state structures to use NEXT instead. Fix default prefix-printing test.
1995-12-06(main):Miles Bader
Supply the new SEP argument to argz_stringify. Change uses of the INDEX field in argp_state structures to use NEXT instead.
1995-12-04(main): Correctly whether to print prefix by default.Miles Bader
(options): Fix help strings.
1995-11-21(main): Use new libps stream type.Miles Bader
1995-11-14(main): Grow TTY_NAMES properly even when it's empty.Miles Bader
1995-11-08(ids_add): Increase the size of IDS even when 0.Miles Bader
1995-11-06(print_info):Miles Bader
Use the new FLAGS argument to file_get_storage_info. Add new storage types.
1995-11-06(main):Miles Bader
Change to use the new wierd callback interface to fshelp_start_translator.
1995-11-06(main): Use file_get_fs_options, not fsys_get_options.Miles Bader
(doc): `filesystem' --> `FILESYS'.
1995-11-02(options): Add --not-owner/-O option.Miles Bader
(id_t, struct ids): New type. (make_ids, ids_add, ids_contains): New functions. (main): Use a struct ids instead of multiple variables to hold the wanted uids list, which renamed to ONLY_UIDS. Add the NOT_UIDS list to contain the opposite sense, and use it. (main): Use proc_stat_proc_info instead of proc_stat_info and PSTAT_PROC_INFO instead of PSTAT_INFO.
1995-11-02(fmts): Add RPC field to the -l format.Miles Bader
1995-10-31(options):Miles Bader
Change --force/-f to --goaway/-g. Add flags for killing translators: --recurse/-r, --force/-f, --nosync/-S. (doc): New variable. (main): Support new flags. Have some of the options update flag words instead of setting variables.
1995-10-30(options): --all is -e, not -a.Miles Bader
1995-10-21(parse_enum): Use argp_error.Miles Bader
1995-10-21(targets): Add storeinfo.Miles Bader
(SRCS): Add storeinfo.c. (storeinfo): New target.
1995-10-21Initial revisionMiles Bader
1995-10-21(options): FILE --> FILESYS in help msg.Miles Bader
(args_doc): OPTION --> FS_OPTION, since the usage message already uses OPTION to mean those to fsysopts. (doc): New variable; give some common choices for FS_OPTION.
1995-10-21(args_doc): New variable.Miles Bader
(main): Set ARGZ inside of parse_opt.
1995-10-18(options): Converted to argp format.Miles Bader
(main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. (arg_doc, doc): New variables. Include <argp.h> not <getopt.h>.
1995-10-18(options): Converted to argp format.Miles Bader
(main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. Include <argp.h> not <getopt.h>.
1995-10-18(options): Converted to argp format.Miles Bader
(main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. (arg_doc): New variable. Include <argp.h> not <getopt.h>.
1995-10-18(parse_enum): Use ARGP_HELP_STD_ERR.Miles Bader
1995-10-11(main): Use realloc on a variable in main instead of alloca, since theMiles Bader
storage gets used after parse_opt returns. (options): Converted to argp format. (main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. (arg_doc, doc): New variables. Include <argp.h> not <getopt.h>.
1995-10-05(usage, options, main): Change -h/--no-header options to -p/--prefix andMiles Bader
-P/--no-prefix. (main): Unless overridden by -p/-P, only print a FILE: prefix when there are multiple files on the command line.
1995-09-05Get rid of rules related to ../lib.Miles Bader
(settrans): Depend on libfshelp.a instead of starttrans.o.
1995-09-05(main): Use fshelp_start_translator instead of start_translator from ../lib.Miles Bader
1995-08-24(all): New target.Miles Bader
(ps, settrans, showtrans, fsysopts): Put all dependencies in these targets. (settrans-HURDLIBS, showtrans-HURDLIBS, ps-HURDLIBS): Removed. (settrans, showtrans, fsysopts, ps): Get rid of things that are now in libshouldbeinlibc. Get rid of rules dealing with error.o.
1995-07-23(DIST_FILES): sh.ChangeLog -> shd.ChangeLog.Michael I. Bushnell
1995-07-07(SHORT_OPTIONS): Remove '?' as getopt usurps it.Miles Bader
(options, main): Use '&' instead of '?' to mean help.