sudoers
-
The configuration file is usually referred to as sudoers file .
配置文件通常称为sudoers文件。
-
Making the sudoers file more manageable by the root user makes good administrative sense .
让root用户更方便地管理sudoers文件是有积极意义的。
-
THe sudoers file , if not already present , is placed in / etc.
sudoers文件(如果还没有的话)放在/etc中。
-
Use this to edit the sudoers file .
使用它编辑sudoers文件。
-
A solution to make this chore easier is to reorganize the sudoers file .
简化这项任务的一个解决方案是重新组织sudoers文件。
-
A default PATH within sudoers can be imposed using the secure_path directive .
可以使用securepath指令修改sudoers中默认的PATH。
-
Within large-enterprise environments , keeping the sudoers file maintained is an important and regularly required task .
在大型企业环境中,维护sudoers文件是一项重要且必须经常执行的任务。
-
But as always , make a backup copy of / etc / sudoers and read the upgrade instructions .
但是,一定要保留/etc/sudoers的备份并阅读升级说明。
-
This process is carried out by the root user making sudo entries in the / etc / sudoers file .
root用户通过在/etc/sudoers文件中设置sudo条目完成这个过程。
-
Over time , your sudoers file will grow with more and more entries , which is to be expected .
随着时间的推移,sudoers文件中的条目会越来越多。
-
Using configuration file / etc / sudoers the commands are grouped into sets and users are assigned to command sets .
可使用配置文件/etc/sudoers将命令分成一些命令组并将用户分配给命令组。
-
For completeness , the entries in sudoers to execute this is and not strip out any system environment variables are
sudoers中执行此脚本的条目如下,它们不会缩减任何系统环境变量
-
If you currently have sudo installed on your system , it will not overwrite your existing sudoers file .
如果系统上当前安装了sudo,它不会覆盖现有的sudoers文件。
-
The ticket feature will not work if you have NOPASSWD in the user 's entry in sudoers .
如果在sudoers中此用户的条目中有NOPASSWD,票据特性是无效的。
-
The main sudoers file can then contain the local entries , and the include file would barely need editing as those entries are static .
主sudoers文件可以包含本地条目,包含文件包含静态条目,所以很少需要编辑。
-
When visudo is invoked , it will scan sudoers when it sees the include entry .
在调用visudo时,它会扫描sudoers。
-
When you exit out of visudo from the main sudoers file , it will take you to the include file for editing .
在从主sudoers文件退出visudo时,它会进入包含文件进行编辑。
-
You do not have to put in all the sudoers directives or stanzas .
不必设置所有sudoers指令或小节。
-
Users belonging to a valid AIX group can be included in sudoers , making the sudoers file more manageable with fewer entries per user .
属于有效的AIX组的用户可以包含在sudoers中,这样针对单一用户的条目更少,sudoers文件更容易管理。
-
The / etc / sudoers ( commonly known just as sudoers ) file governs who and what can be run using sudo .
etc/sudoers(通常简称为sudoers)文件控制谁可以使用sudo以及使用sudo运行什么。
-
When reorganizing the sudoers entries to include groups , you may have to create a new groups under AIX to include users that are only allowed to use sudo for certain commands .
在使用组重新组织sudoers条目时,可能需要在AIX中创建一个新的组,其中只包含允许使用sudo运行某些命令的用户。
-
When you run visudo , and you save and quit the file , visudo will inform you to click Enter to edit the include sudoers file .
在运行visudo、保存并退出文件时,visudo会让您按Enter开始编辑包含sudoers文件。
-
If you have many static entries ( meaning the same command is run on every machine where sudo is ), put these into a separate sudoers file , which can be achieved using the include directive .
如果有许多静态条目(在有sudo的每台机器上都运行相同的命令),那么把这些命令放在一个单独的sudoers文件中,这可以使用include指令来实现。