manjaro 未修改 /etc/sudoers 文件參考

## sudoers file.

##

## This file MUST be edited with the 'visudo' command as root.

## Failure to use 'visudo' may result in syntax or file permission errors

## that prevent sudo from running.

##

## See the sudoers man page for the details on how to write a sudoers file.

##

##

## Host alias specification

##

## Groups of machines. These may include host names (optionally with wildcards),

## IP addresses, network numbers or netgroups.

# Host_Alias WEBSERVERS = www1, www2, www3

##

## User alias specification

##

## Groups of users.? These may consist of user names, uids, Unix groups,

## or netgroups.

# User_Alias ADMINS = millert, dowdy, mikef

##

## Cmnd alias specification

##

## Groups of commands.? Often used to group related commands together.

# Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \

# ? ? /usr/bin/pkill, /usr/bin/top

# Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff

##

## Defaults specification

##

## You may wish to keep some of the following environment variables

## when running commands via sudo.

##

## Locale settings

# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"

##

## Run X applications through sudo; HOME is used to find the

## .Xauthority file.? Note that other programs use HOME to find?

## configuration files and this may lead to privilege escalation!

# Defaults env_keep += "HOME"

##

## X11 resource path settings

# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"

##

## Desktop path settings

# Defaults env_keep += "QTDIR KDEDIR"

##

## Allow sudo-run commands to inherit the callers' ConsoleKit session

# Defaults env_keep += "XDG_SESSION_COOKIE"

##

## Uncomment to enable special input methods.? Care should be taken as

## this may allow users to subvert the command being run via sudo.

# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"

##

## Uncomment to use a hard-coded PATH instead of the user's to find commands

# Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

##

## Uncomment to send mail if the user does not enter the correct password.

# Defaults mail_badpass

##

## Uncomment to enable logging of a command's output, except for

## sudoreplay and reboot.? Use sudoreplay to play back logged sessions.

# Defaults log_output

# Defaults!/usr/bin/sudoreplay !log_output

# Defaults!/usr/local/bin/sudoreplay !log_output

# Defaults!REBOOT !log_output

##

## Runas alias specification

##

##

## User privilege specification

##

root ALL=(ALL) ALL

## Uncomment to allow members of group wheel to execute any command

# %wheel ALL=(ALL) ALL

## Same thing without a password

# %wheel ALL=(ALL) NOPASSWD: ALL

## Uncomment to allow members of group sudo to execute any command

# %sudo ALL=(ALL) ALL

## Uncomment to allow any user to run sudo if they know the password

## of the user they are running the command as (root by default).

# Defaults targetpw? # Ask for the password of the target user

# ALL ALL=(ALL) ALL? # WARNING: only use this together with 'Defaults targetpw'

## Read drop-in files from /etc/sudoers.d

## (the '#' here does not indicate a comment)

#includedir /etc/sudoers.d

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
禁止轉(zhuǎn)載机断,如需轉(zhuǎn)載請(qǐng)通過(guò)簡(jiǎn)信或評(píng)論聯(lián)系作者。
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市苦丁,隨后出現(xiàn)的幾起案子物臂,更是在濱河造成了極大的恐慌,老刑警劉巖蛾狗,帶你破解...
    沈念sama閱讀 218,122評(píng)論 6 505
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件仪媒,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡留凭,警方通過(guò)查閱死者的電腦和手機(jī)偎巢,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,070評(píng)論 3 395
  • 文/潘曉璐 我一進(jìn)店門压昼,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái),“玉大人窍霞,你說(shuō)我怎么就攤上這事∥嗵桑” “怎么了?”我有些...
    開封第一講書人閱讀 164,491評(píng)論 0 354
  • 文/不壞的土叔 我叫張陵巩踏,是天一觀的道長(zhǎng)续搀。 經(jīng)常有香客問(wèn)我,道長(zhǎng)彪杉,這世上最難降的妖魔是什么牵咙? 我笑而不...
    開封第一講書人閱讀 58,636評(píng)論 1 293
  • 正文 為了忘掉前任,我火速辦了婚禮渴丸,結(jié)果婚禮上另凌,老公的妹妹穿的比我還像新娘。我一直安慰自己吠谢,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,676評(píng)論 6 392
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著王污,像睡著了一般。 火紅的嫁衣襯著肌膚如雪刃麸。 梳的紋絲不亂的頭發(fā)上司浪,一...
    開封第一講書人閱讀 51,541評(píng)論 1 305
  • 那天,我揣著相機(jī)與錄音吁伺,去河邊找鬼租谈。 笑死捆愁,一個(gè)胖子當(dāng)著我的面吹牛窟却,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播夸赫,決...
    沈念sama閱讀 40,292評(píng)論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼茬腿,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了握础?” 一聲冷哼從身側(cè)響起悴品,我...
    開封第一講書人閱讀 39,211評(píng)論 0 276
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎,沒(méi)想到半個(gè)月后夸研,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 45,655評(píng)論 1 314
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡悼沈,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,846評(píng)論 3 336
  • 正文 我和宋清朗相戀三年絮供,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了茶敏。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 39,965評(píng)論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡贮乳,死狀恐怖恬惯,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情浓恳,我是刑警寧澤,帶...
    沈念sama閱讀 35,684評(píng)論 5 347
  • 正文 年R本政府宣布梢夯,位于F島的核電站吆鹤,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏疑务。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,295評(píng)論 3 329
  • 文/蒙蒙 一撒蟀、第九天 我趴在偏房一處隱蔽的房頂上張望温鸽。 院中可真熱鬧,春花似錦姑尺、人聲如沸蝠猬。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,894評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)匆绣。三九已至,卻和暖如春崎淳,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背茵瘾。 一陣腳步聲響...
    開封第一講書人閱讀 33,012評(píng)論 1 269
  • 我被黑心中介騙來(lái)泰國(guó)打工咐鹤, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人雕旨。 一個(gè)月前我還...
    沈念sama閱讀 48,126評(píng)論 3 370
  • 正文 我出身青樓,卻偏偏與公主長(zhǎng)得像棒搜,于是被迫代替她去往敵國(guó)和親活箕。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,914評(píng)論 2 355

推薦閱讀更多精彩內(nèi)容

  • sudo 使用 su 切換身份真的是很簡(jiǎn)單啦~不過(guò)克蚂, su 卻有一個(gè)很嚴(yán)重的問(wèn)題埃叭, 那就是.....我們必須要知道...
    二十一克拉靈魂閱讀 807評(píng)論 0 0
  • pyspark.sql模塊 模塊上下文 Spark SQL和DataFrames的重要類: pyspark.sql...
    mpro閱讀 9,454評(píng)論 0 13
  • NAME dnsmasq - A lightweight DHCP and caching DNS server....
    ximitc閱讀 2,860評(píng)論 0 0
  • 先來(lái)看下配置文件里都代表什么含義: ## Sudoers allows particular users to r...
    nooops閱讀 2,585評(píng)論 0 1
  • 依賴注入又叫控制反轉(zhuǎn)赤屋,使用過(guò)框架的人應(yīng)該都不陌生壁袄。很多人一看名字就覺得是非常高大上的東西,就對(duì)它望而卻步涩僻,今天抽空...
    叫我峰兄閱讀 1,354評(píng)論 0 3