runauth Change History

1.15 (2009-05-17)

Remove the URL for KTH Kerberos, which is now dead.

Lines changed: +5 -6

1.14 (2005-01-06)

Update copyright dates.

Lines changed: +3 -3

1.13 (2005-01-06)

It wasn't echo that was destroying $?, it was test (implicit in []). This is a better fix.

Lines changed: +6 -6

1.12 (2005-01-06)

Preserve exit status better on systems where echo isn't a shell built-in.

Lines changed: +5 -3

1.11 (2003-04-05)

Move the paths to supporting programs to the top of the script, add a REQUIREMENTS section to the documentation, and expand the SEE ALSO section.

Lines changed: +44 -17

1.10 (2003-01-10)

Give kstart either -K or -l, not both.

Lines changed: +3 -2

1.9 (2002-12-18)

Use kstart to obtain tokens if we're using kstart and aren't obtaining tokens in another realm. Flesh out the BUGS section a bit more.

Lines changed: +26 -12

1.8 (2002-12-18)

Run kstart in the background if the lifetime is longer than 25 hours and kill it when the job finishes. Clean up some of the handling of various options and the construction of the kstart and ksrvtgt command lines with the newfound power of eval.

Lines changed: +46 -19

1.7 (2002-09-13)

Fix a typo in the last change that broke the lifetime code.

Lines changed: +3 -3

1.6 (2002-09-13)

Correctly handle null instances, which required a good bit of internal restructuring because Bourne shell's quoting rules were invented by a sadist. No longer send all of the output of our Kerberos init programs to /dev/null since kstart takes a -q flag and ksrvtgt doesn't print any output on success (good program, have a cookie).

Lines changed: +17 -7

1.5 (2002-02-07)

AFS realm needs to be lowercased when passed to aklog or it doesn't work (change in behavior introduced with KTH's afslog)

Lines changed: +3 -1

1.4 (2001-09-17)

Use /usr/pubsw/bin/setuidgid to run programs rather than su so that they can be run as users that don't have valid shells. Use /usr/pubsw/bin/kstart rather than assuming that it's installed on local disk. Add full documentation in POD format.

Lines changed: +156 -15

1.3 (2000-10-28)

Add a -r option to specify the realm, and change the invocations of ksrvtgt, kstart, and aklog to use the realm information if given. Change the expected location of kstart to /usr/local/bin to fit current practice.

Lines changed: +26 -11

1.2 (2000-04-13)

Make it clearer in the documentation that -a and -t options have to be separate (-at doesn't work).

Lines changed: +3 -3

1.1 (2000-04-13)

Clean up script headers, update documentation.

Lines changed: +17 -14

1.0 (2000-04-13)

Use [ x"$string" = xtrue ] instead of setting $string to true and running it as a command; fewer forks. Simplify the logic of obtaining a ticket somewhat, don't discard stderr from kstart and check its return status, and don't use a variable for kstart's location (it'll just be /usr/pubsw/bin/kstart before too much longer). Bump revision; this is in production use.

Lines changed: +21 -27

0.11 (2000-03-02)

re-initialize "token" variable

Lines changed: +2 -1

0.10 (2000-02-29)

redirect STDOUT and STDERR to /dev/null when kstart is called, so as not to produce chatty output. (kstart's "session is encrypted with kerberos4" message appears to be printed to STDERR. :/)

Lines changed: +5 -3

0.9 (2000-02-25)

add -a option which will invoke kstart instead of ksrvtgt for authentication; with this option, default ticket lifetime is 60 minutes and can be overridden to be something else if the -l flag is used.

Lines changed: +38 -10

0.8 (2000-01-11)

Don't do a cd / when running as root, since it's not necessary and may mess up the expected directory of the command (it did for rtripwire).

Lines changed: +4 -3

0.7 (1999-07-02)

kdestroy now prints its message to stderr, so junk stderr too.

Lines changed: +2 -2

0.6 (1999-01-17)

Minor comment fixes, added a copyright notice.

Lines changed: +5 -2

0.5 (1999-01-15)

Make the principal to obtain and the user to run as optional arguments, defaulting to rcmd.`hostname` and root respectively. Also always run commands from / to avoid errors from the shell in trying to start up in unreadable directories.

Lines changed: +32 -14

0.4 (1998-12-14)

Minor programming style cleanups.

Lines changed: +16 -22

0.3 (1998-02-14)

We want to exit with the same exit status as *su*, not kdestroy.

Lines changed: +2 -2

0.2 (1998-02-13)

Fixed bugs (sed commands were wrong, ksrvtgt is in bin, not sbin).

Lines changed: +5 -5

0.1 (1998-02-13)

*** empty log message ***

Generated by cvs2xhtml 1.15 on 2022-02-06