![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SMPlayer: A high quality wrapper | iBot | UNIX and Linux RSS News | 0 | 09-11-2008 03:40 PM |
| What is a wrapper script | thana | UNIX for Dummies Questions & Answers | 1 | 01-28-2008 08:11 AM |
| wrapper for Common Tools | cantgetname | Shell Programming and Scripting | 2 | 02-22-2007 11:25 PM |
| What is wrapper script and how to write | chiru | UNIX for Dummies Questions & Answers | 1 | 06-12-2006 06:23 AM |
| Tcp wrapper | hassan2 | UNIX for Advanced & Expert Users | 19 | 08-07-2002 04:59 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Writing a wrapper
Hi everyone,
I have this custom sudo package over which I want to write a wrapper using PERL. The wrapper will do some pre-work and then call the regular sudo package from within itself. But I am facing a peculiar problem here. Once invoked, I am able to do the pre-work from within the wrapper but after that I invoke the regular sudo which is supposed to prompt for a password and then change into a new shell for the sudo'ed user. But when I invoke sudo from within the wrapper, a password is prompted but changing of a shell will not take effect. How can I overcome this? Regards, garric |
![]() |
| Bookmarks |
| Tags |
| shell script, shell scripting, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|