Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user-ru
Navigation:
Lists: gentoo-user-ru: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user-ru@g.o
From: Rain <worldstone@...>
Subject: Re: /etc/profile
Date: Mon, 01 Oct 2007 23:48:50 +0300
Mad Deer пишет:
> вообще-то для zsh используется /etc/zprofile
ну я думаю, что он девелоперами не зря положен(например предполагает тот 
же каталог /etc/profile.d/, наполненный всякими полезными скриптами :) 
), и не юзать его есть не генту вей

> но вопрос с пропаданием переменных при sudo меня тоже интересует.
> насколько я знаю это связано с сукьюрностью. но точно где-то должно 
> отключатся.
> потому что на работе у меня пропадают все переменные, а дома они все 
> на месте после sudo -s
>
не совсем понимаю где там секюрность, если прочитав тот же /etc/profile 
можно вернуть себе все переменные, али слаб духом я еще чтоб осознать...

кстати, вот почитал каменты в /etc/sudoers :-[  , и нашел корень зла :)
# Reset environment by default
Defaults        env_reset
^^^^^^^^^^^^^^^^^^^^^^^^это было раскомментировано

# Uncomment to allow users in group wheel to export variables
 Defaults:%wheel        !env_reset
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ а это закоментировано
я второе раскомментировал и мне полегчало

Replies:
Re: /etc/profile
-- Peter Volkov
Re: /etc/profile
-- Alex V. Fansky
References:
/etc/profile
-- Rain
Re: /etc/profile
-- Mad Deer
Navigation:
Lists: gentoo-user-ru: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: /etc/profile
Next by thread:
Re: /etc/profile
Previous by date:
Re: /etc/profile
Next by date:
Re: /etc/profile


Updated Jun 17, 2009

Summary: Archive of the gentoo-user-ru mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.