quot;. Maybe I should try to place
"export KRB5_KTNAME=/home/svn/svn.keytab" there. At least
/etc/rc.conf.d/svnserve will be sourced only once at svnserve startup,
and not hundreds of times like rc.conf.
But anyway, I don't like the idea of placing commands (not variables)
in /etc
Da Rock wrote:
[dd]
> >I really don't know what the security implications will be if
> >/etc/krb5.keytab is readable by anyone besides the root user? Do you
> >have a clue about it? There are other services' keys stored there
> >besides svn (host/*, cvs/* etc).
> >
> >
> At the risk of getting
On Fri, 24 Dec 2010 15:29:01 +0600
Victor Sudakov wrote:
> RW wrote:
> > > >
> > > > > I'm not sure this will work. The initial question was about
> > > > > how to obtain an environmental variable. If the rc.d script
> > > > > of svnserve sources /etc/rc.conf and/or /etc/rc.conf.local,
> > > > >
On 12/24/10 19:37, Victor Sudakov wrote:
Da Rock wrote:
Doesn't the rc.d script run as root initially and then a method (default
flags, etc) is used to change the owner to a nobody (restricted
privilege user)? Just my 2c, but please correct me if I'm wrong.
That is prob
Da Rock wrote:
> >
> >
> >>Doesn't the rc.d script run as root initially and then a method (default
> >>flags, etc) is used to change the owner to a nobody (restricted
> >>privilege user)? Just my 2c, but please correct me if I'm wrong.
> >>
> >
> >That is probably correct, rc.subr does "su
RW wrote:
> > >
> > > > I'm not sure this will work. The initial question was about
> > > > how to obtain an environmental variable. If the rc.d script
> > > > of svnserve sources /etc/rc.conf and/or /etc/rc.conf.local,
> > > > it is okay,
> > >
> > > They do. rc.d scripts all start by sucking i
On Fri, 24 Dec 2010 09:34:27 +0600
Victor Sudakov wrote:
> Lowell Gilbert wrote:
> >
> > > I'm not sure this will work. The initial question was about
> > > how to obtain an environmental variable. If the rc.d script
> > > of svnserve sources /etc/rc.conf and/or /etc/rc.conf.local,
> > > it is o
On 12/24/10 18:03, Victor Sudakov wrote:
Da Rock wrote:
[dd]
Doesn't the rc.d script run as root initially and then a method (default
flags, etc) is used to change the owner to a nobody (restricted
privilege user)? Just my 2c, but please correct me if I'm wrong.
That is probably co
Da Rock wrote:
[dd]
> Doesn't the rc.d script run as root initially and then a method (default
> flags, etc) is used to change the owner to a nobody (restricted
> privilege user)? Just my 2c, but please correct me if I'm wrong.
That is probably correct, rc.subr does "su -m $user", but the log
variables cannot be controlled by the rc.d
framework, as far as I understand. Using login classes to
define them should be the correct way.
> From "man login.conf":
setenv listA comma-separated list of
environment variables and
s cannot be controlled by the rc.d
> framework, as far as I understand. Using login classes to
> define them should be the correct way.
>
> >From "man login.conf":
>
> setenv list A comma-separated list of
> environme
Polytropon wrote:
> > I have tried putting "setenv KRB5_KTNAME /home/svn/svn.keytab" in
> > ~svn/.cshrc, it does not help. Evidently the svn user's login shell is
> > not called when "/usr/local/etc/rc.d/svnserve start" is called.
>
> I did already assume something like that. This mechanism
> reli
Lowell Gilbert wrote:
>
> > I'm not sure this will work. The initial question was about
> > how to obtain an environmental variable. If the rc.d script
> > of svnserve sources /etc/rc.conf and/or /etc/rc.conf.local,
> > it is okay,
>
> They do. rc.d scripts all start by sucking in rc.subr, which
Polytropon wrote:
[dd]
>
> Anyway, if svnserve is able to be passed a command string
> to, a setting like
>
> svnserve_flags="... -k /home/svn/svn.keytab ..."
No, this is not a svnserve option, it is a setting used by libsasl2
with which svnserve is linked (or even by libkrb5.so).
>
>
al variables cannot be controlled by the rc.d
framework, as far as I understand. Using login classes to
define them should be the correct way.
>From "man login.conf":
setenv listA comma-separated list of
environment variables and
On Fri, 24 Dec 2010 09:07:35 +0600, Victor Sudakov wrote:
> I have tried putting "setenv KRB5_KTNAME /home/svn/svn.keytab" in
> ~svn/.cshrc, it does not help. Evidently the svn user's login shell is
> not called when "/usr/local/etc/rc.d/svnserve start" is called.
I did already assume something l
Jerry McAllister wrote:
> > >
> > > The svnserve daemon is started from /usr/local/etc/rc.d/svnserve. I need
> > > to
> > > pass the environment variable KRB5_KTNAME=/home/svn/svn.keytab to the
> > > daemon on start. How do I do that?
> >
> > If the user corresponding to the svnservice has a log
Polytropon wrote:
> >
> > The svnserve daemon is started from /usr/local/etc/rc.d/svnserve. I need to
> > pass the environment variable KRB5_KTNAME=/home/svn/svn.keytab to the
> > daemon on start. How do I do that?
>
> If the user corresponding to the svnservice has a login
> shell, which would u
Polytropon writes:
> I'm not sure this will work. The initial question was about
> how to obtain an environmental variable. If the rc.d script
> of svnserve sources /etc/rc.conf and/or /etc/rc.conf.local,
> it is okay,
They do. rc.d scripts all start by sucking in rc.subr, which in turn
pulls i
On Thu, 23 Dec 2010 14:14:43 -0500, Jerry McAllister wrote:
> On Thu, Dec 23, 2010 at 08:12:49PM +0100, Polytropon wrote:
>
> > On Thu, 23 Dec 2010 23:27:52 +0600, Victor Sudakov
> > wrote:
> > > Colleagues,
> > >
> > > The svnserve daemon is started from /usr/local/etc/rc.d/svnserve. I need
On Thu, Dec 23, 2010 at 08:12:49PM +0100, Polytropon wrote:
> On Thu, 23 Dec 2010 23:27:52 +0600, Victor Sudakov
> wrote:
> > Colleagues,
> >
> > The svnserve daemon is started from /usr/local/etc/rc.d/svnserve. I need to
> > pass the environment variable KRB5_KTNAME=/home/svn/svn.keytab to the
On Thu, 23 Dec 2010 23:27:52 +0600, Victor Sudakov wrote:
> Colleagues,
>
> The svnserve daemon is started from /usr/local/etc/rc.d/svnserve. I need to
> pass the environment variable KRB5_KTNAME=/home/svn/svn.keytab to the
> daemon on start. How do I do that?
If the user corresponding to the sv
Colleagues,
The svnserve daemon is started from /usr/local/etc/rc.d/svnserve. I need to
pass the environment variable KRB5_KTNAME=/home/svn/svn.keytab to the
daemon on start. How do I do that?
I tried to do this via a login class for the svn user, but it did not
work. If I first 'su -l svn' and t
Colleagues,
The svnserve daemon is started from /usr/local/etc/rc.d/svnserve. I need to
pass the environment variable KRB5_KTNAME=/home/svn/svn.keytab to the
daemon on start. How do I do that?
I tried to do this via a login class for the svn user, but it did not
work. If I first 'su -l svn' and t
On Wed, 5 Nov 2008, Jeremy Chadwick wrote:
> On Wed, Nov 05, 2008 at 08:24:16PM +1100, Ian Smith wrote:
> > On Tue, 4 Nov 2008, Jeremy Chadwick wrote:
> > > On Wed, Nov 05, 2008 at 05:33:45PM +1100, Ian Smith wrote:
> > > > I know this isn't FreeBSD specific - but I am, so crave your
> > in
On Wed, Nov 05, 2008 at 08:24:16PM +1100, Ian Smith wrote:
> On Tue, 4 Nov 2008, Jeremy Chadwick wrote:
> > On Wed, Nov 05, 2008 at 05:33:45PM +1100, Ian Smith wrote:
> > > I know this isn't FreeBSD specific - but I am, so crave your indulgence.
> > >
> > > Running Apache 1.3.27, using a fairl
On Tue, 4 Nov 2008, Jeremy Chadwick wrote:
> On Wed, Nov 05, 2008 at 05:33:45PM +1100, Ian Smith wrote:
> > I know this isn't FreeBSD specific - but I am, so crave your indulgence.
> >
> > Running Apache 1.3.27, using a fairly extensive access.conf to beat off
> > the most rapacious robots a
On Wed, Nov 05, 2008 at 05:33:45PM +1100, Ian Smith wrote:
> I know this isn't FreeBSD specific - but I am, so crave your indulgence.
>
> Running Apache 1.3.27, using a fairly extensive access.conf to beat off
> the most rapacious robots and such, using mostly BrowserMatch[NoCase]
> and SetEnvIf
I know this isn't FreeBSD specific - but I am, so crave your indulgence.
Running Apache 1.3.27, using a fairly extensive access.conf to beat off
the most rapacious robots and such, using mostly BrowserMatch[NoCase]
and SetEnvIf to moderate access to several virtual hosts. No problem.
OR condit
Steve Bertrand <[EMAIL PROTECTED]> writes:
> I've fudged together a quick disk space monitor that I will run from
> cron. Running the script works fine from the command line, but when I
> run it from cron, the environment variable is empty.
>
> Can someone point out the err of my ways?:
>
> #!/bin
Hi everyone,
I've fudged together a quick disk space monitor that I will run from
cron. Running the script works fine from the command line, but when I
run it from cron, the environment variable is empty.
Can someone point out the err of my ways?:
#!/bin/sh
/bin/df | \
/usr/bin/awk '{if($5 ~ "%
Oliver Fromme wrote:
Chris Whitehouse wrote:
> sysutils/fusefs-ntfs/files/README.FreeBSD refers to various environment
> variables, eg UBLIO_BLOCKSIZE and others. How do I find out what they
> are set to? set and printenv don't find them. I'm using standard csh and
>
Chris Whitehouse wrote:
> sysutils/fusefs-ntfs/files/README.FreeBSD refers to various environment
> variables, eg UBLIO_BLOCKSIZE and others. How do I find out what they
> are set to? set and printenv don't find them. I'm using standard csh and
> FreeBSD 7.0-STABLE,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris Whitehouse wrote:
> RW wrote:
>> On Sun, 15 Jun 2008 00:27:10 +0100
>> Chris Whitehouse <[EMAIL PROTECTED]> wrote:
>>
>>> Hello,
>>>
>>> sysutils/fusefs-ntfs/files/README.FreeBSD refers to
On Sun, 15 Jun 2008 02:05:07 +0100
Chris Whitehouse <[EMAIL PROTECTED]> wrote:
> RW wrote:
> > On Sun, 15 Jun 2008 00:27:10 +0100
> > Chris Whitehouse <[EMAIL PROTECTED]> wrote:
> >
> >> Hello,
> >>
> >> sysutils/fusefs-ntfs/files/REA
RW wrote:
On Sun, 15 Jun 2008 00:27:10 +0100
Chris Whitehouse <[EMAIL PROTECTED]> wrote:
Hello,
sysutils/fusefs-ntfs/files/README.FreeBSD refers to various
environment variables, eg UBLIO_BLOCKSIZE and others. How do I find
out what they are set to? set and printenv don't find them
Robert Huff wrote:
Chris Whitehouse writes:
sysutils/fusefs-ntfs/files/README.FreeBSD refers to various
environment variables, eg UBLIO_BLOCKSIZE and others. How do I
find out what they are set to? set and printenv don't find
them. I'm using standard csh
In that case, try &qu
On Sun, 15 Jun 2008 00:27:10 +0100
Chris Whitehouse <[EMAIL PROTECTED]> wrote:
> Hello,
>
> sysutils/fusefs-ntfs/files/README.FreeBSD refers to various
> environment variables, eg UBLIO_BLOCKSIZE and others. How do I find
> out what they are set to? set and printenv don
Chris Whitehouse <[EMAIL PROTECTED]> wrote:
> sysutils/fusefs-ntfs/files/README.FreeBSD refers to various environment
> variables, eg UBLIO_BLOCKSIZE and others. How do I find out what they are
> set to? set and printenv don't find them. I'm using standard csh a
Chris Whitehouse writes:
> sysutils/fusefs-ntfs/files/README.FreeBSD refers to various
> environment variables, eg UBLIO_BLOCKSIZE and others. How do I
> find out what they are set to? set and printenv don't find
> them. I'm using standard csh
In that case
Hello,
sysutils/fusefs-ntfs/files/README.FreeBSD refers to various environment
variables, eg UBLIO_BLOCKSIZE and others. How do I find out what they
are set to? set and printenv don't find them. I'm using standard csh and
FreeBSD 7.0-STABLE, fuse.ko is loaded and ntfs-3g works
>
> Hi all.
> In order to set an environment variable at boot time,
> something like http_proxy, where would I do that?
Depends somewhat on what it is and what it is for.
But, many things you can set in /etc/rc.conf.
Things specific to certain applications should probably be done
either in their
Michael S wrote:
Hi all.
In order to set an environment variable at boot time,
something like http_proxy, where would I do that?
Environment variables are not set at boot time. They are set when you o
into your shell. For doing that, set yhe environment variable in .login.
Regards
S
Hi all.
In order to set an environment variable at boot time,
something like http_proxy, where would I do that?
Thanks in advance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe
"Xpression" <[EMAIL PROTECTED]> writes:
> Hi list, there is a way to list or know the environment variables,
> in fact, I want to know if my hostname is stored in a variable, and all
> variables that maintain the system...thanks...
How to get the environment vari
You can use the "env" command to see a list of Environment variables. On my
system, it doesn't appear the hostname is in there but it may be on yours.
Scott
- Original Message -
From: "Xpression" <[EMAIL PROTECTED]>
To: "FreeBSD-questions" <[
Hi list, there is a way to list or know the environment variables,
in fact, I want to know if my hostname is stored in a variable, and all
variables that maintain the system...thanks...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org
47 matches
Mail list logo