ChinaUnix.net
相关文章推荐:

centos sudoers

我没有在sudoers列表中用不起sudo,man了一下sudoers,太复杂了,没看懂到,还关系到一个叫什么来着的语言的,不知哪位教教我?就比如我想加一个叫user的用户,怎么写呢?

by LaoLang_cool - 系统管理 - 2006-03-25 10:05:45 阅读(877) 回复(3)

相关讨论

请问,我使用vi /etc/sudoers加入: User_Alias GURU=lql Cmd_Alias FILE_TOOLS=/bin/ls,/bin/cat GURU ALL=FILE_TOOLS 此时在lql$下执行: $sudo ls -l passwd:******* Sorry,user lql is not allowed to execute '/bin/ls -l' as root on localhost.localdomain 这是为什么?

by lqlayy - Linux论坛 - 2005-09-06 21:45:32 阅读(1186) 回复(4)

如何配置这个文件sudoers 给个配置实例,我配置的好像不对 # sudoers file. # # This file MUST be edited with the 'visudo' command as root. # # See the sudoers man page for the details on how to write a sudoers file. # # Host alias specification # User alias specification # Cmnd alias specification # Defaults specification # User privilege specification root ALL=(ALL) ALL # Uncomment to allow...

by csona - Linux论坛 - 2004-01-14 17:25:30 阅读(966) 回复(6)

通过这个文件可以限制用户shell进来只能执行固定的几个命令吗? 如果可以如何实现? 谢谢!

by zhaobin81 - Shell - 2009-07-02 16:48:33 阅读(1418) 回复(5)

/etc/sudoers 只是一个 ASCII English text 为什么书上说: 不能用vi 来修改?

by anthonyfeng - 系统管理 - 2006-06-09 01:23:53 阅读(1047) 回复(6)

原本想测试普通用户test在通过使用sudo获得cat /etc/sudoers的权利,没想到添加完命令后却不能执行。sudoers代码如下: [root@localhost root]# cat /etc/sudoers # sudoers file. # # This file MUST be edited with the 'visudo' command as root. # # See the sudoers man page for the details on how to write a sudoers file. # # Host alias specification # User alias specification User_Alias ADMIN = test # Cmnd...

by smallfish - 系统管理 - 2006-03-03 15:20:37 阅读(799) 回复(4)

只能用visudo或vi改? 我用ue通过ftp改好像总出错

by canyon - Solaris - 2005-12-05 13:07:41 阅读(850) 回复(1)

linux7.2 在网上下的sudo-1.6.3p7-2.i386.rpm 应该说是可以为普通用户指定特定特权的。 下面是我的sudoers配置文件:: # sudoers file. # # This file MUST be edited with the 'visudo' command as root. # # See the sudoers man page for the details on how to write a sudoers file. # # Host alias specification # User alias specification User_Alias ROOTBEST=wjc User_Alias ROOTER=wjl,xsl # Cmnd alias specif...

by wjlxsl - Linux论坛 - 2003-10-29 11:34:37 阅读(739) 回复(2)

我在宿机查看: [root@vm-master ~]# modinfo tun filename: /lib/modules/2.6.18-92.1.18.el5.028stab060.2/kernel/drivers/net/tun.ko alias: char-major-10-200 license: GPL author: (C) 1999-2004 Max Krasnyansky <[email]maxk@qualcomm.com[/email]> description: Universal TUN/TAP device driver srcversion: 0B908E18D8A2FF9F3E0A814 depends: vermagic: 2.6.18-92....

by liang3391 - 服务器应用 - 2009-04-08 16:57:34 阅读(2605) 回复(3)

有用过centos的吧, 说说centos4和rhel4有什么感觉上的不同,安装和使用还顺利吗, 相对于rhel4是不是改进了些许的bug,? 还有什么问题吗?

by AlexChao - Linux论坛 - 2005-03-20 16:37:13 阅读(715) 回复(0)

centos是Linux的一个发行版。 特点: === 1、可以把centos理解为Red Hat AS系列!它完全就是对Red Hat AS进行改进后发布的!各种操作、使用和RED HAT没有区别! 2、centos完全免费,不存在RED HAT AS4需要序列号的问题。 3、centos独有的yum命令支持在线升级,可以即时更新系统,不像RED HAT那样需要花钱购买支持服务! 4、centos修正了许多RED HAT AS的BUG! 呵呵,保留了RED HAT AS的优势,去掉了RED HAT AS 的限制,为什...

by Nanu - Linux论坛 - 2006-08-11 14:56:49 阅读(5032) 回复(28)