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



thank you very much

On Mar 18, 2006, at 12:30 PM, Greg Guerin wrote:

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

Dmitry Markman

_______________________________________________
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
References: 
 >Re: UnixLoginModule question (From: Greg Guerin <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.