乔部落格

世界上有10种人:认识二进制的和不认识二进制的

Linux用户添加sudoer

joe posted @ 2010年4月24日 17:03 in Unix/Linux with tags sudoer , 1952 阅读

使用sudo可以在以非root用户登录时临时获得root权限,并执行需要的命令。可以使用sudo的用户可以叫做sudoer。
添加sudoer的方法(假设您已经安装sudo):执行
# visudo

# sudoedit
提示:
有些发行版的sudo提供了sudoedit,有的则提供了visudo,功能上基本是一样的。你也可以使用其他编辑器如vi进行编辑/etc/sudoers,但由于文件是只读的,请强制保存(如w!)或去除只读属性再保存。查找
root ALL=(ALL) ALL
在下面加入
%adm ALL=(ALL) ALL
如果sudo时不想输入密码,可以把上句改成:
%adm ALL=(ALL) NOPASSWD: ALL
保存文件,然后执行
#gpasswd -a 用户名 adm
然后这个用户就可以用sudo了。

CBSE 7th Class Model 说:
2022年9月19日 17:24

For the upper primary school class 7th standard board pupils enrolled in public or private schools nationwide, the Central Board of Secondary Education has issued sample model papers with study guides and prior years' old test previous papers in PDF format. CBSE 7th Class Model Paper For evaluation-1, evaluation-2, evaluation-3, and evaluation-4 exams held under Term-1, Term-2, Term-3, and Term-4 exams of Paper-1 & Paper-2 or Part-A & Part-B Section for all subjects of the course for all Hindi medium, English medium, Urdu medium, and another regional language student, the board has designed those CBSE 7th Class Model Paper 2023.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter