Хранение sudo аутентификация с терминалом гнома

Никакой vi не имеет никакого значительного преимущества перед энергией скорее, это наоборот. Vim имеет больше преимуществ затем Vi. Можно интересоваться: Да ведь о, ДА ВЕДЬ те #?! nutheads используют vi?

Редактирование также чтение: действительно ли изучение VIM стоит усилия?

10
30.10.2014, 15:35
1 ответ

Совместно использовать sudo аутентификация через все сессии оболочки (не только вкладки определенного gnome-terminal экземпляр), необходимо будет добавить эту строку к Вашему /etc/sudoers файл (использование visudo сделать так):

Defaults !tty_tickets

От man sudoers:

   sudoers uses time stamp files for credential caching.  Once a user has
   been authenticated, a time stamp is updated and the user may then use
   sudo without a password for a short period of time (15 minutes unless
   overridden by the timeout option.  By default, sudoers uses a tty-based
   time stamp which means that there is a separate time stamp for each of
   a user's login sessions.  The tty_tickets option can be disabled to
   force the use of a single time stamp for all of a user's sessions.

   [...]

   tty_tickets     If set, users must authenticate on a per-tty basis.
                   With this flag enabled, sudo will use a file named for
                   the tty the user is logged in on in the user's time
                   stamp directory.  If disabled, the time stamp of the
                   directory is used instead.  This flag is on by default.
11
27.01.2020, 20:02

Теги

Похожие вопросы