- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: login prompt not display
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 12:25 AM
03-02-2009 12:25 AM
login prompt not display
I have a problem with one of my trusted server. I have a user ftpuser sharing a user directory with other server's user ftpuser. When I try to telnet or ssh into the trusted server, I am stop at the last part of the profile script and no prompt will appear. The login seems to have hanged and I cannot kill the login.
Need some advise.
regards
tuck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 12:30 AM
03-02-2009 12:30 AM
Re: login prompt not display
Check the login shell. This user may not be given with shell access and only given ftp access.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 01:02 AM
03-02-2009 01:02 AM
Re: login prompt not display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 01:41 AM
03-02-2009 01:41 AM
Re: login prompt not display
As far I know, trusted configuration will not stop the login by any means. If you suspect issue with user profile, you can rename and test it.
Also note that profile will be executed after you issued username and password. If you are not even getting login prompt, then you cannot suspect profile. If you get login prompt, and session hangs after issuing password then it could be user profile issue.
Can you post the following output?
#grep
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 02:46 AM
03-02-2009 02:46 AM
Re: login prompt not display
Try to kill the process of telnet and ssh
Again start telnet & ssh process
Try again by telnet
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 03:36 AM
03-02-2009 03:36 AM
Re: login prompt not display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 09:06 AM
03-02-2009 09:06 AM
Re: login prompt not display
Yeah, but does the user trying to do this have a valid shell in /etc/password?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 09:55 AM
03-02-2009 09:55 AM
Re: login prompt not display
You should use "set -x" in your .profile to see what command is hanging. What command does ps(1) show is running?
UNIX95=EXTENDED_PS ps -Hfu user-name
>Mark: Can you switch to that user when already logged in as someone else?
You might try this su with and without the "-".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 05:35 PM
03-02-2009 05:35 PM
Re: login prompt not display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 05:38 PM
03-02-2009 05:38 PM
Re: login prompt not display
I have new message, after I su to the user, I try to do a ls or pwd. Error message cannot access parent directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 08:21 PM
03-02-2009 08:21 PM
Re: login prompt not display
This indicates a .profile problem. In the past on 10.20, there used to be hangs if your history file was on NFS.
>after I su to the user, I try to do a ls or pwd. Error message cannot access parent directory.
What directory are you in? Do "echo $PWD".
(This is without the "-"?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 09:39 PM
03-02-2009 09:39 PM
Re: login prompt not display
$echo $PWD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 10:32 PM
03-02-2009 10:32 PM
Re: login prompt not display
Also let me know the shell which he is using
# cat /etc/passwd | grep
# cat
You could also do the following if you are using /usr/bin/sh shell
# mv
# cp /etc/skel/.profile
Check if you are able to login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 10:51 PM
03-02-2009 10:51 PM