Glad it helped you. As far as it concerns your observation about the root user, please take into account that Solaris Role Based Access control lets you fine tune privileges you grant to users: your "ZFS administrator" needs not be root. Specifically, if you have a look at your /etc/prof_attr and /etc/exec_attr, you'll notice that there exist two profiles: ZFS Storage Management and ZFS File System Management:
exec_attr:ZFS File System Management:solaris:cmd:::/sbin/zfs:euid=0 exec_attr:ZFS Storage Management:solaris:cmd:::/sbin/zpool:uid=0 You can run the zfs and zpool command from a "mortal user" account with pfexec if such users is associated with the corresponding profile. Bye, Enrico On Sun, Nov 1, 2009 at 9:03 PM, Vano Beridze <vanua...@gmail.com> wrote: > I've looked at man cron and found out that I can modify /etc/default/cron > file to set PATH that is defaulted for /usr/bin for mortal users and > /usr/bin:/usr/sbin for root. > > I did not change /etc/default/cron file, instead I've indicated full path in > my crontab file. > > Ethically speaking I guess scrubbing filesystem weekly is an administrative > task and it's more applicable to root user, So If I had created crontab job > for root user the whole PATH problem would not arise. > > Anyways it's my desktop so I'm the man and woman in here and there is no big > difference what user's crontab will do the job. :) > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > -- Ελευθερία ή θάνατος "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." GPG key: 1024D/FD2229AF _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss