- 论坛徽章:
- 0
|
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. |
|