/
githubmirror
/
sudo
ОбзорДокументацияВойти
/
githubmirror
/
sudo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
sudo/
plugins/sample/
..
Makefile.in

Ignore 64-bit time_t warnings in PVS-Studio

10 месяцев назад
README

The sample plugin is now built by default to avoid bit rot. GitHub issue #234.

4 года назад
sample_plugin.c

Remove Open Source PVS-Studio comments

10 месяцев назад
sample_plugin.exp

Rename foo.sym -> foo.exp Remove foo.map from the repo and generate it on demand Use a loader option file for HP-UX ld to explicitly export symbols

14 лет назад
README
This is a sample sudo policy plugin. See the sudo_plugin manual for
information on writing your own plugin.
 
The sample policy plugin is not installed by default. It can be installed
by running "make install" as the superuser from the plugins/sample
directory.
 
To actually use the sample plugin, you'll need to modify the
/etc/sudo.conf file. Caution: you should not make changes to
/etc/sudo.conf without also having a root shell open repair things
in case of an error. To enable the plugin, first comment out any
existing policy Plugin line in /etc/sudo.conf, for example:
 
Plugin sudoers_policy sudoers.so
 
Then add a line for the sample plugin:
 
Plugin sample_policy sample_plugin.so
 
You may need to create /etc/sudo.conf if it does not already exist.
 
Note that you may only have a single policy plugin defined.