Posted on 01-31-2019 06:52 AM
Hey there. I've used the following command to allow non-admins to add and remove printers, but would like to know how to undo it:
dseditgroup -o edit -n /Local/Default -a everyone -t group lpadmin
I tried the following, but it did not reverse the effect:
dseditgroup -o edit -n /Local/Default -a admin -t group lpadmin
I've searched around and found lots of threads on how to enable non-admins to add printers, but no topics that discussed how to undo the change so any help would be appreciated.
Solved! Go to Solution.
Posted on 01-31-2019 08:23 AM
Not 100% sure, but I think the command would be something like
dseditgroup -o edit -n /Local/Default -d everyone -t group lpadmin
The -d
tells it to delete that record (everyone) from the group lpadmin. Take a look at the dseditgroup man page for more info.
Posted on 01-31-2019 08:23 AM
Not 100% sure, but I think the command would be something like
dseditgroup -o edit -n /Local/Default -d everyone -t group lpadmin
The -d
tells it to delete that record (everyone) from the group lpadmin. Take a look at the dseditgroup man page for more info.
Posted on 01-31-2019 09:13 AM
Thanks!