> I've never tested this sitation thoroughly, so I can't say much about
> the rest of .login being ignored.  Generally, I'd suggest installing
> the AFS version of "login" whenever possible so that every user
> automatically gets a new pag.  If an AFS username and password is
> entered, tokens are also obtained.  I understand that sometimes using
> the AFS version of login is not an option, however.

Wrong - it's most definitely an option, cos that's what we do. We run
DECathena, and must use DECathena's login. However, I simply renamed
the DECathena login to login.athena, and substituted the following as
login. Seems to work fine.

Peter Lister                                    [EMAIL PROTECTED]
Computer Centre,
Cranfield Institute of Technology,        Voice: +44 234 754200 ext 2828
Cranfield, Bedfordshire MK43 0AL England    Fax: +44 234 750875
------------------------------------------------------------------------
#define COMMAND_FILENAME "/usr/bin/login.athena"

int main ( int argc, char * argv [ ] , char * envp [ ] )
{
  char * command_filename = COMMAND_FILENAME ;

  setpag ( ) ;
  execve ( command_filename , argv , envp ) ;
  perror ( command_filename ) ;
}
------------------------------------------------------------------------

Reply via email to