Operating System - HP-UX
1831162 Members
3087 Online
110021 Solutions
New Discussion

sam - preventing insf on disks

 
SOLVED
Go to solution
D Block 2
Respected Contributor

sam - preventing insf on disks

Can SAM be customized to prevent running INSF command on disks ?

There are non-root own'ed special devices, that get changed when SAM starts up.

Also, see the directory:

in directory: /usr/sam/lib, there is a sub-directory called: "pd". there is various INSF calls from these scripts.

pd/pd.tm: execute "cd /dev ; /sbin/insf -H %$PD_DEV_OBJ_HW_PATH% -e"
Golf is a Good Walk Spoiled, Mark Twain.
1 REPLY 1
Solution

Re: sam - preventing insf on disks

Tom,

Rather than mess with SAM, why not use the mknod command to create duplicates of the device files with unique names that are owned by your non-root user. As long as they don't follow the standard device naming conventions insf should leave them alone...

HTH

Duncan

I am an HPE Employee
Accept or Kudo