Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2002 19:25:01 -0700 (PDT)
From:      Hans Zaunere <zaunere@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   login classes and setenv
Message-ID:  <20020819022501.25575.qmail@web12803.mail.yahoo.com>

index | next in thread | raw e-mail


I have edited the default login class in /etc/login.conf to include my
own setenv.

This:

:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\

became:

:setenv=MYVAR=myvalue,MAIL=/var/mail$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\

Now when root logs in, MYVAR is set to myvalue.  However when any other
user logs in (which are all set to the default class, by way of not
having one specified; same as root) no variables are set.  Not even the
FTP_PASSIVE_MODE variable gets set in the regular users.

Any ideas?

Thanks,

Hans

  

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020819022501.25575.qmail>