Hi Martijn,
On Tue, Dec 11, 2012 at 6:44 PM, Martijn van Duren wrote:
>
> I'm a new to OpenBSD and BSD in general.
>
> On my new install I found that it is possible to set environment
> variables via the login.conf file. When trying I found out that those
> variables aren't honored if I log in vi
as a temporary workaround, you can do sudo -u $SAMEUSER -c - -i in,
e.g., ~/.profile at the logged-in machine
that way you don't duplicate env settings in ssh_config proper
On Tue, Dec 11, 2012 at 6:14 AM, Martijn van Duren wrote:
> Dear misc,
>
> I'm a new to OpenBSD and BSD in general.
>
> On
On Tue (11/12/12), Otto Moerbeek wrote:
> On Tue, Dec 11, 2012 at 05:39:08PM +0200, Manolis Tzanidakis wrote:
> > Check 'AcceptEnv' and 'PermitUserEnvironment'in sshd_config(5).
> > They're both set to off, by default.
>
> These options apply to different mechanisms than login.conf.
Otto is right.
On Tue, Dec 11, 2012 at 05:39:08PM +0200, Manolis Tzanidakis wrote:
> Hey there
>
> On Tue (11/12/12), Martijn van Duren wrote:
> >
> > On my new install I found that it is possible to set environment
> > variables via the login.conf file. When trying I found out that those
> > variables aren't
Hey there
On Tue (11/12/12), Martijn van Duren wrote:
>
> On my new install I found that it is possible to set environment
> variables via the login.conf file. When trying I found out that those
> variables aren't honored if I log in via ssh. Setting the variables via
> setusercontext in a test-a
I could set it in either /etc/profile (.profile would be even trickier
since those can't be managed in a central manner), but I don't feel like
scripting the user classes into those files. Not when there's a
perfectly fine system implemented to do that for me.
Yusof Khalid - FreeBSD / OpenBSD schr
Hi,
Can those variable set in .profile ?
I'm still new too but just a suggestion :)
On Tue, Dec 11, 2012 at 6:44 PM, Martijn van Duren wrote:
> Dear misc,
>
> I'm a new to OpenBSD and BSD in general.
>
> On my new install I found that it is possible to set environment
> variables via the login.
Dear misc,
I'm a new to OpenBSD and BSD in general.
On my new install I found that it is possible to set environment
variables via the login.conf file. When trying I found out that those
variables aren't honored if I log in via ssh. Setting the variables via
setusercontext in a test-application a
8 matches
Mail list logo