- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Shell history not being written to specified h...
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
Discussions
Discussions
Forums
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
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
тАО04-28-2009 08:43 AM
тАО04-28-2009 08:43 AM
Re: Shell history not being written to specified history file
I don't what you mean be "corrupted" file. It's not using NFS at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 08:44 AM
тАО04-28-2009 08:44 AM
Re: Shell history not being written to specified history file
What does $SHELL show (or your shell entry in /etc/passwd) before you switch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 08:50 AM
тАО04-28-2009 08:50 AM
Re: Shell history not being written to specified history file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 09:23 AM
тАО04-28-2009 09:23 AM
Re: Shell history not being written to specified history file
something of a time long ago comes into my mind:
Tell us please: what is the OS version you use?
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 09:45 AM
тАО04-28-2009 09:45 AM
Re: Shell history not being written to specified history file
$ what /bin/ksh
HP-Server-Literate since 1979
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 10:35 AM
тАО04-28-2009 10:35 AM
Re: Shell history not being written to specified history file
Here's the output:
/bin/ksh:
$ B.11.31 Feb 27 2008 13:41:17 $
Version 11/16/88
builtin.c $Date: 2007/10/25 15:12:29 $Revision: r11.31/1 PATCH_11.31 (PHCO_37285)
test.c $Date: 2008/05/01 15:55:23 $Revision: r11.31/1 PATCH_11.31 (PHCO_38162)
$Revision: @(#) ksh88 R11.31_BL2008_0618_4 PATCH_11.31 PHCO_38162
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 06:16 AM
тАО04-29-2009 06:16 AM
Re: Shell history not being written to specified history file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 09:18 AM
тАО04-29-2009 09:18 AM
Re: Shell history not being written to specified history file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 10:54 AM
тАО04-29-2009 10:54 AM
Re: Shell history not being written to specified history file
possibly...what's the shell listed it /etc/passwd?
2. I don't what you mean be "corrupted" file. It's not using NFS at all.
right, but a suggest was made the echo'ing the date into the file may have corrupted it.
3. Logging in via ssh using Putty.
ok..my original thought was the possibly you were logging in via XWindows and the default profile stuff wasn't being run. that doesn't appear to apply here.
A long shot: You might want to look at the PermitUserEnvironment setting is the sshd config, and see if there is an ~/.ssh/environment file. but be sure to note the warnings in the sshd_config and ssh manpages regarding their use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 07:29 AM
тАО05-01-2009 07:29 AM
Re: Shell history not being written to specified history file
I checked the sshd_config and that PermitUserEnvironment is set to "no".
I'm really at a loss on this one. I have two other servers that are somewhat identical to this one and I can HISTFILE to whatever I want and it works.