免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2065 | 回复: 7
打印 上一主题 下一主题

[故障求助] AIX 系统拒绝非root登录。请问什么问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-01 20:34 |只看该作者 |倒序浏览
一台AIX系统,不知道什么原因拒绝除了root用户外的所有用户登录。

请问会是什么原因?并且使用root用户登录,再su到普通用户时,提示:

Can't set process environment.

大虾请指点一下

论坛徽章:
0
2 [报告]
发表于 2005-12-02 02:16 |只看该作者
检查系统目录的权限

论坛徽章:
0
3 [报告]
发表于 2005-12-02 08:42 |只看该作者

会不会是因故障自动进入了单用户维护模式?

会不会是因故障自动进入了单用户维护模式?

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2016-05-12 06:20:00
4 [报告]
发表于 2005-12-02 08:47 |只看该作者
/etc/environmnet 文件有问题吗

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
5 [报告]
发表于 2005-12-02 09:59 |只看该作者
3004-009 Failed running login shell.
不能登陆报什么错啊?

论坛徽章:
0
6 [报告]
发表于 2005-12-02 13:18 |只看该作者

pick up bugs

是否有/etc/nologin?
查看/etc/security/user的选项,不知道就man !
还有可能就是shell 的问题, 不要慌.这里有个资料,看看.
3004-009    Failed running login shell
Possible Causes
You tried to log in to a system that has a damaged login shell.

The login shell does not exist.

Procedures for Recovery
If you can log in as the root user, use the System Management Interface Tool (SMIT) to check the Initial PROGRAM attribute for that particular user ID.

Log in to your system as the root user.

Enter smit user at the command line, go to the Change / Show Characteristics of a User option, and enter in the user ID you want to check at the User NAME prompt.

On the next menu, check the Initial PROGRAM attribute to see which login shell the user is in. For example:

/bin/ksh
Either change the Initial PROGRAM that the user is in to another login shell or replace the existing login shell file from another system that has the same release level as your system. Do this either through the network by running the ftp command, or through a diskette by using the backup and restore commands.

When you restore the file, make sure that it preserves the permission code, the ownership, and the location of your previous file.

If you cannot log in as the root user, then reboot your system as single user mode and change the login shell.

First see Accessing a System That Does Not Boot , and perform the steps described to access a system that does not boot from the hard disk. After completing the procedure, return here and continue with the following steps.

Run the cd /bin command, then run the ls -l command.

If you know what your login shell name is, rename it with the mv command. For example:

mv ksh ksh.sav
Create a link to another of the login shells by using the ln command. For example:

ln -s sh ksh
Turn your key mode switch to the Normal position.

Reboot your system login to your system as the root user and try replacing the damaged or missing shell from another system that has the same release level as your system, either through the network by running the ftp command or through a diskette by using the backup and restore commands.

When you restore the file, make sure that it preserves the permission code, the ownership, and the location of your previous file.

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2016-05-12 06:20:00
7 [报告]
发表于 2005-12-02 13:24 |只看该作者
补充一点看看安全设置中有没有程序屏蔽此非root用户的脚本

论坛徽章:
0
8 [报告]
发表于 2005-12-02 17:10 |只看该作者
除了以上各位的建议,可以再检查:
1,文件系统空间
2,smitty chgsys
3,smitty chlicense
检查一下参数设置是否太小,
4,检查/和/home目录的权限.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP