Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206091

Re: systemd error

From Curt <curty@free.fr>
Newsgroups linux.debian.user
Subject Re: systemd error
Date 2019-03-10 10:40 +0100
Message-ID <xA361-B3-3@gated-at.bofh.it> (permalink)
References <xzv4l-4nc-1@gated-at.bofh.it> <xzGsN-39J-1@gated-at.bofh.it> <xzWxA-4P2-1@gated-at.bofh.it>
Organization Unorganized

Show all headers | View raw


On 2019-03-10, Default User <hunguponcontent@gmail.com> wrote:
>
> Curt, I often use sudo [command] even when not needed, because the sudo
> elevated privileges state  "times out" after several minutes, reverting to
> unprivileged user state. So if I need to enter another command with
> elevated privileges after the elevated privilege state expires, I have to
> re-enter the password again, instead of just sudo [command].
>
> I guess i'm just lazy.

I don't use sudo and was unaware of this timeout feature.

The timeout interval is configurable, though.

man sudoers:

 timestamp_timeout 
    Number of minutes that can elapse before sudo will ask for a passwd again.
    The timeout may include a fractional component if minute granularity is
    insufficient, for example 2.5. The default is 15. Set this to 0 to always
    prompt for a password. If set to a value less than 0 the user's time stamp will
    not expire until the system is rebooted.  -- 

The advisability of lengthening or eliminating the timeout is probably related
to the possibility of the kitty (and other, less cool cats) creeping by to paw
a detrimental command or two into your privileged xterm while you're out
grilling one on the stoop.

-- 
“Let us again pretend that life is a solid substance, shaped like a globe,
which we turn about in our fingers. Let us pretend that we can make out a plain
and logical story, so that when one matter is despatched--love for instance--
we go on, in an orderly manner, to the next.” - Virginia Woolf, The Waves

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

systemd error Default User <hunguponcontent@gmail.com> - 2019-03-08 22:20 +0100
  Re: systemd error Reco <recoverym4n@enotuniq.net> - 2019-03-09 08:50 +0100
    Re: systemd error Default User <hunguponcontent@gmail.com> - 2019-03-10 03:50 +0100
      Re: systemd error Reco <recoverym4n@enotuniq.net> - 2019-03-10 08:40 +0100
        Re: systemd error Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2019-03-10 12:10 +0100
          Re: systemd error Curt <curty@free.fr> - 2019-03-10 14:30 +0100
            Re: systemd error Reco <recoverym4n@enotuniq.net> - 2019-03-10 16:30 +0100
              Re: systemd error Curt <curty@free.fr> - 2019-03-10 17:50 +0100
              Re: systemd error Default User <hunguponcontent@gmail.com> - 2019-03-10 17:50 +0100
                Re: systemd error Default User <hunguponcontent@gmail.com> - 2019-03-10 20:50 +0100
                Re: systemd error Reco <recoverym4n@enotuniq.net> - 2019-03-10 21:10 +0100
                Re: systemd error Default User <hunguponcontent@gmail.com> - 2019-03-11 05:00 +0100
                Re: systemd error Sven Hartge <sven@svenhartge.de> - 2019-03-11 08:50 +0100
                Re: systemd error Default User <hunguponcontent@gmail.com> - 2019-03-11 13:50 +0100
                Re: systemd error Default User <hunguponcontent@gmail.com> - 2019-03-13 06:00 +0100
                Re: systemd error Default User <hunguponcontent@gmail.com> - 2019-03-13 06:10 +0100
                Re: systemd error <tomas@tuxteam.de> - 2019-03-13 09:50 +0100
                Re: systemd error Default User <hunguponcontent@gmail.com> - 2019-03-13 14:30 +0100
                Re: systemd error Dan Ritter <dsr@randomstring.org> - 2019-03-13 16:10 +0100
                Re: systemd error Default User <hunguponcontent@gmail.com> - 2019-03-13 19:20 +0100
                Re: systemd error deloptes <deloptes@gmail.com> - 2019-03-13 21:30 +0100
                Re: systemd error <tomas@tuxteam.de> - 2019-03-13 22:00 +0100
  Re: systemd error Curt <curty@free.fr> - 2019-03-09 10:30 +0100
    Re: systemd error Default User <hunguponcontent@gmail.com> - 2019-03-10 03:40 +0100
      Re: systemd error Curt <curty@free.fr> - 2019-03-10 10:40 +0100
        Re: systemd error Cindy-Sue Causey <butterflybytes@gmail.com> - 2019-03-10 15:10 +0100

csiph-web