- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: stop after local profile
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
10-21-2004 10:04 PM
10-21-2004 10:04 PM
stop after local profile
I use an remsh (xterm on a remote server)
after the local profile (/users/username/.profile) no prompt appears.
Is there another file after the local profile used ??
Thanks
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 10:21 PM
10-21-2004 10:21 PM
Re: stop after local profile
Try putting "echo done" at the end of the .profile, see if it actually gets to the very end.
If it doesn't, put "set -x" at the start of the .profile to enable shell tracing. You should then be able to see how far it gets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 10:24 PM
10-21-2004 10:24 PM
Re: stop after local profile
I have the same case. I'm with a NIS and NFS environment, with many users and machines. Some useres can log in successfully, but a few users cannot log in in a few machines. The /etc/profile, /users/username/.profile and /users/username/.kshrc are executed succesfully, but they cannot get pompt.
Is there any temporal file to be deleted? Is ksh accessing to any other files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 10:27 PM
10-21-2004 10:27 PM
Re: stop after local profile
PS1
is being set in the .profile
something on the lines of
export PS1="#"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 10:33 PM
10-21-2004 10:33 PM
Re: stop after local profile
Any suggestion?
Thanks anyway :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 10:36 PM
10-21-2004 10:36 PM
Re: stop after local profile
put a 'set -x' at the start of your profile and you should be able to see where it is waiting at.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 10:44 PM
10-21-2004 10:44 PM
Re: stop after local profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 11:00 PM
10-21-2004 11:00 PM
Re: stop after local profile
It worked. It seemed that the .sh_history was locked by the NFS server :S.
The solution is changing the .sh_history for a local one or putting permissions to 000, so the file cannot be accessed and this step skipped.
Thanks for your help :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 11:24 PM
10-21-2004 11:24 PM
Re: stop after local profile
for the answers. Really PS1 is not set.
But I cant set PS1.
And on the other side.
It is everything ok when i write
the IP Adress an hostname from the remote-computer in the server /etc/hosts.
Any idea
Thanks Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2004 12:30 AM
10-22-2004 12:30 AM
Re: stop after local profile
IE: mv /users/username/.profile /users/username/.profile.bad
Does it work then?
On remote host - what is the shell of the user? is it the same as localhost?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2004 01:19 AM
10-22-2004 01:19 AM
Re: stop after local profile
PS1 you can set,e.g,. by this way:
export PS1='$LOGNAME'"@"`hostname`":"'$PWD'"#
for all variables have a look on man of your shell
br Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2004 01:59 AM
10-22-2004 01:59 AM
Re: stop after local profile
Goodluck,
Govind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2004 02:00 AM
10-22-2004 02:00 AM
Re: stop after local profile
-Govind