The name of the main administrative user commonly used in *nix based systems.

learn more… | top users | synonyms

0
votes
2answers
151 views

Logging into sudo with a hashed password

I am curious as to whether or not I can pass the sudo password prompt the hashed sha512(?) password and log in to root that way. So it might look something like this: [user@device ~]$ sudo su - ...
3
votes
1answer
50 views

Can't run default shell

What to do if I uninstalled my default shell (/opt/local/bin/bash)? I can't open terminal under my account unless my default shell is valid or at least exists. Are there any elegant ways to fix it? ...
0
votes
2answers
385 views

Unable to login Root account in BOSS Linux?

I use EduBOSS_Linux 3.0. I want to Login my BOSS Linux with root account. I try combination of default password root ---- root boss ---- root root ---- boss boss ---- boss root ---- root is working ...
0
votes
0answers
301 views

Reset all the permissions to default permissions linux mint 17

I have somehow messed up with the permissions of different folders on my linuxmint 17. Now I am unable to use sudo apt-get install or sudo apt-get update commands. It gives error are you root? even ...
0
votes
2answers
447 views

mount root (/) again after mistake, without /etc/

I think I accidentally mounted /dev/hde1 to / after formatting another disk with mkdosfs -F 32 -I /dev/hde1 /dev/hdc1 should be mounted on / but now there is no way to remount it again since ...
1
vote
1answer
133 views

How to run a command a command as root on startup (Ubuntu)?

I'd like to run a bunch of commands automatically on boot with root on Ubuntu 12.04 (for instance a mount) I tried to put them in /etc/rc.local but didn't work. Thanks
1
vote
1answer
539 views

Installation Root (Cern) v6.00.02 with Cygwin

I have installed Root (Cern). Before calling "root" it is necessary starting the X server (by Cygwin, typing "startx"), to allow Root to use Windows. By setup-x86_64.exe I installed Cygwin ...
0
votes
1answer
307 views

AIX 7.1 Create another user with equal privileges as root and then disable root user

I've got a weird, stupid question. I've used linux for a long time, but I know AIX is different in certain places, so my question is if I wanted to disable the root user at least from remote login I ...
2
votes
3answers
104 views

How do I set files and directories created as root to be read and executable as another user?

I'm using Cloud9IDE's SSH workspaces, and for a variety of reasons, we are required to create that SSH tunnel as root. This is not really an issue, however the files and directories we are creating ...
0
votes
0answers
2k views

What's default root password for docker official Centos image

This is regarding Docker official Centos6 and Centos7 images There are 3 separate but related questions: (1) When started using "docker RUN centos", what is the root password and how to find it? ...
0
votes
2answers
362 views

Allow non-root users to execute specific command

As in title - I'd like to allow non-root users to execute specific command, but not binary. Eg: # killall sshd but not allow to kill any process.
0
votes
1answer
346 views

Cannot write to /home directory even as root user

I am trying to create a directory as a root in /home but I get the following error: mkdir: cannot create directory `foo': Permission denied I have checked the permissions by running ls -ld /home is ...
1
vote
1answer
199 views

The logic of Disabling Root Login

Ubuntu 14.04 VPS user here. My VPS was hacked twice. And the third version is up. Fingers crossed. The mistake I made in the first two was that I had root + password login enabled. I've learned ...
0
votes
2answers
118 views

Disable Root — what all issues will arise?

I have a linux server (Ubuntu 14) that I access using root and SSH keys (i.e. no root password). I have also created a non-root-user (and a corresponding non-root-user's-password) with sudo ...
0
votes
1answer
151 views

normal user to rsync between two systems as root

How can I change the user permissions so that the user will be able to rsync between two systems as a root. I added the user in visudo. paru ALL = NOPASSWD: /usr/bin/rsync then I typed the ...
0
votes
2answers
513 views

How to get into root user in ubuntu

I'm new to Linux and using Ubuntu. I'm trying to add a new user. When I use this command "useradd indra", it shows an error message saying that igeek01@igeek01-Lenovo-G585:~$ useradd indra useradd: ...
0
votes
1answer
43 views

Windows boot directly from Debian (from running system, warm boot)

How can I boot Windows from Debian without actually rebooting? I mean I want just go directly to the booting process from an already loaded linux from the ring 0 code, when linux core suppose to ...
0
votes
1answer
519 views

In IIS Webserver, How to create a folder in the root directory to host download files?

I have Windows server 2012 r2 and an IIS webserver setup hosting 2 wordpress websites from the same dynamic ip address. Everything is working great and as expected. I am trying to figure out how ...
0
votes
4answers
76 views

Is there any way to open a new window in terminal using root?

I'm using bash shell in Linux and I wonder if there is any way to open a new terminal window when I log in as root using su or sudo su. What I mean is if it's possible to type sudo su and open a ...
1
vote
1answer
284 views

How to find out the user who changed the MySQL root password?

On my CentOS testing server, someone has changed the MySQL root password. Is there any way to find out, who changed the password and when?
3
votes
2answers
261 views

What is the equivalent of root in Windows 8.1, and how can I open a shell in that context? [duplicate]

I've heard the equivalent of root is the "SYSTEM" account. But I used a tool called "RunAsSystem" to open a shell as SYSTEM, and I'm still getting "access denied" errors even though I know the files ...
1
vote
2answers
340 views

sudo chmod o+x but still can't run as regular user

I thought that doing sudo chmod a+x /root/file.to.execute or even sudo chmod 777 /root/file.to.execute should allow me—as a user—to run the program in question. But after doing this I still can’t run ...
0
votes
1answer
112 views

root user uid got changed

I am using ubuntu server. My root account uid got changed to 0 to 1, i am not sure when and how. Becausse of this i cant execute any sudo commands on this server. This is what rroot account looks like ...
0
votes
1answer
413 views

opening Sublime Text (or other text editor) from command line as root on Mac OS

I've modified my /var/root/.profile using nano (this is the only editor which works with root for some reason(. Ridiculous, I know))): export EDITOR="subl -w" alias subl='/Applications/Sublime\ ...
2
votes
1answer
117 views

Get back to sudo group without recovery mode

I made a big mistake when executed command: sudo usermod -G vboxusers me instead of "gpasswd" or "adduser", and I lost sudo group. Is it possible restore it, if I dont know root password, and have ...
0
votes
1answer
40 views

Make my custom program root

I have a custom program in C, that iterates trough a directory and writes a log file with the contents in my home. However, it cannot acces /var/log/ /etc/ and other root folders. How to change that? ...
9
votes
5answers
8k views

DDoS Virus infection (as a unix service) on a Debian 8 VM Webserver

I maintain a (fully updated) Wordpress for a student team on a Virtual Machine on ~okeanos service for a couple of years. Today, the helpdesk informed me that i am conducting DDoS attacks, which - of ...
0
votes
1answer
24 views

Mercurial commands take more than 20 seconds when run as root-user

when I call any mercurial command (hg init, hg status, hg manifest, hg add, etc) as root user, the commands take more than 20 seconds to complete: # time hg init real 0m25.226s user 0m0.156s ...
1
vote
2answers
202 views

Nmap runs slower as root than normal user

I am working on a bash script to enable automatic detection and remote control of my company's proprietary data recorders. The recorders run a custom version of linux and are essentially powerful pis ...
0
votes
1answer
59 views

I removed the sudo,the I have no permission to install any program?

It's seems like a big problem. I can't login as root, because I use the fedora20, and I can not use sudo. What can I do now ?
0
votes
1answer
107 views

Ssh into ubuntu guest machine from mac os host as root user

So I have set up an ubuntu virtual machine in virtualbox and the user called dhruv and the hostname dhruvhadoop. I have set up a port forwarding rule from the network settings with name ssh, no host ...
0
votes
1answer
52 views

Is there a way to stop root logins from the initial login screen without locking root account?

I'm experimenting with different settings for my machine with Ubuntu 12.04. I'm trying a login screen that requires typing in the username first, and then the password, instead of listing the users, ...
1
vote
1answer
1k views

How to solve fsck.ext3: No Such file or directory on redhat 2.6.9-55

I have main two problems here: Error on boot. It said error file system. Forgot root password. How to solve them? This is error occurred when boot, how to solve it while i forgot my root ...
0
votes
1answer
136 views

Running apache as root?

First of all, I don't want to run Apache as root as I know it's a security risk. What can an attacker do if a site runs Apache as root? Can anyone give any scenario (example)?
0
votes
1answer
80 views

Suse root group not having root rights?

I am in the root group of a suse machine but when I use sudo -u <myAccount> ... I get a Root privileges are required for... a few terminal commands: $ cat /etc/sudoers: ALL ALL=(ALL) ...
0
votes
2answers
1k views

Connecting to Google Compute Engine VM instances

How do I get root access to my Google Compute Engine VM instance, and also how can I log into my VM instance from my PC with a SSH client such as PuTTY? I would also like to add that I have tried to ...
1
vote
2answers
812 views

How to drop privileges in a script inside a non-interactive shell?

I'm using Docker to create images that I can run as containers. I'm configuring my image all as the root user, including setting up volumes and other things. But once I've got all that configured I'd ...
0
votes
3answers
48 views

Ubuntu: secure a folder & contents ?

Assuming that the root user is pretty much off limits, how would one go about securing a folder & its contents so that viewing & using it or anything in it is denied? e.g. ls would not ...
1
vote
2answers
708 views

Why is allowing root login via FTP( on cPanel) a considerable security risk?

I find it very convenient to administer my whole server by logging in as root. However, CSF tells me that it is a "considerable risk" to allow login to FTP via root, and other websites I googled ...
1
vote
1answer
71 views

Is there a way to root multiple Android devices at the same time?

I need to root 20+ tablets, so I was curious if there is any way to root multiple android tablets at the same time.
4
votes
1answer
81k views

How can I become root in Yosemite? [duplicate]

I have a late 2013 Mac Pro running Yosemite. How can I become root in Yosemite? There is no root user listed in Users & Groups under System Preferences... I need help to be able to be root so I ...
1
vote
1answer
106 views

properly not using root login for permissions with ftp

First off, I have a strong belief that I am trying to solve this issue with the entirely wrong point of view, so please, feel free to yell at me about how entirely wrong I am. My problem is that my ...
0
votes
1answer
154 views

Could a user space process start a root sub-process?

I am using Ubuntu Linux and I have Viber proprietary software running on it. Today I saved a file using Viber and I realized that it has been stored in file system with root user as its owner. I dug ...
1
vote
0answers
81 views

Debug mode on Nexus 4 with a broken MicroUSB port?

I broke the MicroUSB port of my Nexus 4. It works correctly when charging but not with the debug. I need to know how to enable the debugging over the Wi-Fi connection knowing that I cannot use in any ...
0
votes
1answer
106 views

CentOS : Removed /root

I have been doing experiments with CentOS and now I am in a situation. I have added an user by mentioning his home directory as /root and then I did userdel -rf <username> So its does the ...
0
votes
2answers
61 views

Disable open ssh server without root elevation

Is there a way to stop an ssh server without root elevation? Or just make others unable to connect to my computer.
0
votes
2answers
203 views

What is the disadvantage of using a single superuser in linux?

I just want to know about the risks one can face during using only one root user and no any other users for handling some of the simple tasks. How it can be harmful for security and data point of view ...
0
votes
1answer
193 views

Difference between su vs root SSH login for mounting?

I have a bash script luks that I use in Android for mounting/umounting encrypted devices, that can be called in a terminal emulator with su -c "luks ..." The script works ok for the first part, ...
0
votes
1answer
160 views

Are there downsides to installing node.js with root privileges?

I'm using the following code to install node: cd /usr/local/src/ wget http://nodejs.org/dist/v0.10.25/node-v0.10.25.tar.gz tar -xvf node-v0.10.25.tar.gz cd node-v0.10.25 ...
1
vote
4answers
9k views

How can I delete root users?

This is my passwd file: root:x:0:0:root:/root:/bin/bash m:x:0:100::/home/m:/bin/bash masoudjjgh:x:1000:100:masoudjjgh:/home/masoudjjgh:/bin/bash I try to delete user m that I am created: ...