Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UnixLoginModule question



Dmitry Markman wrote:

>as I discovered, that UnixLoginModule uses information related to current
>user and it can not be used for admin authentication, is it correct?

 Correct.


> is it true that there is no pure Java way to run admin access required
>application?

You can exec the 'sudo' command using plain Java.  See 'man sudo' and its
-S option.


> so I have to create jnilib (that will use Security.framework) for dealing
>with that

I've already written one (open source under Artistic License):
  <http://www.amug.org/~glguerin/sw/#authkit>

I haven't compiled a Universal Binary for the JNI code, though.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.