jgrieshop;43443 Wrote:
> Have "root" touch the file /var/lock/subsys/USDRV and chown it to your
> regular userid:
>
> # touch /var/lock/subsys/USDRV
> # chown bob /var/lock/subsys/USDRV
>
> Then, let bob start it up.
>
> > /etc/init.d/usdrvd start
> > Starting Novell IDM Scripting Driver for Linux and UNIX...
> > Remote loader password and driver object password must be set
> > done
> > touch: cannot touch `/var/lock/subsys/USDRV': Permission denied
> >
> > So, I think that the init script locks the application to avoid that
> > more than one instance runs at same time.
> >
> > Is it mean that is imposible to run this remote loader using non root
> > user???
> > Is there a work around?
> >
> > Thanks,
> > LZ

>


For me, it was fixed by giving entry rights to the
/opt/novell/usdrv/keys directory (chmod 700 keys)

Additional problems may be found by e.g. strace -f -e open -o debugperms
service usdrvd start
What that does is follow child processes, log open system calls (and
their results), write the log to debugperms file and run the command
service usdrvd start
If you see "Permission denied" in the logs, look into those.


--
jnevala
------------------------------------------------------------------------
jnevala's Profile: https://forums.netiq.com/member.php?userid=11223
View this thread: https://forums.netiq.com/showthread.php?t=9174