With this flag enabled, sudo will use a file named for the tty the user is logged in on in the user's time stamp directory. If set, users must authenticate on a per-tty basis. Shawn's answer is great but there is an additional configuration option that might be useful in this situation. Value less than 0 the user's timestamp will never expire. Number of minutes that can elapse before sudoĬomponent if minute granularity is insufficient, for example 2.5. (if one is required by the security policy) and will not update the As a result, sudo will prompt for a password Require a password, this option will cause sudoĬached credentials. When used in conjunction with a command or an option that may k When used by itself, the -k (kill) option to sudo invalidates the K The -K (sure kill) option is like -k except that it removes the You can even put the command afterwards, like sudo -k test_my_privileges.sh
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |