Emess
Turmspringer
Ich wüede auch genr mit sudo arbeiten.
sollte da nicht "password for root" kommen?
/etc/sudoers
die beiden letzten Einträge hab ich so im Internet gefunden.
Code:
michael@localhost:~$ sudo apt-get update
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for michael:
michael@localhost:~$
sollte da nicht "password for root" kommen?
/etc/sudoers
Code:
# /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 env_reset
# 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
admin ALL = NOPASSWD: ALL
%users ALL = NOPASSWD: /usr/sbin/IRGENDEINSCRIPT
die beiden letzten Einträge hab ich so im Internet gefunden.