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 login
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
On Fri, 24 Dec 2010 09:34:27 +0600
Victor Sudakov v...@mpeks.tomsk.su 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
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 in rc.subr, which in
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 -m $user, but the
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
On Fri, 24 Dec 2010 15:29:01 +0600
Victor Sudakov v...@mpeks.tomsk.su 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,
it
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 laughed off
to
assign limits, environment variables and login classes.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send
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
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
On Thu, 23 Dec 2010 23:27:52 +0600, Victor Sudakov v...@mpeks.tomsk.su 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
On Thu, Dec 23, 2010 at 08:12:49PM +0100, Polytropon wrote:
On Thu, 23 Dec 2010 23:27:52 +0600, Victor Sudakov v...@mpeks.tomsk.su
wrote:
Colleagues,
The svnserve daemon is started from /usr/local/etc/rc.d/svnserve. I need to
pass the environment variable
On Thu, 23 Dec 2010 14:14:43 -0500, Jerry McAllister jerr...@msu.edu wrote:
On Thu, Dec 23, 2010 at 08:12:49PM +0100, Polytropon wrote:
On Thu, 23 Dec 2010 23:27:52 +0600, Victor Sudakov v...@mpeks.tomsk.su
wrote:
Colleagues,
The svnserve daemon is started from
Polytropon free...@edvax.de 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
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 usually be
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 login
shell, which
On Fri, 24 Dec 2010 09:07:35 +0600, Victor Sudakov v...@mpeks.tomsk.su 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
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
values
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).
coded in
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 in turn
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
relies on some
, 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
values to which they are to
be set.
I
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
values to which
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
indulgence.
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 and such,
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 fairly extensive
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
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 to
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 ~ %
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/sh
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, fuse.ko is loaded and ntfs
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
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 various
environment variables, eg UBLIO_BLOCKSIZE and others. How do I
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 except
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 setenv with no arguements
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 and
FreeBSD 7.0-STABLE, fuse.ko
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. I'm using
standard
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 setenv
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. I'm using
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/README.FreeBSD refers to various
environment variables, eg UBLIO_BLOCKSIZE
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
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?
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
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
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 [EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 6
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 variable list depends on your shell
47 matches
Mail list logo