sudo visudo
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
...............
#includedir /etc/sudoers.d
#code-girl section
code-girl ALL=NOPASSWD:/usr/sbin/iotop
code-girl ALL=NOPASSWD:/usr/bin/apt-get
Možná by se to dalo napsat lépe, nevím, musím psát sudo, ale funguje bez hesla... dám si alias do bashrc a budu psát už jen iotop :-) Thx. a K+.