GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ldap and .sh_history
Operating System - HP-UX
1855926
Members
13726
Online
104107
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-11-2003 12:45 PM
09-11-2003 12:45 PM
ldap and .sh_history
Hello everyone ..
I have an ldap env ..
each user does not have their own home dir but a shared directory. /eteam
i put a .profile in the directory eteam and added the .sh_history var
HISTFILE=/eteam/.sh_history
HISTSIZE=200000
export HISTFILE HISTSIZE
history is working .. i can use esc-k and i see the histry but there is no /eteam/.sh_history file.
Did i miss something ? what can i do to get a .sh_history file in the /eteam dir? If possible i would like it to be .user_sh_history.,
Thanks
Richard
I have an ldap env ..
each user does not have their own home dir but a shared directory. /eteam
i put a .profile in the directory eteam and added the .sh_history var
HISTFILE=/eteam/.sh_history
HISTSIZE=200000
export HISTFILE HISTSIZE
history is working .. i can use esc-k and i see the histry but there is no /eteam/.sh_history file.
Did i miss something ? what can i do to get a .sh_history file in the /eteam dir? If possible i would like it to be .user_sh_history.,
Thanks
Richard
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 12:58 PM
09-11-2003 12:58 PM
Re: ldap and .sh_history
If /eteam is NFS, then you will have BIG problems due to the need to perform file locking on the history file. Keep the shell history file local. And since there will be no way to sort out who typed what in a single file, setup your shell files this way:
export HISTFILE=/eteam/${LOGNAME}.sh_history
export HISTSIZE=1000
export EDITOR=/usr/bin/vi
Bill Hassell, sysadmin
export HISTFILE=/eteam/${LOGNAME}.sh_history
export HISTSIZE=1000
export EDITOR=/usr/bin/vi
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 01:15 PM
09-11-2003 01:15 PM
Re: ldap and .sh_history
Hi .. i tried that and it is still the same thing. History works .. but i dont see a history file in /eteam which is not an nfs mount.
richard
richard
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP