Bonjour,
cherchant à modifier mon sources.list.d, je fais :
jlg@UL30A:/etc/apt$ sudo cat > /etc/apt/sources.list.d/00debian-officielle.list <<EOF
> # wheezy
> deb http://ftp.fr.debian.org/debian/ wheezy main contrib
> deb-src http://ftp.fr.debian.org/debian/ wheezy main contrib
> # wheezy-updates, previously known as 'volatile'
> deb http://ftp.fr.debian.org/debian/ wheezy-updates main contrib
> deb-src http://ftp.fr.debian.org/debian/ wheezy-updates main contrib
> # wheezy-backports
> deb http://ftp.fr.debian.org/debian wheezy-backports main contrib
> # wheezy proposed updates
> deb http://ftp.fr.debian.org/debian/ wheezy-proposed-updates main
> EOF
bash: /etc/apt/sources.list.d/00debian-officielle.list: Permission non accordée
jlg@UL30A:/etc/apt$
sudo visudo me donne :
# 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.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults timestamp_timeout=0
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:$
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
jlg ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
en quittant :
visudo: /etc/sudoers.tmp unchanged
le test :
marche bien : jlg a bien le droit de le faire !
su-do-re-mi-fa-sol ? fa-sil ? pas fa-sil ? ras-du-sol ?
quoi m'échappe ?
merci d'avance
cordialement
debianux
Dernière modification par debianux (21-07-2014 11:36:44)