![]() |
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 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 |
| running sshd server from home directory without root access | sayeo | SUN Solaris | 0 | 03-13-2008 04:53 PM |
| running X-11 programs as root | Allasso | UNIX for Advanced & Expert Users | 8 | 12-28-2007 03:22 PM |
| Running out of Space (Root) | scorpiyanz | UNIX for Advanced & Expert Users | 0 | 08-19-2005 10:22 AM |
| Running a command or script as root | rm-r | Shell Programming and Scripting | 3 | 05-27-2005 08:58 AM |
| Run non-root script as root with non-root environment | bubba112557 | UNIX for Dummies Questions & Answers | 2 | 12-03-2004 12:39 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
running a scr in rc3.d not as root, can i?
I want to run one of my startup script S21mystartup.scr in rc3.d directory so it boots with the system, however, can i do this as other than root? Don't want it to run as root. how can i get this to go as another user?
|
|
||||
|
We have a configuration tool, and I've been told i can't bring up the license manager or that database in the initial startup scripts as root since it won't allow others to modify files checked in and out, i haven't foudn this to be true yet, but one of our other sites says this happens. So was wondering if i could set it to start up as another user. so could i set up my startup script like this:
start: su otheruser myscript : end |
|
|||||
|
As far as the question of advantages/disadvantages of having a process started up as non-root, many times the different SQL processes start as either root or as their own user (Sybase or Oracle). The Sybase folks (half of them) know that they don't need root to run and set up their scripts with a su to the sybase user. Oracle folks almost always do this. Our other Sybase folks like to run Sybase from root - then they need root to work on their servers. This was started because someone many years ago didn't care about security - just wanted to get things working. Although it's been proven and implemented on some servers to remove the root/Sybase connection, getting it pushed across all servers is a hassle.
There is no disadvantage to my knowledge but the advantage is not having another process that could be hacked and leave someone with root on a server. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|