- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Login Problem
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
08-23-2000 12:54 AM
08-23-2000 12:54 AM
After login, the content of the /etc/motd is display but the $ prompt doesn't prompt out.I have to ctrl-c to make it prompt.
Please advise and thanks in advance
Regards,
Pat
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 01:09 AM
08-23-2000 01:09 AM
Re: Login Problem
This sounds like a problem with the /etc/profile script. After it displays the /etc/motd file it goes on to check your mail, then news. Try commenting these 2 commands, one at a time, out of /etc/profile to establish which is causing your login to not display a prompt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 01:21 AM
08-23-2000 01:21 AM
Re: Login Problem
find / -anewer .dtprofile
this will give you a list of files, that got accessed after your login.
one of them, triggered either by .dtprofile or .profile (most likely) will be the hanging culprit.
less likely: a problem with /etc/dt/config/Xsession
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 05:39 AM
08-23-2000 05:39 AM
Re: Login Problem
sh -x /etc/profile
or
sh -xv /etc/profile
The former shows the commands when they are executed and the -v option shows the original lines (including comments) as the script runs. When a command seems to hang, that's the culprit.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 06:04 AM
08-23-2000 06:04 AM
Re: Login Problem
Do you have to do ctrl-c or does space bar work also?
I have seen people modify /etc/motd making it so long they have put
Just thoughts...
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 06:19 PM
08-24-2000 06:19 PM
Re: Login Problem
I found out that system could not open remote accept socket.Nothing deal with /etc/profile file.
How to set the fcntl (F_SETPD)?
Thanks in Advance
Regards,
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 07:31 PM
08-24-2000 07:31 PM
Re: Login Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 10:07 PM
08-24-2000 10:07 PM
Re: Login Problem
What are the permission for /etc/profile and $HOME/.profile? Copy .profile to profile.old. Copy /etc/skel/profile to .profile. Chmod .profile to be under user ownership. Try to login. Is it the same?
One more thing about patches...Which OS version are you using at which patch revision?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 10:32 PM
08-24-2000 10:32 PM
Re: Login Problem
The permission for /etc/profile is rwxr-xr-x.There is no /etc/skel/profile.
The is no $home/.profile exist.System taking the default profile ( /etc/profile )
This problem only occur for those user from same mount-point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 10:50 PM
08-24-2000 10:50 PM
Re: Login Problem
Can you, please, create a local user as test, with the home directory in a local fs in that machine? Can it login with no problem?
Can you, create a .profile under a user home directory (attention at permission and ownership). Is this one logging with no problem?
Are you using automount or how do you use to mount remote fs with users home directory? I mean what option do you use for exported fs (see in the remote box /etc/exports file)?
And the last question, before all those, when you login as a general use, and press ctrl-c to get $. Can you please type pwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 10:54 PM
08-24-2000 10:54 PM
SolutionIf they are using ksh or csh, their is a known problem with this if the OS is 10.20
You need to apply the latest NFS patches to the NFS server AND clients
or their is a workaround to point the users HISTORY file to a non-nfs mounted directory.
as in :
export HISTFILE=/tmp/userhistfile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 12:00 AM
08-25-2000 12:00 AM
Re: Login Problem
This cause by the HISTFILE.