![]() |
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 |
| How do i change to super user then revert back to ordinary user ,using shell script? | wrapster | Shell Programming and Scripting | 3 | 06-04-2008 07:11 AM |
| Change of user name | SunBurntYux | Forum Support Area for Unregistered Users & Account Problems | 1 | 06-01-2008 09:12 AM |
| User name change? | Jmt | Post Here to Contact Site Administrators and Moderators | 1 | 12-16-2007 04:38 PM |
| change user through shell script | raviraushanjha | UNIX for Dummies Questions & Answers | 0 | 12-12-2005 03:11 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
change user in a shell
Hi,
is it possible to chnage the user in a shell script? i would like to create a script with should make some actions on the host which needs root permissions. i want do give the user which should start the script the root permissions. so is it possible to make a command in the script whch change the user to something else (with root permissions) and after the script the user has the same permissions as before (normal permissions no root ..) many thx scott |
|
|||||
|
Here's a couple old posts:
Changing Users unix scripts They both suggest the program sudo, so that may be a place to start looking... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|