Questions tagged [root]

On Unix-like systems, a special user account used for system administration.

root is the conventional name of the powerful user with id 0 on Unix-like systems such as Linux . Many administrative commands and system calls are reserved to root.

Use if your question is not about the user, but simply about a device that has been rooted.

Root is a system user. It is rare to log in directly as root, but rather, users who are privileged enough gain root access for one command with sudo , or log into a temporary root shell with su .

In the world of (which runs on an Linux kernel), a rooted device is one where OS protections have been disabled, allowing processes to run as root, and thus do things they would normally be prevented from doing, such as reading all files on the device.

Not to be confused with CERN's ROOT framework for statistical analysis in C++, see .

See also:

3340 questions
54
votes
14 answers

phpMyAdmin - can't connect - invalid setings - ever since I added a root password - locked out

I run XAMPP, a few days back i had set up a password for the root password through phpmyadmin I am not able to access phpMyAdmin ever since that moment I followed help on this link but everything seems fine there (in config.inc.php). I even tried…
OrangeRind
  • 4,798
  • 13
  • 45
  • 57
53
votes
3 answers

gyp WARN EACCES user "root" does not have permission to access the dev dir

Trying to sudo npm install protractor -g and the same notorious error/warning again (googled to no avail): gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/dmitrizaitsev/.node-gyp/0.12.0" What seems to happen is…
Dmitri Zaitsev
  • 13,548
  • 11
  • 76
  • 110
51
votes
7 answers

How to get domain root url in Laravel 4?

I'm ready to scream how hard can this be? I've been trying for too long. If I have http://www.example.com/more/pages/page.php or similar I want to be able to get www.example.com. Thats all. So I can use it as I please. This will of course change if…
Shane
  • 2,375
  • 4
  • 22
  • 31
50
votes
3 answers

Drop database return "Error dropping database errno: 66" in MySQL

Consider: DROP DATABASE db_name; ERROR 1010 (HY000): Error dropping database (can't rmdir './db_name', errno: 66) The problem is that I don't know where the file/directory is located - this file is missing in /usr/local/mysql/bin/... How do I fix…
user984621
  • 46,344
  • 73
  • 224
  • 412
49
votes
6 answers

Dropping Root Permissions In Python

I'd like to have a Python program start listening on port 80, but after that execute without root permissions. Is there a way to drop root or to get port 80 without it?
Jeremy
  • 1
  • 85
  • 340
  • 366
49
votes
9 answers

root path doesn't work with php include

/ in the beginning of a link to get to the root folder doesn't work in php include. for example "/example/example.php" What is the solution?
Per Magnusson
47
votes
9 answers

A terminal command for a rooted Android to remount /System as read/write

I'm writing an android app that needs to copy a file to the "/system" partition at runtime. I've got the commands to run "su" and can successfully request SuperUser permissions and run commands as root. But I don't know how to make this app…
user496854
  • 6,461
  • 10
  • 47
  • 84
47
votes
3 answers

Check if user is root in C?

How can I verify if the user is root?
Mohit Deshpande
  • 53,877
  • 76
  • 193
  • 251
46
votes
5 answers

How to use sudo over SFTP with CyberDuck?

I'm copying this question from over here: http://getsatisfaction.com/cyberduck/topics/can_i_use_sudo_over_sftp_with_cyberduck I am having the same issue and finding it hard to find an answer: I am using Cyberduck over SFTP. I can connect and…
Jack Benning
  • 481
  • 1
  • 4
  • 3
45
votes
5 answers

Create System Application

What I should to do to create a system app (to obtain rights to use android:sharedUserId="android.uid.system"in manifest file without receiving an error from package manager about certification problem? I use rooted phone with stock firmware.
Michał Rowicki
  • 1,372
  • 1
  • 16
  • 28
44
votes
4 answers

Redirect root url to somewhere else in Rails application

I have routes like this: map.namespace 'prepayments', :path_prefix => '/:locale/prepayments' do |prepayment| prepayment.root :controller => 'login', :namespace => 'prepayments' ... end map.redirect '/', :controller => 'prepayments/login' #…
klew
  • 14,837
  • 7
  • 47
  • 59
43
votes
3 answers

iPhone - Replacing rootview in navigation controller

I have a project with a NavigationController, that contains into IB the first ViewController to show. That's just the default pattern when creating the project. In that first viewController, I receive some event that I send to the appDelegate, and I…
Oliver
  • 23,072
  • 33
  • 138
  • 230
40
votes
6 answers

How to parse a String containing XML in Java and retrieve the value of the root node?

I have XML in the form of a String that contains HELLO! How can I get the String "Hello!" from the XML? It should be ridiculously easy but I am lost. The XML isn't in a doc, it is simply a String.
ohGosh
  • 539
  • 1
  • 7
  • 10
40
votes
4 answers

How should I log from a non-root Debian Linux daemon?

I'm writing a new daemon, which will be hosted on Debian Linux. I've found that /var/log has root only write permissions, so my daemon cannot write log files there. However, if it writes there, it appears it will gain automatic log rotation, and…
John McAleely
  • 1,929
  • 2
  • 18
  • 35
39
votes
13 answers

bypass android usb host permission confirmation dialog

I want to use android in industry, I can connect to Profilic and Ftdi USB to Serial chips with slickdevlabs.com library without any problem. The application has a service and it starts on boot,connect to the usb serial port and do the other…
AliRezza
  • 1,267
  • 3
  • 15
  • 26