The "root" account is the most privileged account on a Unix system.

learn more… | top users | synonyms

0
votes
2answers
16 views

moving a file to a folder with root privileges in CentOS 7

I am reading a tutorial that wants me to place a script file called script.sh into a folder called /etc/profile.d/. However, when I try to save the script.sh file in that directory, the gedit tool ...
0
votes
1answer
19 views

root cannot access virtual filesystem? [duplicate]

When attempting to check my disk usage under / I found that root did not have access to certain virtual filesystems. I also could not check the permissions on the virtual filesystem. Why is this? ...
2
votes
3answers
34 views

(In)significance of [… ] and tty root processes

A colleague of mine assigned me to perform a root-cause analysis of an enterprise security server sometime ago. We knew the problem resided in one of the processes run by root but did not know which ...
1
vote
2answers
57 views

What are some of the things ROOT can do that could possibly destroy the computer [closed]

I eventually plan on diving into software manipulation, and i want to avoid any and all things that as ROOT could destroy my system. I know tinkering with the file-system are dangerous to mess around ...
1
vote
0answers
13 views

Which Privileges Should Assign For Create Raw Sockets

I want to run an ICMP command to ping an IP Adress at Java: InetAddress.getByAddress("XXX.XXX.XXX.XXX".getBytes()).isReachable(1000); However there is a security restriction that: Normal users are ...
0
votes
0answers
19 views

how to write dd command to replace backup image of root partition?

I have installed rhel6.5 in my pc. After that I have changed some configurations in file system. now I have taken backup image of /dev/sda1 which is a root partition of 15gb in size using the command ...
0
votes
0answers
58 views

Strange bash sytax error depending on sudo usage

I made this bash function to detect if the user running is actually logged in as root user and not using sudo by checking the uid + home directory of the user executing the command: #!/bin/bash set ...
0
votes
0answers
20 views

How To Increase Linux / (root) size? [duplicate]

I am new to linux. i am using rhel 6. ext4 is my file system my / root file is full. is there any way to increase it? if its possible please teach me how to do it? please explain me in detail, because ...
0
votes
1answer
19 views

attaching to Unix shared segment

Can a UNIX program running as root attach to a shared memory segment created by another user with permissions allowing access only to creator?
0
votes
1answer
23 views

Nginx Static Build - Run as root with a non-root user

I have compiled nGinx statically and it is working fine. How i can create a NORMAL user and run the nginx static bin as root when i start it from the normal user?! Thank you
0
votes
3answers
174 views

Root /home Directory vs ~ (tilde)

I have created a virtual image for Scientific Linux and came across this after I finished installing it: [root@ftpserver home]# pwd /home [root]@ftpserver home]# ls When I cd into ~ I get this: ...
1
vote
1answer
77 views

su cannot execute bin/bash/****

I installed Kali Linux on a VM machine and I cannot change my user to root from the terminal using su. The command sudo works fine but when I try to su, it says "cannot execute bin/bash/****(my user ...
1
vote
2answers
59 views

running ./install as root

I mounted an .iso file and want to run the install file on it which is going fine. Then, at some point, the installer tries to make a new folder to install the program in. This, however, seems not to ...
3
votes
1answer
46 views

Run command with sudo by default

Just one brick missing in my current wall. Feels to me like it should be easy to solve, nevertheless I got some explaining for you to do to make you understand what I want to achieve. I need a linux ...
0
votes
2answers
78 views

Resize root LVM and FS in Debian 7

I have a Debian server and I would like to increase the "root" partition from 5GB to 17GB and to diminish the "home" partition from 14GB to 2GB. I am a newbie in linux sysadmin, so a really need your ...
0
votes
1answer
44 views

Crontab permission problem

I have a fc19 host at work. This morning crontab did not work. $ ls -l /usr/bin/crontab ----------. 1 root root 53472 Jun 11 2013 /usr/bin/crontab The permissions -------- means no one has access ...
-1
votes
0answers
30 views

Does root have access to user data? [duplicate]

In case of a Ubuntu distribution (14.4): Does root have access to data of all users?
0
votes
1answer
139 views

Start application as root at boot time on Ubuntu 14.04

I'm working in Ubuntu 14.04 I have an C++ application which I have compiled. I get the executable which name is "program". Well the thing is that this program use opencv and sockets then if I try to ...
1
vote
2answers
65 views

Add test user to the sudoers file, to run ifconfig

I would like to see the ifconfig file with test user (under Linux Debian) that's why I have used the sudo task, but the terminal said that: test is not in the sudoers file. How can I take the test ...
0
votes
1answer
80 views

How to open root directory on second HDD?

My situation is very specific. I've applied chmod -R 777 / on my CentOS 7 server, so my system screwed up on next reboot. I took server HDD home and connected it via SATA cable to my home PC. Now I've ...
3
votes
3answers
52 views

Understanding a couple of points regarding root privileges

I just wanted to confirm my understanding of a couple of things related to root privileges. Is it correct that: The user name "administrator" is not a reserved name with implied privileges, it is ...
0
votes
1answer
31 views

How to use programs by users who haven't installed them themselves?

I have created a new user on my Ubuntu Linux at which I am the root. My root account has access to Wine, I want to use Wine from my newly created account without having to install it again. I have ...
2
votes
3answers
58 views

Password protect a single folder ( not a web folder )

I run debian and I'm looking to limit a folder to only be accessible by one user. How do I set the permissions up so only that one specific user can enter it, and no other user. The folder I'm talking ...
7
votes
7answers
246 views

Emptying a file for root user does not work [duplicate]

I use below command to empty a file > file.txt It works perfectly fine! But there are some files with root user permissions. So I tried sudo > different-file.txt and I got below verbose ...
0
votes
1answer
53 views

When does Linux send a root mail and how to force it for testing purposes?

Let's say I want to test root mail functionality after I set up nullmailer, how do I force my Debian Linux system to send a root mail? And furthermore on which events does Linux send root mails at ...
0
votes
1answer
21 views

Convenient way to upload a file to a server's application directory?

I very often need to upload some kind of file to a server, to put some application directory somewhere. Since my user account is of course unprivileged, I generally have to do this: scp file.txt ...
5
votes
2answers
320 views

Log all root activity with original username who su'd/sudoed to root

What is the preferred method to keep track of who is acting as root in the logs when root login is disabled (SSH) but users can run sudo -i or su - to become root? I would like to follow every ...
1
vote
0answers
79 views

OpenEmbedded: root account doesn't exist!

I'm using the current OpenEmbedded system from: http://git.openembedded.org/openembedded-core/tree/ (For what it's worth, I'm also pulling in layers from ...
0
votes
0answers
63 views

Run Xserver as root

I am working with an ARMStone a9 board which has iMX6 linux kernel. I am doing an embedded application in which I have to show a video from Ipcamera. The thing is that I attached the screen to my ...
2
votes
1answer
59 views

Linux Mint root app theming breaks when changing controls

So, this is a strange occurrence, which seems similar to other questions but which I've not been able to find a reference for. Maybe my Google-Fu is not strong right now. It seems to be a common ...
12
votes
5answers
839 views

How to Determine the IP Address of who logged into Root?

There are several people with root access to a particular VM I am in charge of. I would like to find out which IP address was used to log into root.
3
votes
1answer
67 views

Software like Iceweasel and LibreOffice wont run without root/sudo

I recently decrypted my home directory by making a backup of my home directory, deleting the directory, and then replacing it again with the backup (followed a guide). Ever since, I can no longer run ...
0
votes
1answer
75 views

install .deb package locally without using sudo [duplicate]

I am using Debian in my office which is controlled by an administrator. I want to install rescuetume. I downloaded the .deb file in my local disk and I want to install it locally. Every time I do ...
3
votes
1answer
399 views

How to determine if X server runs with root privileges

This is a one-liner: Is there a way/command to check if the X server is run as root or as user? This was supposed to be a one-liner but alas... I recently upgraded my Arch Linux box. After the ...
-3
votes
2answers
53 views

How do I run as a limited user while logged in as Root, and another question

Is there a way to, on linux, do: run as limited user when logged in as root? (like sudo but vice versa, so instead of GRANTING rights, it limits them, i.e., for use with "bundle install" for missing ...
0
votes
1answer
104 views

How should I change root@mydomain when I send from mail() php function?

I've installed sendmail in Ubuntu as below: apt-get install sendmail Then I sent an Email to test, I received Email from root <root@mydomain>. I checked the content of /etc/aliases, but it ...
1
vote
2answers
87 views

Unable to get rid of root user and privileges

I am told that the most basic security to set up in Linux is to change the superuser name from root to something obscure so I run these steps to add new user $ /usr/sbin/adduser new_username $ ...
4
votes
1answer
171 views

how to verify if root password changed correctly

I have an OpsWare task, that changes root passwords on a massive number of servers, by replacing the root's password hash in /etc/shadow file. I need a script of some sort, which preferably runs ...
1
vote
3answers
429 views

Vim Error 'E212: Cannot open file for writing', when trying to create new files outside of home dir

I am running Wheezy Debian. When I try to create a new file in a directory other than my home directory, such as /var/www, I get the following error in vim: E212: Cannot open file for writing. I ...
2
votes
1answer
34 views

Desktop app run by admin user (but not explicitly with sudo) takes file ownership of shared file

Similar to http://stackoverflow.com/questions/15143614/file-ownership-changes-to-root-after-saving-from-a-program-in-ubuntu but I can't use the answer since I'm not running a command-line app as sudo. ...
2
votes
1answer
57 views

Does root not require a password to log in as a user?

Does root not require a password to log in as a user even though a password has been set for that user? When I am logged in as "root", su user logs me in as "user". There is no prompt for a password. ...
0
votes
2answers
356 views

Openning root terminal by keyboard shortcut

I am using Debian Linux and I am setting some shortcuts on it. So in keyboard window I went to shortcut, added gnome-terminal, and set Ctrl + t as the keys. But in Debian we also have "Root ...
5
votes
1answer
259 views

No password to run command as root for fixed command? [duplicate]

Is it possible to define a rule in sudoers to allow one user to run one well defined command as root, without password or other authentication except being the right user? Are there alternatives to ...
1
vote
4answers
2k views

How to correctly enable sudo for user in Fedora 20

I followed this question in order to enable sudo command for my created user. So I added it into the wheels group and edited the /etc/sudoers file accordingly. But what I don't get about this is when ...
0
votes
2answers
58 views

On Arch Linux Partitioning [closed]

I've been going through the Arch Linux beginner's guide and I'm a bit confused on partitioning the OS. It says I can either have just a root partition or a root and /home partition. What are the ...
2
votes
3answers
331 views

Is this command safe to run from / as root

find . * -depth -print0 | xargs -0 rmdir It finds and removes all empty folders (including hidden ones) recursively. I only tired it on my home folder and a pendrive in Linux PC and it worked but I ...
2
votes
1answer
192 views

su not asking for password

My su does not ask for password. When I run su it simply logs me in to root. I tried su - root then it asks for password. Now, because of this kdesu runs applications with root rights without ...
0
votes
2answers
161 views

Error when running X11 application as root

I get this wierd error when I run applications as root. **(gedit:630): WARNING **: could not open X display No protocol specified Unable to init server (gedit:630): Gtk-WARNING **: Cannot open ...
2
votes
1answer
62 views

Copy file from USB drive to a desktop loaded via a LiveCD

I have booted my computer using a LiveCD and want to copy a file from a USB drive to the LiveCD loaded desktop. I want to copy a file from the USB drive to the desktop environment in memory, which ...
1
vote
1answer
89 views

login scenario and root ssh access block

I'm kinda new to linux so bear with me. I followed a tutorial on how to grant root access to other users and what I did was, in /etc/passwd/ I changed the other users' uid/gid to 0:0. The problem is ...