Skip to content

Commit d78afd2

Browse files
committed
Tweak the style of sudoers file
1 parent 60bed94 commit d78afd2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lkmpg.tex

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -323,13 +323,10 @@ \subsection{The Simplest Module}
323323
\item {You can preserve environment variables by appending them to \verb|env_keep| in \verb|/etc/sudoers|.
324324
325325
\begin{code}
326-
## sudoers file.
327-
##
328-
...
329-
Defaults env_keep += ``ftp_proxy http_proxy https_proxy no_proxy PWD''
326+
Defaults env_keep += "PWD"
330327
\end{code}
331328
332-
After finishing setting modification, you can check the environment variable settings by:
329+
After applying the above change, you can check the environment variable settings by:
333330
334331
\begin{verbatim}
335332
$ sudo -s

0 commit comments

Comments
 (0)