ChinaUnix.net
相关文章推荐:

sudo passphrase 是什么

我用sudo授权一个用户具有kill权限,在执行sudo kill -9命令时出现以下提示: We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. 我的英语水平低,谁能帮我翻译一下,解释的详细更好!!

by shenglqlcsd - 系统管理 - 2006-06-30 15:26:46 阅读(1430) 回复(3)

相关讨论

scp和sudo是什么命令呢?有谁知道,请赐教!

by hanccy - 系统管理 - 2004-09-13 14:54:49 阅读(684) 回复(2)

sudo 常用方式: sudo sudo命令详解: 功能说明:以其他身份来执行指令。   语  法:sudo [-bhHpV][-s ][-u ][指令] 或 sudo [-klv]   补充说明:sudo可让用户以其他的身份来执行指定的指令,预设的身份为root。在/etc/sudoers中设置了可执行sudo指令的用户。若其未经授权的用户企图使用sudo,则会发出警告的邮件给管理员。用户使用sudo时,必须先输入密码,之后有5分钟的有效期限,超过期限则必须重新输入密码。   ...

by zfengyue - AIX文档中心 - 2008-11-17 01:56:47 阅读(1928) 回复(0)

sudo是允许系统管理员让普通用户执行一些或者全部的root命令的一个工具,如halt,reboot,su等等。这样不仅减少了root用户的登陆和管理时间,同样也提高了安全性。sudo不是对shell的一个代替,它是面向每个命令的。它的特性主要有这样几点: § sudo能够限制用户只在某台主机上运行某些命令。 § sudo提供了丰富的日志,详细地记录了每个用户干了什么。它能够将日志传到中心主机或者日志服务器。 § sudo使用时间戳文件来执行...

by atyu30 - BSD文档中心 - 2007-06-18 14:50:36 阅读(866) 回复(0)

1. 安装sudo # cd /usr/ports/security/sudo # make install clean 2. 添加sudoers # visudo -f /usr/local/etc/sudoers 添加 %wheel ALL=(ALL) NOPASSWD: ALL Defaults syslog=auth Defaults logfile=/var/log/sudo.log Cmnd_Alias SHUTDOWN=/sbin/halt,/sbin/shutdown 这样设置就是允许wheel组的用户可以执行任何命令而不需要密码 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/2326/showart_306765....

by yanjing5462 - BSD文档中心 - 2007-05-22 09:27:10 阅读(1090) 回复(0)

[osx@rhas ~]# sudo -l >>> sudoers file: syntax error, line 27 <<< sudo: no passwd entry for root! [osx@rhas ~]# 出现上面的提示, 该如何做,我是想用别名功能 [osx@rhas ~]# cat -n /etc/sudoers 1 # sudoers file. 2 # 3 # This file MUST be edited with the 'visudo' command as root. 4 # 5 # See the sudoers man page for the details on how to write a sudoers file. 6 # ...

by ahlai - Shell - 2007-01-30 10:30:35 阅读(1221) 回复(0)

不知道误操作了什么,sudo出现问题 当我执行sudo时报错: sudo: must be setuid root 请问是怎么回事? /usr/bin/sudo 现在是 -rwxr-xr-x 1 root root 94548 2006-03-02 11:30 sudo 原来是 -rwsr-xr-x 1 root root 94548 2006-03-02 11:30 sudo 我怎么改回去呢? r -4 w -2 x - 1 s 是多少? [ 本帖最后由 chzht001 于 2006-9-6 16:43 编辑 ]

by chzht001 - 系统管理 - 2006-09-06 16:48:18 阅读(594) 回复(1)

请问大家,sudo在使用的时候每次都要输入用户的密码,非常的麻烦,请问有没有其他办法不需要输入密码。

by ancharn - 系统管理 - 2006-03-03 01:33:00 阅读(758) 回复(4)

各位大虾,happy new year 请教各位sudo 安装和使用的一些的情况 谢谢先! 感谢cu!

by qmailer - BSD - 2005-12-31 11:53:20 阅读(1099) 回复(2)

/etc/sudoers如下: admin localhost=/bin/mount /mnt/cdrom 为何admin执行sudo mount /mnt/cdrom提示无权?

by zealy - Linux论坛 - 2003-12-11 10:20:16 阅读(607) 回复(1)