sudo のインストール


初めて sudo を使ってみる。


ude:~# apt-get install sudo
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libnfsidmap2 libevent1 librpcsecgss3 libgssglue1 nfs-common
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.
Need to get 180kB of archives.
After this operation, 438kB of additional disk space will be used.
Get:1 lenny/main sudo 1.6.9p17-2 [180kB]
Fetched 180kB in 0s (451kB/s)
Selecting previously deselected package sudo.
(Reading database ... 10259 files and directories currently installed.)
Unpacking sudo (from .../sudo_1.6.9p17-2_armel.deb) ...
Processing triggers for man-db ...
Setting up sudo (1.6.9p17-2) ...
No /etc/sudoers found... creating one for you.


vipw と同様、visudo を使う
ude:~# visudo


asunari@ude:~$ sudo ls

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 yasunari:

linuxrc をみる
LinkStation/玄箱 をハックしよう

LS-XHL 1.04β と LS-CHL 1.21 との比較

Copyright (C) 2003-2009 Yasunari Yamashita. All Rights Reserved.
yasunari @ 山下康成@京都府向日市