Gentoo Archives: gentoo-user

From: Anthony Metcalf <Anthony.Metcalf@×××××××××××.cx>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Sudo config
Date: Fri, 20 Jun 2008 15:11:36
Message-Id: 485BC8A3.1090901@anferny.ath.cx
In Reply to: [gentoo-user] Sudo config by Paul Melvin
1 Paul Melvin wrote:
2 >
3 > HI,
4 >
5 >
6 >
7 > I have been using ubuntu for a while and have come to like sudo.
8 >
9 >
10 >
11 > Now I am moving over to gentoo and would like to set this up as for me
12 > it is far more convenient to just type sudo rather than the su business.
13 >
14 >
15 >
16 > However when I emerge sudo, install and run it the following comes up
17 > with:
18 >
19 >
20 >
21 > We trust you have received the usual lecture from the local System
22 >
23 > Administrator. It usually boils down to these three things:
24 >
25 >
26 >
27 > #1) Respect the privacy of others.
28 >
29 > #2) Think before you type.
30 >
31 > #3) With great power comes great responsibility.
32 >
33 >
34 >
35 > Password:
36 >
37 >
38 >
39 > Which is all very good but I don’t really want to see it every time, I
40 > have searched on how to remove it but have found nothing, I did
41 > download sudo tar and do a grep and found it in one of the c files but
42 > as I am not a programmer I don’t know if I can simply remove this or not.
43 >
44 >
45 >
46 > How can I, when I sudo,:
47 >
48 >
49 >
50 > 1.get rid of all the text
51 >
52 > 2.change the password line to something, dare I say it, like ubuntu,
53 > e.g. [sudo] password for paul, I assume paul is just a $USER
54 >
55 >
56 >
57 > Cheers
58 >
59 >
60 >
61 > paul
62 >
63 Look at /etc/sudoers It is very well documented.
64
65 I have a line like
66 > # Same thing without a password
67 > %wheel ALL=(ALL) NOPASSWD: ALL
68 which mean sthat anyone in the wheel group can use sudo as you want.
69
70 Anthony

Replies

Subject Author
Re: [gentoo-user] Sudo config "Conway S. Smith" <beolach@××××××××.com>