 |
 |
sudo lost it's memory?
|
 |
|
 |
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
this machine hasn't had a clean install for some time. i was using sudo yesterday. i go to use it today, and i get this:
[PowermacG4:~] phil% sudo vim /Library/QuickTimeStreaming/Config/streamingserver.xml
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these two things:
#1) Respect the privacy of others.
#2) Think before you type.
Password:
eh? correct me if i'm wrong, but i thought that only happened the very first time you issue a sudo command?
does anyone know why this would happen, and should i expect anything else to have reset itself?
|
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Nov 2001
Location: Retired.
Status:
Offline
|
|
That is peculiar and unusual behavior...however, were you logged in as the same user both days when running the sudo command?
|
|
|
| |
|
|
|
 |
|
 |
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
Originally posted by gorickey:
That is peculiar and unusual behavior...however, were you logged in as the same user both days when running the sudo command?
i know it is... yes, and yes.
i even sudo'd after the security update made me reboot, and then this just happened today. curiouser and curiouser...
|
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Nov 2001
Location: Retired.
Status:
Offline
|
|
Wildness I tell you...WILD!
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Feb 2001
Location: zurich, switzerland
Status:
Offline
|
|
Originally posted by philzilla:
this machine hasn't had a clean install for some time. i was using sudo yesterday. i go to use it today, and i get this: eh? correct me if i'm wrong, but i thought that only happened the very first time you issue a sudo command?
does anyone know why this would happen, and should i expect anything else to have reset itself?
From the sudo man page:
Once a user has been authenticated, a timestamp is updated and the user may then use sudo without a password for a short period of time (5 minutes unless overridden in sudoers).
From the sudoers man page:
Defaults
Certain configuration options may be changed from their default values
at runtime via one or more Default_Entry lines. These may affect all
users on any host, all users on a specific host, or just a specific
user. When multiple entries match, they are applied in order. Where
there are conflicting values, the last value on a matching line takes
effect.
Default_Type ::= 'Defaults' ||
'Defaults' ':' User ||
'Defaults' '@' Host
Default_Entry ::= Default_Type Parameter_List
Parameter ::= Parameter '=' Value ||
Parameter '+=' Value ||
Parameter '-=' Value ||
'!'* Parameter ||
timestamp_timeout
Number of minutes that can elapse before sudo will ask for
a passwd again. The default is 5. Set this to 0 to always
prompt for a password. If set to a value less than 0 the
user's timestamp will never expire. This can be used to
allow users to create or delete their own timestamps via
sudo -v and sudo -k respectively.
|
|
weird wabbit
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|