Что эквивалентно пользователю ни для кого: никто из CentOS?

Я не знаю, связано ли это, но в nvidia faq есть несколько шагов для незначительной ошибки с драйвером и PAM:

Q: OpenGL applications exit with the following error message: Error: Could not open /dev/nvidiactl because the permissions are too restrictive. Please see the FREQUENTLY ASKED QUESTIONS section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps to correct. A: It is likely that a security module for the PAM system may be changing the permissions on the NVIDIA device files. In most cases this security system works, but it can get confused. To correct this problem it is recommended that you disable this security feature. Different Linux distributions have different files to control this; please consult with your distributor for the correct method of disabling this security feature. As an example, if your system has the file /etc/security/console.perms then you should edit the file and remove the line that starts with "" (we have also received reports that additional references to in console.perms must be removed, but this has not been verified by NVIDIA). If instead your system has the file /etc/logindevperms then you should edit the file and remove the line that lists /dev/nvidiactl. The above steps will prevent the PAM security system from modifying the permissions on the NVIDIA device files. Next, you will need to reset the permissions on the device files back to their original permissions and owner. You can do that with the following commands: chmod 0666 /dev/nvidia* chown root /dev/nvidia*

Я понимаю, что это не совсем ваша проблема, но это может стоить немного посмотреть.

1
задан 29 January 2014 в 17:55

2 ответа

У пользователя Ubuntu есть пользователь nobody и nogroup, я думаю, что они могут быть использованы эквивалентно, если вы хотите.

Наличие всех (или большинства) служб под одним и тем же пользователем поражает часть цель использования непривилегированного пользователя; поэтому я считаю, что рекомендуемая передовая практика заключается в том, что для каждой службы есть собственный пользователь (например, apache работает как www-data, я думаю, exim4 будет иметь пользователя exim4, spamassassin будет иметь спам-пользователя (я думаю!) и так далее) , Когда вы устанавливаете сервис, он заботится о создании этого пользователя для вас. Иногда управление разрешениями, позволяющими сервисам разговаривать друг с другом, может быть немного громоздким, но эти экземпляры обычно хорошо документированы, а добавленная безопасность и разделение стоят (незначительных) проблем.

7
ответ дан 25 May 2018 в 11:15

Не должно быть никого: nogroup, даже если некоторые серверы по-прежнему правильно распознают стандартный unix «nobody: nobody».

0
ответ дан 25 May 2018 в 11:15

Другие вопросы по тегам:

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