![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to pass variables to 3rd party unix menu? | ctcuser | Shell Programming and Scripting | 3 | 02-21-2005 03:30 PM |
| Unix Menu program | hedrict | UNIX for Dummies Questions & Answers | 4 | 02-18-2002 11:19 AM |
| Menu driven using Ksh | krishna | UNIX for Advanced & Expert Users | 3 | 10-20-2001 11:28 PM |
| menu driven ( like pine) on Linux | amit | High Level Programming | 2 | 10-12-2001 12:30 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Menu Driven UNIX Admin
I need to have a script that can do an automated IPL function (how to reboot the box). I think ‘reboot’ would do the trick.
However, how would I go about doing it, for example if the user states from a menu script that I would like to reboot now. The problem is when I do the ‘reboot’ command I get a message (obviously) because I am not the super user. But I do have another gem network in which I have root superuser access. So how would I from the below script which I need to write whilst I am not in super user mode do the ‘reboot’ command from the normal user mode. Is there a way of having, for example when the user chooses option 1, then it states enter the other gem network root username and password (so i am the superuser) and then be able to do the ‘reboot’ command? I hope I have not made it difficult to understand for you. ......Code carries on for the other 3 options Last edited by ad4m88; 03-31-2008 at 12:50 PM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|