summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
1996-03-29(psout): Use real types instead of old ps typedefs.Miles Bader
1996-03-29(options): Add --exclusive option, change descriptions.Miles Bader
(main): Rearrange meanings of arguments somewhat.
1996-03-29(spec_abbrevs): Make const.Miles Bader
(ps_specs): Make non-const. (...various...): Use real types instead of old ps typedefs.
1996-03-29(uptime): Correctly calculate uptime.Miles Bader
(...various...): Use real types instead of old ps typedefs.
1996-03-29(main): Use new names for functions, and pass stdout.Miles Bader
(port_info, ports_info, xlated_port_info, xlated_ports_info, name_xlator_create, name_xlator_free, name_xlator_xlate): Functions removed (renamed and put in libshouldbeinlibc). (parse_task): Use strtoul instead of atoi so pid 0 works.
1996-03-23(uptime): Add a temporary hack to pretend to show uptime.Miles Bader
1996-03-23(main): Pass new arg to argp_parse.Miles Bader
1996-03-19(main): Pass new arg to argp_parse. Also use argp_usage correctly.Miles Bader
1996-03-19(main): Pass new arg to argp_parse.Miles Bader
1996-03-05Include <error.h> instead of "error.h".Miles Bader
"common.h": Don't include this anymore.
1996-03-05(options, main): Add --translate/-t option.Miles Bader
(struct name_xlator): New structure. (name_xlator_create, name_xlator_free, name_xlator_xlate): New functions. (xlated_port_info, xlated_ports_info): New functions. (main): Use xlated_port_info / xlated_ports_info.
1996-03-01(targets, SRCS):Miles Bader
Add portinfo & portinfo.c. Remove clri & clri.c.
1996-03-01Initial revisionMiles Bader
1996-02-26(main): Don't print a newline after `Pausing...' msg.Miles Bader
1996-02-26Initial revisionMiles Bader
1996-02-21(uptime): Use %.2f format for load average numbers.Roland McGrath
1996-02-19(main): Use ARGP_IN_ORDER.Miles Bader
1996-02-19(STRINGIFY): Make work. Is this in a header somewhere?Miles Bader
(_STRINGIFY): New macro. Ick.
1996-02-18(targets, special-targets): Add uptime.Miles Bader
(SRCS): Add uptime.sh.
1996-02-18Initial revisionMiles Bader
1996-02-18Initial revisionMiles Bader
1996-02-15(child_lookup): Pass last arg to hurd_file_name_path_lookup.Miles Bader
1996-02-15Change -aBACKUP_SHELL to -aBACKUP_SHELLS.Miles Bader
1996-02-15(main): Don't make -a imply -g.Miles Bader
1996-02-15(main): Get rid of totally dead processes/threads.Miles Bader
(add_pid): Complain about non-existant processes. (parse_opt): Don't turn quoted args into options. (parse_numlist): Correctly handle NULL hook functions. (main): Update calls to changed proc_stat_list_add_* functions. (psout): New declaration.
1996-02-15(main): Deal with the shell args reasonably.Miles Bader
1996-02-13Exec login.Miles Bader
1996-02-13(options, main): Add --timeout/-t option.Miles Bader
(main): Pass ARGP_IN_ORDER to argp_parse (it's no longer the default), and deal with the fallout.
1996-02-05(main, args_doc, doc): Add repeat mode.Miles Bader
(FVAL): New macro.
1996-02-05(main):Miles Bader
Slightly decrease the space for numbers in the verbose output format. Twiddle the widths of the terse fields to make sure there's room for typical numbers. (fields, options): Make const.
1996-02-03Don't save the parent ids.Miles Bader
1996-02-03(main):Miles Bader
Don't ask for a password unecessarily. When the user is specified as the first argument, always add it as both effective, real, and saved ids, even if there are others already. Only chown the tty if NO_LOGIN isn't set. Avoid duplicating the old real id when keeping the old ids.
1996-02-03(targets): Add vmstat.Miles Bader
(SRCS): Add vmstat.c
1996-02-03Initial revisionMiles Bader
1996-02-02(main): Get the ttyname to chown.Miles Bader
1996-02-02(options, main): Add --pause option.Miles Bader
1996-02-01(main): Chown the terminal.Roland McGrath
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.