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
25
votes
8 answers

mysql root password forgotten

I did not use PHP MySQL for quite a while and now I need to use it again. But the problem is I forget the password for the MySQL console. and getting error #1045 when trying to login in to PHPMyAdmin. In the MySQL site I saw an article how to reset…
user1187405
  • 463
  • 2
  • 6
  • 17
24
votes
1 answer

How to install Wireshark on Linux and capture USB traffic?

I have encountered numerous problems in the installation of Wireshark, and the capture of USB traffic, especially due to user permissions. How to install Wireshark on Linux and capture USB traffic?
matthieu
  • 1,412
  • 1
  • 11
  • 33
24
votes
8 answers

Running notify-send as root

I am trying to get a notification when pluging in a USB device, for this I use a udev rule to track the moment it is pluged and from there I launch a script. The idea on the script was to use what it is explained in the link. but when trying…
Sxubach
  • 364
  • 1
  • 2
  • 13
24
votes
4 answers

crash before app starts : SecurityException: Permission Denial: INTERACT_ACROSS_USERS_FULL

Background I have a rooted device, which is Galaxy S3 I9300 , with Samsung stock based ROM, based on Android 4.3. I never had any problems running an app i'm working on with this device. The problem ever since yesterday (and I didn't change anything…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
24
votes
1 answer

Can't SSH as root into EC2 server - Please login as the user "ubuntu" rather than the user "root"

I am trying to SSH into my server via WinSCP, although the problem will occur with putty as well. I have Ubuntu 12.04 I have edited /etc/ssh/sshd_config and added PermitRootLogin without-password to the bottom of the file. But this still doesn't…
Jamie Hutber
  • 26,790
  • 46
  • 179
  • 291
24
votes
9 answers

Get Root Domain of Link

I have a link such as http://www.techcrunch.com/ and I would like to get just the techcrunch.com part of the link. How do I go about this in python?
Gavin Schulz
  • 4,548
  • 4
  • 23
  • 32
23
votes
5 answers

How to disable MySQL root logins when no password is supplied?

MySQL is installed on my laptop and it works fine, except that I am allowed to log in without supplying the root password. I can also log in by supplying the root password. If the supplied password doesn't match, it denies access. The root…
a coder
  • 7,530
  • 20
  • 84
  • 131
23
votes
5 answers

How do I run a command as a different user from a root cronjob?

I seem to be stuck between an NFS limitation and a Cron limitation. So I've got root cron (on RHEL5) running a shell script that, among other things, needs to rsync some files over an NFS mount. And the files on the NFS mount are owned by the apache…
rob
  • 337
  • 1
  • 4
  • 9
23
votes
4 answers

READ_LOGS permission on Jelly Bean (api 16)

Since Android Jelly Bean doesn't support the logs reading permission (according to this google io 2012 video and this one too ) , i would like to know if it's possible for rooted devices (or non-rooted devices) to be able to bypass this restriction…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
22
votes
3 answers

Docker Gitlab change forgotten root password

I'm running my Gitlab with Docker and I forgot my Gitlab root password. How to change it ?
hannes ach
  • 16,247
  • 7
  • 61
  • 84
22
votes
1 answer

Is it possible to run a native arm binary on a non-rooted android phone?

Well, I've been diving in the murky waters of low-level Android programming (native C/C++ using the CodeSourcery toolchain). I tried out the executable on an emulator and it worked. I'd like to try it out on a real device. So I plugged in my nexus…
AnimatedRNG
  • 1,859
  • 3
  • 26
  • 39
20
votes
5 answers

adb pull -> device not found

I have a rooted phone and running adb in root mode. I used adb shell to successfully access the phone. I can browse directorys, even those who require root. When i try to use: adb pull /data/data/my.app.path/databases/mydatabase.db…
Ostkontentitan
  • 6,930
  • 5
  • 53
  • 71
19
votes
3 answers

Android set(get) environmental variables in Java

I have experimented little with Android OS and I tried to call System.getenv() to get environmental variables. It works e.g. for $PATH, but I was not able to define own variable, which can be accessible in this way... Is it possible? I have tried…
STeN
  • 6,262
  • 22
  • 80
  • 125
19
votes
7 answers

Running Pycharm as root from launcher

How is it possible to run Pycharm from the launcher with root privileges? I can do that from the terminal window, with sudo ./pycharm.sh, but I'd like to do the same directly from the launcher.
Zorgmorduk
  • 1,265
  • 2
  • 16
  • 32
19
votes
8 answers

How to make android device always in wake mode?

After successful root of device. Now, I need to make device always in wake state i.e. always visibility of UI and no black screen or any daydream screens. To do so I think I've to accomplish following : No lock screen - turned off Sleep set to…
Chitrang
  • 5,097
  • 1
  • 35
  • 58