Posted on 05-17-2015 10:20 PM
Hi All
I was trying to deploy a chrome package to the whole company, but unfortunately we found after the deployment a new home directory was added under /Users on everyone's Mac. how can i remove this home directory?
for exapmle, the home directory is /Users/test
i created a shell like the following
rm -rf /Users/test
i tried this shell, can remove /Users/test by inputing sudo ./deleletestdirrectory.sh locally,
but none of them got removed on JSS. this is kind of urgent, could someone help on this ?
thanks so much
Solved! Go to Solution.
Posted on 05-17-2015 11:16 PM
Posted on 05-17-2015 10:22 PM
Just based off the computer you've given, why not try to create a policy that runs a simple command of "rm -rf /Users/test" ? Set to it once per computer.
Posted on 05-17-2015 11:01 PM
how can i simply run command line via JSS? there is no place to fill in a cli rather than a script to choose.
thanks
Posted on 05-17-2015 11:16 PM
Posted on 05-18-2015 12:48 AM
@sibc thanks it works