- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: user's can't issue ignite
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
02-19-2003 05:59 AM
02-19-2003 05:59 AM
we wanted to automate the OS and application installation on all unix platforms. In HP-UX i have created ignite server and depots of all applications. Only the root user can issue the ignite command to start the installation, for other users it says:
You must have super-user permissions to use this tool.
I wanted all users to have execute permission on ignite, so that they can install OS and applications according to their environment without asking sys admin.
thanx in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 06:03 AM
02-19-2003 06:03 AM
Re: user's can't issue ignite
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 06:06 AM
02-19-2003 06:06 AM
Re: user's can't issue ignite
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 06:07 AM
02-19-2003 06:07 AM
Re: user's can't issue ignite
-r-xr-xr-x 1 bin bin 180224 Apr 21 2001 ignite
ignite has already execute permission by defalut to everyone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 06:18 AM
02-19-2003 06:18 AM
Re: user's can't issue ignite
# chmod u+s whatever
I don't know for certain that this will work, but it's worth a shot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 06:21 AM
02-19-2003 06:21 AM
Re: user's can't issue ignite
Actually, to me, that makes sense. There is no way I would want Joe User out there deciding he didn't like something about his workstation's behavior and re-Igniting it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 06:29 AM
02-19-2003 06:29 AM
Re: user's can't issue ignite
chmod u+s ignite
even now user can't initiate ignite
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 06:32 AM
02-19-2003 06:32 AM
Re: user's can't issue ignite
#include
main()
{
setresuid(0,0,0);
exit (system ("/opt/ignite/bin/ignite"));
}
# chown root:sys ...
# chmod 4555 ...
WARNING:
Don't expect any security from a system with whis thing installed. Don't say I didn't warn you. :)
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 06:40 AM
02-19-2003 06:40 AM
Re: user's can't issue ignite
#chown root:sys ignite
doesn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 06:46 AM
02-19-2003 06:46 AM
Re: user's can't issue ignite
- save proggi as iux-suid.c
- compile it
cc -o iux-suid iux-suid.c
- chmod 4555 iux-suid
- chown root:sys iux-suid
Then run iux-suid as non-root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 07:00 AM
02-19-2003 07:00 AM
Re: user's can't issue ignite
pls can you be more clear, i am not understanding proggi. file ignite says it's only executable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 07:06 AM
02-19-2003 07:06 AM
Re: user's can't issue ignite
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 07:08 AM
02-19-2003 07:08 AM
Solutionsimply take the source code, compile it and change its permissions/ownership. It's a wrapper... that means it a program (little program == proggie) that can be called by your users and which itself calls the original ignite program.
The trick is, it tweaks Ignite by calling the system call setresuid() before.
Hope, it's clear now.
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 07:15 AM
02-19-2003 07:15 AM
Re: user's can't issue ignite
#include
main()
{
setresuid(0,0,0);
exit (system ("/opt/ignite/bin/ignite"));
}
Then you have to compile the file:
$ cc -o iux-suid iux-suid.c
$ chown root:sys iux-suid
$ chmod 4555 iux-suid
This wrapper (iux-suid) switches the user-id to root and then starts ignite. So you can change the permissions of /opt/ignite/bin/ignite back to it's original values. Then you have to run
$ iux-suid
to start ignite.
Jochen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 07:24 AM
02-19-2003 07:24 AM
Re: user's can't issue ignite
I don't know about this....
I guess I don't like to live *that* dangerously. If they're that capable - that they know how to properly use Ignite - they might as well be SAs.
My $0.02,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 07:50 AM
02-19-2003 07:50 AM
Re: user's can't issue ignite
users doesn't call any program in my case.
users just login to ignite server using their id's and execute ignite. it should yield the result.
It's working well in AIX (NIM - network installation management). I don't the problem with HP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 08:04 AM
02-19-2003 08:04 AM
Re: user's can't issue ignite
Thanx a lot, wrapper did the job