Questions tagged [root]

root is the account that has access to all commands on a Unix-like system

Filter by
Sorted by
Tagged with
0 votes
1 answer
110 views

Trouble with ~/Applications folder and moving applications on macOS Ventura

I recently encountered some issues with the ~/Applications folder on my macOS system and need some guidance on how to resolve them. Here's what happened: I contacted Apple Support, and a technical ...
Kamil's user avatar
  • 7
1 vote
1 answer
96 views

restrict my Desktop folder access for root (macos)

I have read somewhere macOS is rootless. That means we can put some restrictions so far that even root can't access to some system folders. I would like to apply this restriction to my Desktop folder. ...
Bob5421's user avatar
  • 119
0 votes
1 answer
69 views

Is it possible to create an application that can control other apps?

Is it possible to get the privilege of an application to control the system and the other apps? For example, I can ask the application I created to control Outlook, write an email, and send it out.
GoingMyWay's user avatar
2 votes
3 answers
2k views

Installing old printer drivers (Canon Pixma MX850)

I would like to install drivers for MX850 on macOS Ventura. As expected, upon running the installation package I get prompted with an “incompatibility with current OS” error, which is obvious since ...
Marek Bílý's user avatar
0 votes
1 answer
162 views

Change owner of the home ~ folder from 503 to my user

I used to use 2 users: admin and user for work. Today I set my user access to admin laptop and deleted the previous admin user. Now, the owner of my home folder is 503. I cannot do anything in my root ...
EvilArgest's user avatar
0 votes
0 answers
1k views

Is there a way to adjust the speed of the slideshow screensavers in macOS Big Sur and above?

I find the slideshow speed too fast and would prefer a 15-30 second duration. I'm looking for a solution for Monterey in particular but I think this applies to Big Sur as well, and maybe Ventura and ...
RusticChevalier's user avatar
0 votes
0 answers
500 views

AppleScript: How to do shell script with admin privileges that only asks for password on first run/never?

I'm trying to write an AppleScript that will update the schedule boot/wake time of computer to be a hour from the time the script is run. My script below works, but every time I run it, I'm asked for ...
DasKraut's user avatar
0 votes
1 answer
741 views

Deleting private/ root/ trash(14gb)

M1 MacBook on Monterey 12.4. I have a problem that there is a folder in private/ root that takes up 13 gb of storage which i cannot delete through finder. This folder only contains of long forgotten ...
Rarowcun's user avatar
1 vote
1 answer
484 views

How do I remove the 'restricted' flag from a file without SIP?

I downloaded macOS Installers 10.13.6 and 10.14.6 via softwareupdate, and the InstallESD.dmg files are protected by root, and are restricted. FYI: the flags on the file are: -rw-r--r-- 1 root wheel ...
Meh.'s user avatar
  • 436
0 votes
0 answers
114 views

To put my folder(or the alias of it) into the root directory, how to do with the asl.conf file?

I have a requirement to put files in the root directory. I learned from this website that I can modify /etc/syslog.conf to achieve this goal, but when I open it, I am prompted that the relevant ...
Dr. Octopus's user avatar
1 vote
1 answer
413 views

The root user won't disable on my Mac, any ideas why or how to fix it?

When I try disable my root user using Directory Utility/Terminal it doesn't disable. When I enter: dsenableroot -d it just returns "Failed to disable root user". Not sure what on earth is ...
willthompson's user avatar
2 votes
1 answer
2k views

How do I do a find or du without getting permission denied errors

Typical example: sudo du -xm /System/Volumes/Data | sort -n -o .all-du Password: du: /System/Volumes/Data/Library/Caches/com.apple.aned: Operation not ...
pedz's user avatar
  • 443
1 vote
1 answer
726 views

Adware file in /var/root/

My MacBook Pro has had a common adware virus on it ExploreSearchResults. I have already gone through all of my extensions and deleted anything related. Anything in the Applications folder that did not ...
Will K's user avatar
  • 11
0 votes
0 answers
1k views

macOS keeps asking for root password in Terminal

Today, my mac mini keeps asking for root password every time I enter Terminal or open new terminal window. Android Studio and other apps that have terminal access do the same and keep asking root ...
AVEbrahimi's user avatar
0 votes
0 answers
122 views

Remove 'Search the web' / 'Search with Google' service

How would you remove 'Search with Google' from the right-click menu? The setting in System Preferences > Keyboard > Shortcuts has no effect at all. Uninstalling Safari just turns 'Search with ...
Michael's user avatar
2 votes
1 answer
2k views

Why is Homebrew running MySQL service as root and how to change it?

I used brew update brew upgrade mysql to bump version from 8.0.23 to 8.0.26 and now MySQL service won't start anymore. I try brew services start mysql and after few seconds the service status goes ...
jva's user avatar
  • 141
1 vote
0 answers
267 views

Where did the AdvanceKeyBase folder in /Users/Shared come from?

Where did the AdvanceKeyBase folder in /Users/Shared come from ? Its owned by root with group wheel there's also a hidden folder called Key-Base with the same permissions / ownership. It's a recent ...
Andrew Mumford's user avatar
2 votes
1 answer
131 views

How can I return the logged in user from inside a pkg which is running as root?

I'm using the Packages app to create an installer which includes, among other things, a launchd job. The postinstall Bash script needs to target the logged in user as follows: launchctl bootstrap gui/$...
Jamie Garroch - MVP's user avatar
0 votes
2 answers
399 views

Wrong Root Name Appearing in Terminal | MacOS [duplicate]

I just noticed today that a weird name that appeared on my teminal "rrmando2x13g" as shown in the image below. Usually only my computer name (removed in cyan) used to appear. Does this mean ...
user0193's user avatar
  • 182
2 votes
1 answer
376 views

When do processes run under root by default?

I know that when I use "sudo" an application can run under root, or if a window appears saying "Application wants to make changes to the system, enter your password for this", they ...
BabyBoy's user avatar
  • 895
0 votes
1 answer
254 views

Getting slow internet response for browsers other than Safari (MacOS Mojave)

I got a strange error message that might pertain to the issue: The operation couldn’t be completed. (OSStatus error -9806.) Recently, I did do a little bit of file deletions by name (a measure to ...
Opie Teller's user avatar
2 votes
2 answers
6k views

How to open folder in Finder as root (like right-click on folder does in Linux)?

I have always used Linux before and now switched to macOS. I have found a solution for right click button open folder in terminal. but I also want to have the option to right click and open folder in ...
kilimanjaro_5's user avatar
0 votes
0 answers
228 views

Terminal says 'Read-only file system' after trying to force RGB mode for my display [duplicate]

I'm trying to force RGB mode in macOS to fix the picture quality of my external monitor. I had to do this when I got my MacBook 16". Now, after installing Big Sur, the problem reappears. The ...
kanayt's user avatar
  • 351
0 votes
1 answer
768 views

Not even root can `ls .Trashes` on external disk in MacOS

I want to look in the trash directory on an external disk connected to my Mac. db@15 ~ % cd /Volumes/2TB/.Trashes db@15 .Trashes % ls ls: .: Operation not permitted db@15 .Trashes % sudo su Password: ...
d-b's user avatar
  • 3,318
1 vote
1 answer
51 views

Why do I see this installation screen upon logging in?

I logged into my Mac and the progress bar went about half way when the screen blacked out, another loading progress bar showed up, after which this showed up (see image). What's going on?
foamroll's user avatar
  • 309
0 votes
1 answer
85 views

Restrict super user write access to some files

Is there a way to add folders to the SIP (System Integrity Protection) configurations in order to prevent them to be modified by the root user? Or any other way not involving System Integrity ...
Hugh's user avatar
  • 363
0 votes
0 answers
72 views

Recover root password from terminal [duplicate]

So, how can I recover password of root account using only terminal? I have only terminal (not sudo), and no GUI acces
The Modern Gamer's user avatar
0 votes
0 answers
64 views

iBooks is broken in root account

Due to permission issues, I'm using root account on macOS High Sierra. However, a number of things don't work, and one example of such is that iBooks is broken. Upon launch, the following dialog is ...
Joy Jin's user avatar
  • 2,653
-1 votes
2 answers
78 views

Catlina Security: Does root need permissions?

Consider the new privacy system in Catalina. E.g. disk access, cam, mic, input etc. Does an application run as root need such permissions or is everything inherently granted?
ManuelSchneid3r's user avatar
0 votes
1 answer
758 views

Terminal does not accept root password (just changed it)

Using dsenableroot I've just changed the password to a very simple one and terminal says ***Successfully enabled root user. Then I run a command with sudo and it won't accept the password I just ...
Spadar Shut's user avatar
1 vote
0 answers
271 views

Location of on my iPad in root perspective

What is the location of On My iPad in the Files app in root perspective? I have iPadOS 13.3.1 which is jailbroken
Roshan's user avatar
  • 143
1 vote
0 answers
74 views

Crash when trying to activate root in single user mode

when i try to activate root in the single user mode, my computer crashes. It says something with stress and I have to press a key to restart. I used the tutorial How to activate root using the Single-...
Zorkai's user avatar
  • 23
0 votes
0 answers
144 views

How do I overcome "Operation not permitted" when attempting to edit a file as root (admin)? [duplicate]

I'm using Mac 10.13.6. I want to add environment variables to be recognized by my Apache instance. However, I'm not able to edit the file, event when logged in as root ... localhost:Documents davea$...
Dave's user avatar
  • 361
2 votes
1 answer
257 views

Process called "ItYoingm" using over 90% CPU and over 106GB memory - root user

I have recently downloaded Catalina on my Macbook pro and every now and again my fan goes into overdrive, even when I'm hardly using any programs. I opened my Activity Monitor and there is a process ...
Lizzie S's user avatar
2 votes
0 answers
297 views

How proxy authentication works before first user login?

For the creation of a tool which make uses of system proxy preferences, I am trying to understand their keychain usage: From my current understanding, on MacOS (Catalina) the system preferences for ...
Adrian Maire's user avatar
0 votes
1 answer
2k views

How to load a 2nd copy of OneCast with a new license?

I am trying to use OneCast to control 10 Xboxes, I have successfully got up to 6 that I can control, I can view all 10, but can't control all 10. The issue I am having is that when I load the app ...
Sin Of Barraka's user avatar
1 vote
1 answer
739 views

How to Get Root Access in Mojave?

I need to copy "Network Diagnostics.app" into the Mojave Core Services library. Running "csrutil disable" from terminal doesn't work, says you have to run from Recovery OS. I don't know if I have ...
user26732's user avatar
  • 253
2 votes
1 answer
595 views

Chown to make sudo unncessary?

I am setting up a new Mac for mobile app development and so I need to install a lot of things through the Terminal. Its asking me for sudo to do a lot of things and I vaguely remember a chown command ...
Rozgonyi's user avatar
  • 121
1 vote
0 answers
61 views

Two Factor Authentication for GUI Privilege Elevation prompt on Catalina

How can I set up two factor authentication for the privilege elevation prompts in macos, e.g System Preferences -> Security & Privacy -> 🔒 in bottom left corner. If smart card is not possible (...
Andy's user avatar
  • 111
1 vote
1 answer
8k views

How to activate root using the Single-User Mode in Catalina

I can't activate root using the Single-User mode since the Catalina update got released... $ /sbin/mount -uw / $ launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist $ ...
Zorkai's user avatar
  • 23
1 vote
1 answer
206 views

How to change the charging chime on MBP (PowerChime.app)

Many people want to disable the charging chime introduced with the USB-c MBP's (and some enable on non-USB-c). I, however, want to change the chime. Sadly however I can't change anything in "...
Madhouse's user avatar
-1 votes
1 answer
48 views

How can I view and manipulate directory contents that are hidden from root?

As root (!) I get this: sh-3.2# pwd /Users/madler/Library/Safari sh-3.2# ls ls: .: Operation not permitted I'm not sure how even root is prohibited from looking at or modifying this (and other) ...
Mark Adler's user avatar
0 votes
2 answers
2k views

Can't move files in root user desktop

I logged in as the root user so that I could pull all the files from all users into one folder to then transfer to an external hard drive. I had no problem moving files to the root user desktop but ...
zander's user avatar
  • 111
2 votes
1 answer
699 views

How to create installable app with setuid bit set owned by root

I have inherited a codebase that needs updating, but I don't have the build scripts that created the final pkg file. The code needs to access a connected USB device (treated as a drive) to read and ...
milesvp's user avatar
  • 21
0 votes
1 answer
3k views

Root User Cannot Reset Another Users Password

I wanted to enable Root user on macOS Mojave Version 10.14.4 so that i can use it in case another users or admins lose their login credentials. I tried this and when i tested out password reset for an ...
Nick's user avatar
  • 81
0 votes
0 answers
37 views

How can I create an alias/shorcut to sudo/root an app permanently?

I would like to have an alias to run an app as root always. I am trying to save time and not go through the terminal commands. Thanks!
Allan's user avatar
  • 71
-2 votes
1 answer
3k views

How to run the "Build Phase" in Xcode as root

ALL, This post is spawned by this question In my Xcode I added the new Build Phase to copy .dylib files to /usr/local/lib. And then I tried to rebuiold the application by doing "Command + B". ...
Igor's user avatar
  • 1,177
0 votes
1 answer
1k views

How to make `sudo su` run startup scripts?

Supposedly the bin/sh shell that is the default root shell is not strictly a "bash" shell, but is a POSIX compliant equivalent. According to this site, when you invoke the shell executable of a "...
James M. Lay's user avatar
12 votes
1 answer
5k views

Why am I able to open Wireshark and capture packets in macOS without root privileges?

As far as I know, capturing packets using Wireshark requires root/administrator privileges. In Windows, it prompts for UAC elevation and runs with administrative privileges. The same thing in Ubuntu; ...
scipsycho's user avatar
  • 359
1 vote
0 answers
96 views

Root User Can't run Files Off Desktop or Documents? Mojave 10.14.3

Anybody else have this issue with root in Mojave (10.14.3)? I have root enabled and I try to run a simple .txt/.png/.pkg off the root desktop. It doesn’t run, I get an error in Console “Unable to load ...
chrisdahfuh's user avatar