编程方式登录到OS X [英] programmatically login to OS X

查看:163
本文介绍了编程方式登录到OS X的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个程序,它会从远程计算机接收用户凭据(用户将工作),并转发这些凭证OS X的登录窗口,我知道它可以使用AppleScript来完成,但这是不总是按预期工作。特别是当在Mac引导,也没有用户已登录但它不工作。是否有另一种方式来做到这一点?

I am trying to create a program which will receive user credentials from a remote machine (where the user will be working), and forward these credentials to the login window of OS X. I know it can be done using AppleScript, but this is not always working as expected. In particular it is not working when the Mac is booted and no user has logged in yet. Is there another way to do this ?

干杯结果
阿兰·卡鲁阿纳J.

Cheers
Alan J. Caruana

推荐答案

您将需要编写一个<一个href=\"http://developer.apple.com/mac/library/documentation/Security/Reference/AuthorizationPluginRef/Reference/reference.html\"相对=nofollow>授权插件。你可以把你的任务,因为像使用智能卡阅读器登录。

You'll need to write an authorization plugin. You can think of your task as something like using a smartcard reader to log in.

这篇关于编程方式登录到OS X的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆