Subject: non-root user executes root shell?
To: None <netbsd-users@NetBSD.org>
From: Water NB <netbsd78@126.com>
List: netbsd-users
Date: 10/03/2004 14:33:43
I have a shell-script which be used to mount and umount ISO file to a
directory. And I want a non-root user can execute it. How can I?

For example:

#! /bin/sh
vnconfig -c vnd0 /xxx.iso
mount cd9660 /dev/vnd0c /mnt