Hi,
I want to run a command in terminal when a user logs on to the machine.
Here it is:
dseditgroup -o edit -u admin -P password -t user -a "$USER" _developer
It adds the currently logged on user to the developer group. I need this to run at logon as I run labs in a university i can never tell who will log on to which computer so cant make this a permanent change manually.
If anyone can throw me a bone here that would be awesome.
I want to run a command in terminal when a user logs on to the machine.
Here it is:
dseditgroup -o edit -u admin -P password -t user -a "$USER" _developer
It adds the currently logged on user to the developer group. I need this to run at logon as I run labs in a university i can never tell who will log on to which computer so cant make this a permanent change manually.
If anyone can throw me a bone here that would be awesome.