Posted on 08-10-2016 11:44 AM
In the past, we used traditional imaging where I would set particular things up including an alias for our shared student account, and then capture those things in the image. For example, our local user account called "student" is used by our youngest students and we like to use an alias of "123" which is easier and faster for them to type in. This year, I am only imaging a base OS and configuring everything else via policies or profiles. I have created my local user account "student" in a policy, but see no options to attach an alias to this. Is it possible in the JSS? If not, has anyone been able to do this in terminal? I have searched around and haven't been able to find much info.
Solved! Go to Solution.
Posted on 08-10-2016 12:59 PM
Posted on 08-10-2016 12:45 PM
This should do the trick if you aren't looking for anything too complex. You could just add it to the "Execute Command" field under the "Files and Processes" payload of the policy:
[[ ! "$(dscl . -read /Users/student RecordName)" =~ 123 ]] && dscl . -append /Users/student RecordName 123
Posted on 08-10-2016 12:45 PM
@emsadmin Have you tried this with Capser Remote? I think it allows for exactly what you've described.
Posted on 08-10-2016 12:59 PM
A policy like this will allow login using Student or 123
Posted on 08-10-2016 01:20 PM
Thanks for the quick replies everyone! I tried @Sandy's suggestion first and this is a perfect solution.