Skip to main content

All Questions

Tagged with
1 vote
1 answer
1k views

How to restore "wheel" user/group?

I deleted wheel group in HDD "get info/permissions" wrongly thinking it was hacker. I now see that my Mac is running akwardly these days. How can I restore or recover "natural" or previous HDD user/...
donagustino's user avatar
1 vote
0 answers
917 views

Why does a group show up in the “Users & Groups” GUI but not in “/etc/groups/” in macOS?

I have in macOS in “Users & Groups” I have a group called: access_bpf. But it is not in: /etc/groups Where is the user of accesss_bpf and how does not the other groups show in the “Users & ...
taiat's user avatar
  • 11
0 votes
1 answer
5k views

list all the groups to which a user belongs. Using macOS and CentOS

This is may question. I want to know the groups of some user. $dscl . list /groups filterByUSer theFindUser is it possible?
joseluisbz's user avatar
1 vote
0 answers
117 views

OS X: Create user-groups, that are not shown in Systempreferences "Users & Groups" PrevPane

I created some hidden Users on OS X, using dscl . -create /Users/<usershortname> IsHidden 1, that work as administraters. For some reasons, I like to place the HOME-folders of different groups ...
Ikku's user avatar
  • 11
0 votes
1 answer
458 views

user cannot be found in Mac OS X

After running the script in this answer to show all members of the group wheel, I got a weird result. The user tempuser cannot be found There was an unknown error. When I tried dscacheutil -q user -...
AmadeusDrZaius's user avatar
0 votes
1 answer
1k views

How to properly setup group file permissions in MacOSX

I have a couple of users, one was created via OSX GUI, one is nobody for nginx and php-fpm. All commands below are executed as root. I created new group for my project: dscl . -create /groups/...
coviex's user avatar
  • 113
3 votes
1 answer
4k views

Permissions for 'Sites' folder (apache) are wrong

My head is a bit mashed over this. I have moved from MAMP to using Mac's own AMP stack, and have got it working, but just CANNOT get the directory permissions right. My localhost points to ~/Sites ...
al_manchester's user avatar
0 votes
1 answer
2k views

Unable to run commands with "sudo" from my user

For some reason, I am unable to run any commands with su as my user. This was working before and I'm not sure what broke it. The funny thing is that I can su to root without any problems. Example: ...
leifericf's user avatar
  • 420