There are lines like this in this file: # CONSOLE determines whether attempts to su to root should be logged # to the named device # #CONSOLE=/dev/console #CONSOLE=/dev/console Means log all su attemps to console. CONSOLE=/dev/console Means log only successful su to root to console, /var/adm/sulog only contains ...
我单位使用redhat3,安装oracle8数据库.一次忽然出现故障,无法使用su 注册其他用户,输入用户和密码后就没有反映,用restart重启也没有反应.但是往别的机器上telnet可以.生产机和备用机在不到两个月内相继出现此故障.不知什么原因.备用机每天进行一次备份,其余很少对其进行操作.
我普通用户ssh登录系统,su升级到root,可是此时,系统并不读取 root目录下的.profile文件 我想问,有什么变通方式,让su 到 root 时,也读取..profile吗??谢谢
我知道在自己的目录下.history文件会记录,请问还会在哪里产生su的log记录!!!我使用系统是aix!!就算系统不一样也请DX给个大概!! 谢谢!!!
我在solaris9根下加了个.profile文件设置PATH 现在是这样的情况!我在 sys cons登陆时echo $PATH为设置的PATH 但是我用 netterm用test登陆时我设的PATH和root一样的 但是su成root时后就变了,变成默认状态的PATH了?? 该怎样设置啊!
/etc/default/su 文件中的 console是什么意思,是否注释掉(加#)有什么区别 The CONSOLE variable, by default, is ignored because of the preceding comment (#) symbol. Therefore, all su attempts are logged to the console regardless of success or failure.(su地记录不管成功失败都记录在sulog?)By removing the comment symbol, the value of the CONSOLE variable is defined for /dev/console and all successful ...
su - user $vi /home/user/web/test.cgi $chmod 755 /home/user/web/test.cgi 这个CGI文件通过IE访问是正常的 vsftp上传上去的文件env.cgi内容与test.cgi一样 用flashFXP更改权限为755 无法访问 #vi /usr/local/apache2/logs/error_log 错误显示 [Wed Jun 13 08:36:33 2007] [error] (2)No such file or directory: exec of '/home/user/web/env.cgi' failed 请问这两方式赋予的权限有什么区别,默认安装的apache2.0.58配置CG...