Questions tagged [root]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
10k views

Configure sandbox permissions

While trying to modify a property list I was rather surprised to receive the following error sh-3.2# cp com.apple.mDNSResponder.plist com.apple.mDSNResponder.plist.backup cp: com.apple.mDSNResponder....
1
vote
1answer
1k views

root permissions [duplicate]

After I installed el Capitan, Little Snitch started complaining about gamed trying to phone home. Research in the net revealed various suggestions, including logging out from the Game Centre using ...
0
votes
1answer
974 views

Any reason not to change the root shell to bash?

The default shell for root (at least on Yosemite) is /bin/sh. Would there be any problem to changing it to bash (or better yet zsh)? As far as a I know bash at least is backward compatible. I need ...
0
votes
2answers
624 views

What happens if I edit a duplicate Hosts file?

What exactly is a duplicate file? When I wanted to edit the hosts file (/private/etc/hosts), it says: You don't own the file "hosts" and don’t have permission to write to it. You can ...
2
votes
1answer
798 views

Issue with creating a symbolic link inside /System folder

I am trying to make a symbolic link inside the /System folder and even if I run the command as su I get the following error message. macbook-pro:~ root# cd /System/Library/Perl/Extras/5.18 macbook-...
1
vote
1answer
41k views

I have a MacBook Air and I lost (forgot) my Admin (root) password [duplicate]

I have lost or forgotten the root password. is there a way to recover it or reset it?
2
votes
2answers
2k views

Move .ssh folder from /var/root/

I tried to set up a ssh key for easily logging into the server which is hosting my website : ssh-keygen -t dsa -b 1024. The keys (public and private) have been saved in /var/root/.ssh which I dont ...
0
votes
1answer
461 views

OS X 10.10.5 - root user suddenly activated

As far as I know, the root-user is deactivated by default in OS X. And I remember trying the command "su" some time (a few weeks) ago and it stated something like "su: sorry" which it should state. I ...
0
votes
1answer
1k views

How do I run a java application that wants to bind to ports 80 and 443?

Okay, so I turn on my laptop, sign in to my regular user account and proceed to open/run a Java-based, HTTP-proxying application called burp via Terminal.app. It executes normally but refuses to bind ...
2
votes
1answer
164 views

Launching apps behind the lock screen?

I need to run an application behind the lock screen, e.g., just as Time Machine or Sophos antivirus (and others) can run when the screen is locked. Specifically, I would like to schedule an ...
2
votes
0answers
40 views

Mitigating exposure to DYLD_ exploit in Yosemite

In all current versions of 10.10 (up to and including 10.10.4), there is a rather nasty security hole which allows any process to create files owned by root anywhere on the file system. One example ...
0
votes
2answers
4k views

sudo: effective uid is not 0, is sudo installed setuid root?

I was trying to remove some folders (python) via sudo rm in Terminal and got this message: sudo: effective uid is not 0, is sudo installed setuid root? I already tried to verify/repair disk ...
0
votes
1answer
546 views

Where can I find Siri's file, folders, database in ios files (I'm root)

I would like to modify some things on the OS including the 'Hey Siri' phrase, I've tried a global grep but no luck yet. If someone has an idea, he is welcome
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". ...
2
votes
1answer
224 views

Root password same as admin?

I have a mac with single user on it (who is Admin). I see tutorials which ask for the root password, is this the same as my user password or something else?
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 ...
0
votes
1answer
214 views

What is “sperion”?

I'm cleaning up my boot drive & have come across a unix executable file located @ /private/tmp/sperion about which I can't seem to find any information at all. What is "sperion"? This may be an ...
0
votes
0answers
143 views

How to mount cd in single user mode?

I don't see it listed under /dev. dmesg doesn't help. Apple diagnostics is missing from my computer and I believe there may be an issue with the hard drive so I was hoping to restore it from the ...
1
vote
0answers
447 views

Can't access root from remote desktop when root is already logged in

I can access all users even root using remote desktop from Windows to Mac with the TightVNC Viewer. The problem is trying to access root from my PC when someone in Mac already logged in root, then ...
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 ...
1
vote
2answers
327 views

Why Doesn't OSX root user automatically default to the same shell as other users

Why doesn't the root user on OSX automatically default to the same shell as other users? Seems like this would avoid a lot of complications, but I guess there must be complications with the shells ...
0
votes
1answer
755 views

Can't create kext cache under / - owner not root

When I plug in my usb memory card reader nothing happens. It was working ten minutes ago when I used the xbian installer to put it on the sd card, but now nada. Something briefly flashes up then ...
0
votes
2answers
1k views

how do I enable the root user from the Directory Utility?

How do I enable the root account? I don't see any options related the system user. Do I enter the server as "localhost"? What do I select here? System Software Overview: System Version: OS X ...
0
votes
1answer
53 views

Running defaults command as root vs regular user

I've used the defaults command to tweak my settings to some sane defaults, but I have been unsure if I should run them as root or as my regular user. Seems to work either way. It is possible to do ...
7
votes
2answers
56k views

How to open the finder as root [closed]

I'm back some twenty years after my last Mac. I've got a brand new iMac running Yosemite and I do need to access an external HD formatted on (Gnu/Linux) ext4 (a journaling file system). I downloaded a ...
0
votes
1answer
867 views

Yosemite Grey Screen with 3d Party SSD not a trim issue

I have a MacBook 7,1 which i recently installed a PNY 250 SSD and added some RAM. The laptop was running awesome with OSX 10.6.8, lightning fast. Then I installed Yosemite. There was a bit of hang ...
0
votes
2answers
82 views

Empty /home directory, and I can't delete it? [duplicate]

I have got a /home directory with no content. When trying to delete it by sudo rm -rf /home, OS X warns "rm: /home: Resource busy" and refuses to do it. Tried reboot. lsof returns nothing related. ...
2
votes
2answers
719 views

difference b/w various commands for getting root access in terminal

I have used linux:Kali for a while and to get root access i just needed to type: su in terminal. But in OSX i need to type in su - what does this - mean? If i just type su in terminal than i get sh-...
1
vote
2answers
908 views

Run script as root whenever any user logs in

What's the best way to run a script with root privileges whenever any user logs in? It should run in the background without prompting the user for a password.
2
votes
0answers
67 views

Can I have an audio stream that plays continuously regardless of what user is logged in?

(I suspect the short answer is "no," but I wanted to make sure.) I have two accounts on my MBA (work and personal). During the work day, the computer is also playing my music. When I need to switch ...
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 ...
0
votes
1answer
555 views

mac os x what the two forward slash root is?

On my mac os x I have two roots the second one has two forward slashes. // wondering what that is. I searched everywhere but cant find any information about this.
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 "-//...
0
votes
1answer
1k views

Can't access pure-ftpd

I've just compiled pure-ftpd (v1.33) using ./configure --with-pam --with-puredb on my Mac mini Lion and pure-ftpd works fine but I can't access it because of the authentication problem. /usr/...
1
vote
2answers
175 views

Change root password to be different than Admin password

I want to change the root password so it is different than the admin password. I need to change the password so the admin can still be logged on, but the root password to modify the hosts file ...
2
votes
3answers
21k views

How do I run sudo command from standard account?

From what I've read, it is good security approach to have two accounts, one admin and one standard. I am trying to run the following command in terminal on my standard account sudo mv /System/...
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
1k views

What is the logind process, and why is it running?

I've recently noticed that a new process is up and running every time I start my computer - logind, running as root. I'm unsure why this is happening - could it be a patch or so? I'm running a fairly ...
3
votes
2answers
1k views

how would I set the default web browser for the root user

How do I change the default browser for root in OS X 10.8.3 Do I need to enable the root user first?
0
votes
1answer
415 views

mount an unmountable drive

I have a MacBook Pro with a root mounting sector with problems. It becomes like this due to password changing in safe mode. Now of course it doesn't turn up any more. I tried repair with disk utility ...
12
votes
1answer
29k views

how to execute mkdir in /home/ directory

I want to create a directory 'administrator' in my /home/ directory but it won't allow me as it alway returns the error Operation not supported. Any ideas? Roberts-MacBook-Pro:home robert$ pwd /home ...
0
votes
1answer
62 views

Something wrong with the root shell

Today, I've tried opening a root shell and, oh surprise, weird answer... Any idea of where it could be from ?
2
votes
2answers
1k views

Require login for Single User mode?

Is there a way to require a password to login to single user mode? I don't want to use a firmware password, because that will not only disable single user mode, but also Startup Manager (which I use ...
1
vote
3answers
1k views

How do I schedule a root command to run at intervals?

I need to run a script in intervals that requires a root user to execute. I created a plist that will call a script in ~/bin/test.sh. user@MBP:~$ ls -lah ~/bin/ -rw-r--r-- 1 root staff 566B ...
5
votes
6answers
16k views

How do I change the root password?

Everybody seemed very confused by the story and extra information I gave so I will simply ask a very straightforward question. Irrespective of your personal opinion on the utility of doing so; how ...
0
votes
1answer
1k views

Can't SSH access iPad

Once some time ago, I had SSH access to my iPad (3rd generation running iOS 5.1.1) and had changed the root password successfully. Now however, I can no longer access it via SSH. I have gone back ...
1
vote
2answers
226 views

Macbook Pro (Lion) is requring a password to undelete files. Is there a way around this?

So a funny thing happened to me last night. I was trying to clean files off my Macbook Pro. I just purchased a new Macbook Retina and it has a smaller hard drive than my old Macbook Pro (I know cry ...
0
votes
2answers
419 views

How do I make a terminal alias that edits root owned files in a GUI text editor?

How can I quickly edit root owned files like /etc/hosts and /etc/apache2/httpd.conf in a text editor such as TextEdit which would let me do modern text editor operations, without actually running the ...
15
votes
4answers
86k views

How do I execute a bash script that requires root privileges?

I have this script lines from my ISP: sudo bash echo "plugin L2TP.ppp">>/etc/ppp/options echo "l2tpnoipsec">>/etc/ppp/options It works if I paste line by line into Terminal. I want to ...
1
vote
0answers
195 views

Has anyone seen the Lion root account malfunctioning?

I believe this to be a serious bug having to do with the root account malfunctioning badly. I have reproduced it several times. I have restarted the machine, verified the hard disk, and repaired ...