07-12-2018
Yes, I believe that is true but also consider the scenario where a Solaris Global Zone boots a non-global zone and then sets (ie, changes) that non-global zones root directory with chroot. The parent (kernel) process of that non-global is now set to a different root directory and that affects all future users logging into that zone.
Therefore my understanding was that if the root user changed the root directory of the global zone kernel (PID 1) that would affect future users that log in??
Interesting discussion this!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a jumpstart equivalent tool in the linux environment? (1 Reply)
Discussion started by: pbonilla
1 Replies
2. UNIX for Dummies Questions & Answers
somehow my user names and groups on one of our machines are changed to numbers 700, 701, etc.
thus, i can only ssh into this machine as root.
is there a way to migrate the user names and groups to this machine?
thanks! (3 Replies)
Discussion started by: user23
3 Replies
3. UNIX for Dummies Questions & Answers
I am trying to test arguments to see if they are files in any directory.
I have :
but it's not working (7 Replies)
Discussion started by: skooly5
7 Replies
4. Shell Programming and Scripting
Hey People,
I've got a question! How can i write a function in a script which is looking for if a group exist and if not, that the group "users" is the standard group..I know that i have to use "grep" und "if-else"..I will be very happy for answers ;)
Greetz
Ali (2 Replies)
Discussion started by: AliC
2 Replies
5. Shell Programming and Scripting
I have the following data stored in a file.
1 /home/file13 /home/file2
2 /home/file41 /home/file654
3 /home/file61 /home/file45
4 /home/file81 /home/file43
...
I want to print the first column provided the files represented by the second and third column exist.
How to do that? (3 Replies)
Discussion started by: kevintse
3 Replies
6. Shell Programming and Scripting
Hi I need help to whit a script that start a program if a nother program is started first .
I thought something like this .
if then start program 2
Thanks (4 Replies)
Discussion started by: pelle
4 Replies
7. UNIX for Dummies Questions & Answers
I have this code in tcsh and would like to know whether the syntax below will work in csh.
if( "${%rsl}" == 0 ) then
echo "rsl is empty"
endif
---------- Post updated at 06:38 AM ---------- Previous update was at 05:53 AM ----------
It does not seem so. Perhaps the best thing is to... (2 Replies)
Discussion started by: kristinu
2 Replies
8. Shell Programming and Scripting
I am trying to work on a script that will first check to see if a backup of a file exists, and if it does it will prompt the user to ask if he/she wants it replace. Of course, if the user says no then the file should be skipped.
Here is the code I have written. Does it look as if it is working... (1 Reply)
Discussion started by: xshellscriptx
1 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I'm able to create a group but when I'm trying to delete the group it keeps stating Group Doesn't Exist. I know... (2 Replies)
Discussion started by: GoBoyGo
2 Replies
LEARN ABOUT OPENDARWIN
rem_drv
rem_drv(1M) rem_drv(1M)
NAME
rem_drv - remove a device driver from the system
SYNOPSIS
rem_drv [-b basedir] device_driver
The rem_drv command informs the system that the device driver device_driver is no longer valid. If possible, rem_drv unloads device_driver
from memory. rem_drv also updates the system driver configuration files.
If rem_drv has been executed, the next time the system is rebooted it automatically performs a reconfiguration boot (see kernel(1M)).
The following options are supported:
-b basedir Sets the path to the root directory of the diskless client. Used on the server to execute rem_drv for a client. The client
machine must be rebooted to unload the driver.
Note - The root file system of any non-global zones must not be referenced with the -b option. Doing so might damage the
global zone's file system, might compromise the security of the global zone, and might damage the non-global zone's
file system. See zones(5).
Example 1: Removing the sd Driver
The following example removes the sd driver from use:
example% rem_drv sd
Example 2: Removing a Diskless Client
The following example removes the driver from the sun1 diskless client. The driver is not uninstalled or unloaded until the client machine
is rebooted.
example% rem_drv -b /export/root/sun1 sd
Note the caveat on the use of the -b option in the description of that option, above.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
add_drv(1M), kernel(1M), update_drv(1M), attributes(5), devfs(7FS)
6 Apr 2005 rem_drv(1M)