summaryrefslogtreecommitdiff
path: root/utils/sush.sh
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-01-10 20:30:53 +0000
committerMiles Bader <miles@gnu.org>1996-01-10 20:30:53 +0000
commit1dfd8dabc3d8f26cd8e5217d4f58cd12479eac64 (patch)
treed58053a75c88ee16d142d00be1b0b27ba1e659d2 /utils/sush.sh
parentd1f65e5d2b27d0025a00a39d1bf2abd7fced0cac (diff)
(main):
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.
Diffstat (limited to 'utils/sush.sh')
0 files changed, 0 insertions, 0 deletions