geli not working under non root user

2008-07-11 Thread DSA - JCR
Hi all FreebSD 6.2 I have usb disk crypto with GELI and now I am making a script in order the operators users can change this disks When I try to do cat key 1 key2 | geli attach -k - /dev/da0 I get the error: CanĀ“t lock memory: Operation not permited if I run under root user it work

Re: geli not working under non root user

2008-07-11 Thread Norberto Meijome
On Fri, 11 Jul 2008 12:44:50 - (GMT) "DSA - JCR" <[EMAIL PROTECTED]> wrote: > When I try to do > >cat key 1 key2 | geli attach -k - /dev/da0 > > I get the error: > > Can__t lock memory: Operation not permited > > > if I run under root user it work without problems. > > is there a s

Re: geli not working under non root user (Norberto Meijome)

2008-07-11 Thread Norberto Meijome
On Fri, 11 Jul 2008 16:42:46 - (GMT) "DSA - JCR" <[EMAIL PROTECTED]> wrote: > On Fri, 11 Jul 2008 12:44:50 - (GMT) > "DSA - JCR" <[EMAIL PROTECTED]> wrote: > > >> When I try to do > >> > >>cat key 1 key2 | geli attach -k - /dev/da0 > >> > >> I get the error: > >> > >> Can__t lock me