- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- system admin scripts
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
тАО02-24-2009 09:54 AM
тАО02-24-2009 09:54 AM
thank you in advance.
OS: HP-UX11.23
Kathy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 09:59 AM
тАО02-24-2009 09:59 AM
Re: system admin scripts
A collection posted on this Forum can be found here:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=51050
The author's opening remarks point to two previous threads of the same.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 10:02 AM
тАО02-24-2009 10:02 AM
Re: system admin scripts
but i meant the scripts that I have developed on my system, which directory is the best place to put them? is it
/usr/local/bin?
thanks agian
Kathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 10:05 AM
тАО02-24-2009 10:05 AM
Re: system admin scripts
If run manually, you would have to use absolute paths or you would have to add that to your PATH.
Do any of these have to run in single user mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 10:09 AM
тАО02-24-2009 10:09 AM
Re: system admin scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 10:50 AM
тАО02-24-2009 10:50 AM
SolutionThere are no hard and fast rules. I usually like /usr/local/bin for scripts that normal users will have to run, /usr/local/sbin for scripts that root and other administrative accounts have to run, and /root/bin for scripts that *only* root should be running.
That's my standard though; your mileage may vary.
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 10:52 AM
тАО02-24-2009 10:52 AM
Re: system admin scripts
I prefer to create a "special" directory used for root's home, e.g. /root directly in / . So it is available in any mode and I'm not at the top of the directory tree by default.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 10:57 AM
тАО02-24-2009 10:57 AM
Re: system admin scripts
Kathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2009 12:31 AM
тАО02-25-2009 12:31 AM
Re: system admin scripts
I put the scripts under my personal login (on /local/bin, /local/sbin) to allply them the version control by RCS.
Once ok I move them in /usr/local/bin, /usr/local/sbin
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2009 01:24 AM
тАО02-25-2009 01:24 AM
Re: system admin scripts
Check /usr/lib/cron/cron.allow
Make sure entry for root & other users is there.