Questions tagged [root]

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

Filter by
Sorted by
Tagged with
237
votes
3answers
156k views

What is the “rootless” feature in El Capitan, really?

I have just learned about the "Rootless" feature in El Capitan, and I am hearing things like "There is no root user", "Nothing can modify /System" and "The world will end because we can't get root". ...
13
votes
6answers
37k views

How do I open a file as root in TextEdit on Lion?

How do I open a file as root, in TextEdit? I've tried these commands as root, but TextEdit always say it's locked: open -e /etc/apache2/httpd.conf open -e -F /etc/apache2/httpd.conf open -e -F -W /...
19
votes
4answers
364k views

How do I run terminal in sudo mode?

I was trying to install npm, and I got npm ERR! Error: EACCES, Permission denied '/usr/local/lib/node_modules' npm ERR! npm ERR! Please use 'sudo' or log in as root to run this command. npm ERR! ...
-2
votes
1answer
79 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". ...
1
vote
2answers
9k views

iPhone 5S broken screen root access without iTunes authorization

I have an iPhone 5S with broken screen. I need to save my photos to my PC/Mac; I can't authorize iTunes cause of course the screen is broken and I don't have iCloud, so the only way should be a root ...
94
votes
9answers
36k views

Is it 'OK' to use the root user as a normal user?

I have enabled the root user on my Mac so I can log into it and run Finder etc. Being the lazy person that I am, just transferred everything from my home directory to /var/root. I'm not too sure of ...
17
votes
5answers
160k views

How do I reset/recover my superuser password without the boot disk?

I lost the superuser password for my iMac and I don't have the boot disk. I already tried the second answer on this page, but every time I type su from the command prompt, it still asks for a ...
7
votes
2answers
4k views

OSX Mavericks Root User

I know it is possible to enable root user and then logging in as the root user. But is it possible to get root access with your admin account in OSX Mavericks? It is kinda annoying to always type the ...
7
votes
5answers
26k views

Remotely brick a stolen iPhone or iPad

I asked a similar question on android.stackexchange.com and I'd like to see how the answer compares for iOS devices: If my iPhone is stolen, can I remotely brick the thing, so resale value drops to ...
7
votes
6answers
7k views

How do I get my LaunchAgent to run as root?

I want to run a process as root at user login. I created /System/Library/LaunchAgents/eXist.plist with rx—r—r— permissions: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//...
7
votes
4answers
418 views

How do I protect myself from the root vulnerability in macOS High Sierra?

On 28 November, a root vulnerability was discovered by a user in which the root account can be accessed by entering a blank password. This affects all users. Tech Crunch as an animated gif showing ...
5
votes
1answer
5k views

Cant remove stalled (inProgress) Time Machine backup

I have recently switched to a newer MBP from a TM backup. Unfortunately something seems to have gone wrong during the migration. TM cannot complete a backup, it just keep accumulating into a directory,...
4
votes
3answers
3k views

How do I delete a locked, invisible file in the Trash?

On an external disk (that contains a clone), the /.Trashes/501/Users/myusername/Desktop folder contains (within some subfolders) a locked invisible file that I cannot delete. The whole folder starting ...
4
votes
1answer
1k views

root user can't create a file in /usr/lib

I am trying to follow this advice from stackoverflow and copy some library files from /usr/local/Cellar/openssl/1.0.1c to /usr/lib/. I have tried cp, ln -s and even touch, but they all fail. I am ...
2
votes
1answer
53 views

Is it possible to create a user with all admin rights *except* the ability to interrupt a particular process and access a particular folder?

On Windows, it's not really doable. It is possible on linux with mandatory access control (for example). So you can have a web filter running, but the sudoer wouldn't be able to interfere with it (at ...
1
vote
1answer
336 views

Disable ALL password prompts in Finder

I FREQUENTLY mess with system/hidden files in /Library, /System, /bin, etc. and I'm tired of constantly being prompted for my (20+ Alphanumeric character) password. I'd like to have my "Administer" ...
0
votes
1answer
75 views

Secure setting for shell for unused root account

The security patch to Apple's root login security flaw — to 10.13.1 (17B1003) — has changed the shell setting reported by dscl . list /Users UserShell for root to /bin/sh (from /bin/bash). What does ...