On Wed, May 07, 2008 at 11:00:13AM +0100, roger peppe wrote: > On Tue, May 6, 2008 at 9:38 PM, Nathaniel W Filardo <[EMAIL PROTECTED]> wrote: > > term% cpu -h sea.cs.jhu.edu -k 'user=nwf' > > i think the answer may be to do with the fact > that you're using "-k 'user=foo'" rather than "-u foo". > i haven't got time to look into it > properly right now, but it's worth trying. > > rog.
No change: nwf@ then bootes@ asks for two passwords, but still can log in as nwf@ without a password after logging in as bootes@ and can't log in as me@ without one. Indeed, this is expected as a cursory inspection of /sys/src/cmd/cpu.c suggests that the only authentication changes made by -u are as if the user had typed -k 'user=...' intead (there are some small changes made in the file system code it seems to make uid and gid match the argument of -u which doesn't happen with -k, but these ought not impact authentication). Thanks much. --nwf;
pgpE3CixPBYle.pgp
Description: PGP signature
