sudo su

2005-03-03 Thread Pietro Cerutti
Hi folks, I have to questions: 1) I can I tell sudo to ask for a password everytime it's invoked? 2) how can it be that, after updating root and toor passwords, sudo asks for the old root password? Thank you! -- Pietro Piter Cerutti [EMAIL PROTECTED] [EMAIL PROTECTED] Beansidhe - SwiSS Death

Re: sudo su

2005-03-03 Thread Paul Schmehl
--On Thursday, March 03, 2005 09:39:01 PM + Pietro Cerutti [EMAIL PROTECTED] wrote: Hi folks, I have to questions: 1) I can I tell sudo to ask for a password everytime it's invoked? Sure. Use visudo to edit /etc/sudoers and set: rootALL = (ALL) ALL wheel ALL = (ALL) ALL If NOPASSWD is

Re: sudo su

2005-03-03 Thread Pietro Cerutti
On Thu, 03 Mar 2005 15:56:26 -0600, Paul Schmehl [EMAIL PROTECTED] wrote: Sure. Use visudo to edit /etc/sudoers and set: rootALL = (ALL) ALL wheel ALL = (ALL) ALL If NOPASSWD is in there, take it out. There isn't any NOPASSWD, but if I give the password the first time, sudo doesn't

Re: sudo su

2005-03-03 Thread [EMAIL PROTECTED]
On Thu, 3 Mar 2005 22:47:09 + Pietro Cerutti [EMAIL PROTECTED] wrote: There isn't any NOPASSWD, but if I give the password the first time, sudo doesn't ask for it anymore in the next 5 min or so... see : man sudoers the timestamp_timeout section I think I really misunderstood the

Re: sudo su

2005-03-03 Thread Paul Schmehl
--On Thursday, March 03, 2005 10:47:09 PM + Pietro Cerutti [EMAIL PROTECTED] wrote: There isn't any NOPASSWD, but if I give the password the first time, sudo doesn't ask for it anymore in the next 5 min or so... Answered by another poster - look at the timeout section of the man page. I think

RE: want sudo but not sudo su - how

2004-06-14 Thread Hauan, David
-Original Message- From: John [mailto:[EMAIL PROTECTED] Sent: Saturday, June 12, 2004 6:30 AM To: [EMAIL PROTECTED] Subject: Re: want sudo but not sudo su - how On Sat, Jun 12, 2004 at 11:59:59AM +, Andy Smith wrote: It might be best to just say I don't want you doing

want sudo but not sudo su - how

2004-06-12 Thread John
Greetings, freebsd-questions I want to put operators in sudo BUT I don't want them to sudo su - because after they do that, subsequent commands enacted as root don't appear in the logs. The desired behaviour would be sudo su command (any command) but not sudo su -, for these users. Is there a way

Re: want sudo but not sudo su - how

2004-06-12 Thread Andy Smith
On Sat, Jun 12, 2004 at 11:14:02AM +0100, John wrote: Greetings, freebsd-questions I want to put operators in sudo BUT I don't want them to sudo su - because after they do that, subsequent commands enacted as root don't appear in the logs. The desired behaviour would be sudo su command (any

Re: want sudo but not sudo su - how

2004-06-12 Thread John
On Sat, Jun 12, 2004 at 11:59:59AM +, Andy Smith wrote: It might be best to just say I don't want you doing this and then punish people who do, since you do have logs. yeah, thought this might be the case :| thanks for confirming it. If you're trying to restrict what people can do with

Re: want sudo but not sudo su - how

2004-06-12 Thread Kirk Strauser
At 2004-06-12T10:14:02Z, John [EMAIL PROTECTED] writes: Is there a way of enforcing this? No. For example, if you let them run vim as root, then they can open a shell from there and run commands in it. Either configure a list of commands that they can use safely, or set down a clear policy