how to authenticate in order to run a sudo shellscript?
how to authenticate in order to run a sudo shellscript?
- Subject: how to authenticate in order to run a sudo shellscript?
- From: <email@hidden>
- Date: Mon, 1 Mar 2004 16:45:14 +1100
hi there
i want to write an applescript what asks the (admin) user to authenticate
and then do some backup work as root in a shellscript via sudo.
just calling a sudo works fine as long as the admin user _has_ authenticated
via sudo shorty before. but what can i do in the applescript when the user
is not authenticated? how can i test the users auth status in applescript
and how can i authenticate the user, so that runing some sudo stuff won't
fail?
thanks for any advice.
leo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.