![os x shell script to create admin os x shell script to create admin](https://s33046.pcdn.co/wp-content/uploads/2021/04/using-the-pgadmin-management-tool.png)
Our remote host is a cluster, and each time I log on, a new shell is created. * This method needs passphrase each time a new shell is created on host (or first time user logs in), which is my case. * This method needs some setups on clients (creat and copy ssh key etc.) I am not sure if I miss something, but I am also using ssh without password in another box. You'll only need to give the password once for the key transfer.
![os x shell script to create admin os x shell script to create admin](https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/Art/systempreferences_security_accessibility_2x.png)
![os x shell script to create admin os x shell script to create admin](https://cdn.osxdaily.com/wp-content/uploads/2018/10/fix-operation-not-permitted-terminal-mac-error.jpg)
You can create a key pair whithout passphrase.
#OS X SHELL SCRIPT TO CREATE ADMIN MAC OS X#
PS: the host is linux (red hat), and clients are Mac OS X (so expect and ssh can be used) Of course, they might be so novice that they might not know that ps command, but I just want to have some security for myself.Īny idea or advice will be greatly appreciated, The primary reason for the code is to create a ready-to-run program for non-tech people (who have no idea about unix, about ssh, and who are not given ssh account as well), and of course I do not want them to know my password.