: 30 marca 2008, 01:50
Używaj su -c zamiast sudo i będziesz wpisywał upragnione hasło roota
. Możesz sobie nawet alias zrobić.

Polski portal użytkowników dystrybucji Debian GNU/Linux, dyskusje, artykuły, nowości, blog, porady, pomoc.
https://www.debian.pl/
Kod: Zaznacz cały
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
# Defaults
Defaults !lecture,tty_tickets,!fqdn
# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
ale Ubuntu prosi o hasło użytkownika a nie roota. I do tego służy sudo - jak znasz hasło roota to używa się su.LongeR pisze:a tak wygląda /etc/sudoers w Ubuntu.