История изменений
Исправление superuser, (текущая версия) :
и не вздумай раскоментировать строчку:
# %wheel ALL=(ALL) NOPASSWD: ALL
А наперёд, дам правильную настройку для монтирования разделов без ввода пароля:
# cat /etc/polkit-1/rules.d/10-udisks2.rules
// See the polkit(8) man page for more information
// about configuring polkit.
// Allow udisks2 to mount devices without authentication
// for users in the "wheel" group.
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" ||
action.id == "org.freedesktop.udisks2.filesystem-mount") &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
Исправление superuser, :
и не вздумай раскоментировать строчку:
# %wheel ALL=(ALL) NOPASSWD: ALL
А наперёд, дам правильную настройку для монтирования разделов без ввода пароля:
$ cat /etc/polkit-1/rules.d/10-udisks2.rules
// See the polkit(8) man page for more information
// about configuring polkit.
// Allow udisks2 to mount devices without authentication
// for users in the "wheel" group.
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" ||
action.id == "org.freedesktop.udisks2.filesystem-mount") &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
Исходная версия superuser, :
и не вздумай раскоментировать строчку:
# %wheel ALL=(ALL) NOPASSWD: ALL
А наперёд, дам правильную настройку для монтирования разделов без ввода пароля:
$ cat /etc/polkit-1/rules.d/10-udisks2.rules
// See the polkit(8) man page for more information
// about configuring polkit.
// Allow udisks2 to mount devices without authentication
// for users in the "wheel" group.
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" ||
action.id == "org.freedesktop.udisks2.filesystem-mount") &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});