- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sam and netconf
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
04-25-2002 07:13 AM
04-25-2002 07:13 AM
I am looking at setting up restricted sam for my network guys to add routes -
Can it be done and will the netconf file get updated.
Paula
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:20 AM
04-25-2002 07:20 AM
Re: Sam and netconf
Would sudo be an option for you? You could set up sudo so that they just have access to the route command. The only problem is that that wouldn't update your netconf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:21 AM
04-25-2002 07:21 AM
Re: Sam and netconf
Hi - I've used restricted SAM some, and I believe that there would be no problems with what you want to do. I'd set up a test user and try it first though.
tx,
c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:23 AM
04-25-2002 07:23 AM
Re: Sam and netconf
Patrick
I though I was going mad as I sure that SAM had the ability to add routes!!!!
Lots of searching in SAM but nothing - is it just me or does it not exist.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:25 AM
04-25-2002 07:25 AM
Re: Sam and netconf
My problem is where is the option??
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:27 AM
04-25-2002 07:27 AM
Re: Sam and netconf
If it's there it's extremely buried - I've never found it.
I've always used the route command.
I think sudo is your best bet & you could sudo the vi /etc/rc.config.d/netconf command as well.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:34 AM
04-25-2002 07:34 AM
Re: Sam and netconf
Hmmm - ok see your point, what about adding a custom application under SAM that would in fact be a script that you create to take the information, check it, then run the commands neccessary to add the route?
tx,
c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:42 AM
04-25-2002 07:42 AM
SolutionYes ! You can do it through SAM.
For 10.20: SAM-> Network and Communications->Select Internet Address ->Select Actions->Select Add ->Read the confirmation menu about adding address and static routes-> Add the address->Now you will see an option to add gateways and static routes.
For 11.0: SAM->Network and Communications->Hosts->Loacl hosts file->Actions-> Add ....etc
Check the SAM help anytime. It will add the route entries to netconf file too.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:53 AM
04-25-2002 07:53 AM
Re: Sam and netconf
In sudo you can specify a directory that contains the ONLY commands that a sudo user can run.
You could place scripts in there that will only call the route & vi /etc/rc.config.d/netconf
commands & of course these could be interactive, doing data validity checks & such to keep "garbage" out.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 08:08 AM
04-25-2002 08:08 AM
Re: Sam and netconf
I never got to use SAM to configure static routes and looks like it is missing in 11.0.
How about writing a small script that prompts
the user to input different parameters, try adding the route and upon success, add it to the netconf file. Failure to add route means either the entry is already present or it's a bad static route. I promise that you would have to do a lot of work if you intend to write a script. Ofcourse, you know that you can add it to SAM as a custom application once it is written.
Even with sudo, you will need to write this script and installing sudo is an additional step.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 12:27 AM
04-26-2002 12:27 AM
Re: Sam and netconf
Shiju was right - that's where it is.
When you get there it looks like it is only dealing with the hosts file, but as you go into the add part it makes sense.
route add xxx.xxx.xxx.xxx is far easier and then vi the netconf and manually add it.
But I find network guys/gals and VI are an unsafe mix hence me looking for a safer option.
I already allow the use of restricted SAM so keeping it simple and using SAM for this was best option.
Thanks to all