Re: Should sudo be used?

2007-04-08 Thread Andrew Pantyukhin
On 4/7/07, Kevin Kinsey [EMAIL PROTECTED] wrote: Jerry McAllister wrote: Also, although telnet is a hole nowdays for logging in to a system with an id and password for the very reasons you have given, it still has a use. You can use it to easily poke at a port and check the response to

Re: Should sudo be used?

2007-04-06 Thread Alex Zbyslaw
Jerry McAllister wrote: I noticed one grammatical thing of question. In the first paragraph under Use ssh instead of Telnet or rsh/rlogin it says they should never be used to administrate a machine over a network, I think the word should be 'administer' instead of 'administrate'

Re: Should sudo be used?

2007-04-06 Thread Jerry McAllister
On Fri, Apr 06, 2007 at 12:08:04PM +0100, Alex Zbyslaw wrote: Jerry McAllister wrote: I noticed one grammatical thing of question. In the first paragraph under Use ssh instead of Telnet or rsh/rlogin it says they should never be used to administrate a machine over a network, I

Re: Should sudo be used?

2007-04-06 Thread Kevin Kinsey
Jerry McAllister wrote: On Thu, Apr 05, 2007 at 11:28:34AM -0500, Jeremy C. Reed wrote: On Thu, 5 Apr 2007, Kevin Kinsey wrote: I thought I might also mention a potential sudo-shortcoming. :-D See: http://bsdwiki.reedmedia.net/wiki/Recognize_basic_recommended_access_methods.html Where I

Re: Should sudo be used?

2007-04-05 Thread Pietro Cerutti
On 4/5/07, Schiz0 [EMAIL PROTECTED] wrote: True, if that was the case I'd use sudo. But I'm the only user on my systems that I'd trust with root access, so there's no point with my setup. [Please don't top post] Anyway, yes, I would say it depends on the situation, and it's even a matter of

Re: Should sudo be used?

2007-04-05 Thread Schiz0
True, if that was the case I'd use sudo. But I'm the only user on my systems that I'd trust with root access, so there's no point with my setup. On 4/5/07, Pietro Cerutti [EMAIL PROTECTED] wrote: On 4/5/07, Schiz0 [EMAIL PROTECTED] wrote: I don't use sudo. I find it rather pointless. If I

Re: Should sudo be used?

2007-04-05 Thread Christian Walther
On 05/04/07, Schiz0 [EMAIL PROTECTED] wrote: [Moved answer to the bottom -- please don't use top post] On 4/5/07, Pietro Cerutti [EMAIL PROTECTED] wrote: On 4/5/07, Schiz0 [EMAIL PROTECTED] wrote: I don't use sudo. I find it rather pointless. If I need to do something as root, I use su

Re: Should sudo be used?

2007-04-05 Thread Schiz0
I don't use sudo. I find it rather pointless. If I need to do something as root, I use su to gain root privileges, then when I'm done, I exit and return to the original user. The user running su must be in the group wheel to be able to su to root. This is a simple yet convenient security system.

Re: Should sudo be used?

2007-04-05 Thread Pietro Cerutti
On 4/5/07, Schiz0 [EMAIL PROTECTED] wrote: I don't use sudo. I find it rather pointless. If I need to do something as root, I use su to gain root privileges, then when I'm done, I exit and return to the original user. The user running su must be in the group wheel to be able to su to root. This

Re: Should sudo be used?

2007-04-05 Thread Pietro Cerutti
On 4/5/07, Victor Engmark [EMAIL PROTECTED] wrote: Well, the standard argument is that with sudo you don't have to worry about executing something as root which you intended to execute as a normal user. That's good enough for me, but are there any disadvantages except just having another

Re: Should sudo be used?

2007-04-05 Thread kelvin woods
On Thu, April 5, 2007 09:42, Victor Engmark wrote: Hi all, I thought it would be a good idea to use sudo on my FreeBSD laptop, but I'm having doubts after checking the handbook (it's not mentioned at all) and Google (most of the articles were obscure and / or old). Are you using sudo? If

Re: Should sudo be used?

2007-04-05 Thread Pietro Cerutti
On 4/5/07, Victor Engmark [EMAIL PROTECTED] wrote: Hi all, Hello, Are you using sudo? If not, why? Yes I am. I would say anything allowing not to use the root password is worth using. Just man 5 sudoers to properly setup your sudoers file.. -- Victor Engmark -- Pietro Cerutti - ASCII

Should sudo be used?

2007-04-05 Thread Victor Engmark
Hi all, I thought it would be a good idea to use sudo on my FreeBSD laptop, but I'm having doubts after checking the handbook (it's not mentioned at all) and Google (most of the articles were obscure and / or old). Are you using sudo? If not, why? -- Victor Engmark

Re: Should sudo be used?

2007-04-05 Thread Amarendra Godbole
On 4/5/07, Victor Engmark [EMAIL PROTECTED] wrote: Hi all, I thought it would be a good idea to use sudo on my FreeBSD laptop, but I'm having doubts after checking the handbook (it's not mentioned at all) and Google (most of the articles were obscure and / or old). Are you using sudo? If not,

Re: Should sudo be used?

2007-04-05 Thread Kevin Kinsey
Victor Engmark wrote: Hi all, I thought it would be a good idea to use sudo on my FreeBSD laptop, but I'm having doubts after checking the handbook (it's not mentioned at all) and Google (most of the articles were obscure and / or old). It's not mentioned in the FreeBSD Handbook because it's

Re: Should sudo be used?

2007-04-05 Thread Kevin Kinsey
Hi again, I thought I might also mention a potential sudo-shortcoming. :-D See: http://bsdwiki.reedmedia.net/wiki/Recognize_basic_recommended_access_methods.html Where I wrote about a quoting problem that occasionally confuses newbs like me. Also, I don't speak for the BSD certification

Re: Should sudo be used?

2007-04-05 Thread Kevin Kinsey
RW wrote: On Thu, 05 Apr 2007 08:56:28 -0500 Kevin Kinsey [EMAIL PROTECTED] wrote: Victor Engmark wrote: Hi all, I thought it would be a good idea to use sudo on my FreeBSD laptop, but I'm having doubts after checking the handbook (it's not mentioned at all) and Google (most of the articles

Re: Should sudo be used?

2007-04-05 Thread RW
On Thu, 05 Apr 2007 08:56:28 -0500 Kevin Kinsey [EMAIL PROTECTED] wrote: Victor Engmark wrote: Hi all, I thought it would be a good idea to use sudo on my FreeBSD laptop, but I'm having doubts after checking the handbook (it's not mentioned at all) and Google (most of the articles

Re: Should sudo be used?

2007-04-05 Thread Jeremy C. Reed
On Thu, 5 Apr 2007, Kevin Kinsey wrote: I thought I might also mention a potential sudo-shortcoming. :-D See: http://bsdwiki.reedmedia.net/wiki/Recognize_basic_recommended_access_methods.html Where I wrote about a quoting problem that occasionally confuses newbs like me. Hi Kevin, I

Re: Should sudo be used?

2007-04-05 Thread Jeffrey Goldberg
On Apr 5, 2007, at 3:42 AM, Victor Engmark wrote: Are you using sudo? If not, why? I am using sudo. In /usr/local/etc/sudoers I have %wheel ALL=(ALL) ALL Even though I'm the only person logging in, I still prefer to just remember my password instead of having to remember root's.

Re: Should sudo be used?

2007-04-05 Thread Jerry McAllister
On Thu, Apr 05, 2007 at 11:28:34AM -0500, Jeremy C. Reed wrote: On Thu, 5 Apr 2007, Kevin Kinsey wrote: I thought I might also mention a potential sudo-shortcoming. :-D See: http://bsdwiki.reedmedia.net/wiki/Recognize_basic_recommended_access_methods.html Where I wrote about a

Re: Should sudo be used?

2007-04-05 Thread Bob Hall
On Thu, Apr 05, 2007 at 10:42:27AM +0200, Victor Engmark wrote: Hi all, I thought it would be a good idea to use sudo on my FreeBSD laptop, but I'm having doubts after checking the handbook (it's not mentioned at all) and Google (most of the articles were obscure and / or old). Are you

Re: Should sudo be used?

2007-04-05 Thread Garrett Cooper
Christian Walther wrote: On 05/04/07, Schiz0 [EMAIL PROTECTED] wrote: [Moved answer to the bottom -- please don't use top post] On 4/5/07, Pietro Cerutti [EMAIL PROTECTED] wrote: On 4/5/07, Schiz0 [EMAIL PROTECTED] wrote: I don't use sudo. I find it rather pointless. If I need to do

Re: Should sudo be used?

2007-04-05 Thread Erik Osterholm
On Thu, Apr 05, 2007 at 06:54:06PM -0700, Garrett Cooper wrote: b) sudo can run commands directly instead of having to type in su, and then run the command from the su'ed shell. From man su: If the optional args are provided on the command line, they are passed to the login shell of the