debian:~# get-install sudo
bash: get-install: command not found
debian:~# apt-get install sudo
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  sudo
0 packages upgraded, 1 newly installed, 0 to remove and 0  not upgraded.
Need to get 0B/135kB of archives. After unpacking 254kB will be used.
S�lection du paquet sudo pr�c�demment d�s�lectionn�.
(Lecture de la base de donn�es... 60542 fichiers et r�pertoires d�j�
install�s.)
D�paquetage de sudo (� partir de .../sudo_1.6.6-1.1_i386.deb) ...
Param�trage de sudo (1.6.6-1.1) ...

debian:~#visudo

login as: root
[EMAIL PROTECTED]'s password:
Last login: Thu Oct 28 16:17:48 2004 from xxx on NODEVssh
Linux debian 2.4.26 #1 SMP Mon May 10 14:00:33 CEST 2004 i686 unknown

Most of the programs included with the Debian GNU/Linux system are
freely redistributable; the exact distribution terms for each program
are described in the individual files in /usr/share/doc/*/copyright

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Oct 28 16:17:48 2004 from xxxx
debian:~# apt-get install sudo
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  sudo
0 packages upgraded, 1 newly installed, 0 to remove and 0  not upgraded.
Need to get 0B/135kB of archives. After unpacking 254kB will be used.
S�lection du paquet sudo pr�c�demment d�s�lectionn�.
(Lecture de la base de donn�es... 60542 fichiers et r�pertoires d�j�
install�s.)
D�paquetage de sudo (� partir de .../sudo_1.6.6-1.1_i386.deb) ...
Param�trage de sudo (1.6.6-1.1) ...

debian:~#
debian:~# visudo


# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL) ALL
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/sudoers.tmp" 15L, 282C  
                                    1,1           All



a partir de visudo je ne peux plus ecrire et sortir avec F2

(Note: j'ai renplac� les IP par des xxx volontairement par s�curit�)

Que faire?

Répondre à