ChinaUnix.net
相关文章推荐:

怎么使普通用户可以执行超级用户文件

刚看到一篇文章,讲述了用asroot命令实现普通用户执行超级用户权限的功能,觉得非常实用。但可惜是在SCO上实现的。有没有人知道在digital上如何实现这一功能?因为最近我想编一个程序,可以普通用户下自动踢掉非法登录的远程机器

by zhhb99 - 其他UNIX - 2003-09-05 10:45:14 阅读(1207) 回复(1)

相关讨论

关机、修改时间、杀终端: 用vi编辑 /etc/auth/subsystems/root 加入一行[用户名:shutdown,asktime,kill,killall] 同样在/etc/auth/system/authorize中加入上一行; 拷贝/etc/asktime 到 /tcb/files/rootcmds目录下 拷贝/bin/kill 到 /tcb/files/rootcmds目录下 通过上述修改后可在$提示符下执行超级用户的权限 也可用我编辑一个简单shell执行 while true do clear echo " [06;28H" [0m" ? 管理员菜单 " echo " [0...

by jqlscsl - 其他UNIX - 2003-09-30 10:19:38 阅读(3569) 回复(25)

同题,我用chmod和chown还是不行。

by yanyan2011 - 其他UNIX - 2004-04-03 23:23:17 阅读(1165) 回复(9)

bash# ls -al test.sh ---------- 1 root admin 0 Sep 1 15:27 test.sh bash# echo ls > test.sh bash# cat test.sh ls bash# sh test.sh test test.sh test1 test2 test3 bash#

by 20040925 - Shell - 2009-09-16 09:31:12 阅读(1840) 回复(15)

普通用户执行sar 的时候出现 sar: The file access permissions do not allow the specified action. 或者Permission Denied 用root执行没有问题

by indigo - AIX - 2005-01-15 12:10:45 阅读(2425) 回复(6)

使用svmon可以观察内存,但普通用户不够权限。应该怎么做呀?

by indigo - AIX - 2005-02-25 17:48:22 阅读(1529) 回复(5)

出于安全起见, 我不想把passwd中的普通用户用户标识号改为超级用户的标识, 从而达到普通用户拥有超级用户的权限, 去执行某些系统命令. 请问有简单一些的方法吗?

by 蹦蹦跳鱼 - 其他UNIX - 2003-03-29 23:25:25 阅读(1898) 回复(12)

如何在普通用户执行超级用户的命令进行一些管理工作,不知道哪位同仁有详细的配置资料。请教与小虾我,谢谢。

by 9998_chm - 其他UNIX - 2004-08-20 13:22:29 阅读(752) 回复(6)

我在使用/tcb/bin/asroot kill -9 $a 时的提示,不知道是怎么回事 asroot:/tcb/files/rootcmds/kill:file control database inconsistency asroot:the system's integrity may be compromised .run integrity

by pp - 其他UNIX - 2003-09-04 06:48:48 阅读(469) 回复(0)

用什么方法可以普通用户变为超级用户?:em10: [ 本帖最后由 lunchan 于 2006-11-6 22:40 编辑 ]

by 青春心蓝 - 系统管理 - 2006-11-07 18:32:28 阅读(1388) 回复(16)

现有一普通用户user1下的脚本a.sh,需要访问系统日志如/var/log/messages,怎么才能做到? 貌似设置s权限可以解决问题,请问如何在root用户里设置s权限?

by thelee - Shell - 2007-06-14 17:07:57 阅读(970) 回复(5)