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

learn more… | top users | synonyms

0
votes
0answers
15 views

Unable to use Nautilus

I've got Trisquel 7 GNU/Linux distro, with GNOME 3.8.4. I'm finding impossible to create a folder in Nautilus, or drag and drop files into the Desktop, out of other options. I find this quite ...
0
votes
2answers
241 views

Does a user have permissions to write outside /home/userDir?

Does a normal* user have permissions to write anywhere else than his own home dir? (no sudo and those privilege escalation tools) I say normal because I do not know more categories than root and ...
0
votes
1answer
16 views

How to add public key to QCOW2 image via virt-sysprep

I am trying to add my public key to the root account on a qcow2 disk image (CentOS 7 Cloud Image). The documentation from virt-sysprep says that it supports adding keys, but I cannot seem to ...
1
vote
2answers
29 views

Changing root's passwords using setuid

Is is possible to change root's password using setuid? What I tried is writing a simple program which calls system("passwd root") owned by root and its setuid bit is set but it didn't work. The ...
-1
votes
3answers
123 views

How to increase disk space in root?

So I check on my server using df -h and my centos-root is at 99% capacity. Just a few days ago, the root is at 87%. For some reason, it increases so quick. Is there any suggestions on how to reduce ...
2
votes
2answers
50 views

OpenSUSE disabled root login (no root psswd set) >> yast, config issues

I disabled the root login on my system (blank password). Now I cannot configure my system from GUI (it asks for the root password). Everything is fine in CLI (e.g. launch yast2 from CLI works ...
1
vote
1answer
39 views

PermitRootLogin No and Sudo user – Where is the difference?

So, I've read that I shouldn't permit root logins by disabling them in my sshd_config. I understand how that might make a server safer, but if I have a user that is allowed to do "su root" and log ...
-2
votes
2answers
30 views

Kali Linux: Non root user logging in as root WITHOUT special permissions

I am looking for a command that would allow me to log in as root from a non root account which has no permissions. I cannot add the non root to sudoers. Actually can't access root at all. Is there a ...
0
votes
1answer
31 views

Protecting account ssh keys from root

How can users ssh private keys be protected from root stealing and attempting to brute force them? I cannot use selinux as the vendor will not support the app when it's in use? Thanks
1
vote
1answer
22 views

Meaning of root in GRUB config file

Refering to here with a configuration as grub> root (hd0,0) grub> kernel /vmlinuz-i686-up-4GB root=/dev/hda9 grub> boot The preceding is usually sufficient to boot a Linux box. The ...
0
votes
0answers
27 views

Run mate-terminal on startup as root without password

I am using Linux Mint 17. I want to run mate-terminal on startup as root without need to type password (I want it to perform automatically) and execute python script in it without closing terminal ...
5
votes
3answers
74 views

How does the administrator/root/superuser work in Linux?

We were taught Windows when I was in School. I then opted for a Bachelor course in Computer Engineering where we were made to use Linux instead of Windows. They never taught about basics of Linux and ...
0
votes
3answers
47 views

What additional privileges does the root user have over a standard user? [closed]

What additional privileges does the root user have over a standard user in Linux?
1
vote
0answers
23 views

Lost credentials to a Linux VM

An employee, who left on bad terms, setup a linux server that we need access to but we can't login. It is setup on a hyper-v VM. When booted up it quickly loads the essential drivers then begins the ...
53
votes
6answers
5k views

Why does reboot and poweroff require root privileges?

To restart or shut off Linux from the terminal, one can use reboot and poweroff, respectively. However, both of these commands require root privileges. Why is this so? What security risk is posed by ...
1
vote
2answers
67 views

Cracking root user: Automating logging into root using “su” from nonroot user

I want to write a script that allows me to pass a password to the su command. The reason for this is to automate the process of logging into root from nonroot account. From my basic understanding of ...
0
votes
0answers
9 views

Non writable folder even for root on linux [duplicate]

is there any folder on linux that are non writable even for root user? Thanks
1
vote
1answer
33 views

Changed ownership of entire os to root:root

I had my file/folder ownerships screwed up, so I thought I "restore" them by applying chown -Rh root:root / and then chown -Rh *username*:users /home/*username* Being a Linux noob, I did not know ...
1
vote
2answers
35 views

Python imports working for root, but not specific user

I'm trying to run a python script through a user account, call it myuser. I want to be able to execute the dropbox.py script without logging into or su'ing into root. The program works perfectly when ...
1
vote
0answers
54 views

Run script as root after autologin in X

I've got a public PC on which there are: 1 big screen 1 touchscreen, the user can touch it and navigate through a website the website is in fullscreen, right click is disabled and the keyboard that ...
0
votes
4answers
58 views

Root home is not /root on my debian?

When I use su to get root, and then I cd ~ I am not on the /root, when I ls it shows me a Desktop file and some hidden files like .bashrc, but nothing else. root@debian:~# ls -a . .. .adobe ...
2
votes
0answers
53 views

tune2fs - how much space to reserve on large ext4 filesystem

I am aware that there are several questions concerning how much space to reserve on a filesystem using tune2fs -m, but some of the advice is contradictory, some seems to be relevant only to the ...
3
votes
1answer
67 views

Does the chown command require root? [duplicate]

I'm user1 and I created the user.file file, so I'm the owner of this file. I would like to change the owner of this file with the chown command as follows: $ chown user2 test.file chown: changing ...
2
votes
1answer
370 views

How to expand /boot partition on Ubuntu 15.10?

Recently I made a fresh install of Ubuntu 15.10 on my laptop after erasing everything. I have got notification from update manager to update my system. But I am getting the below error which says the ...
0
votes
0answers
29 views

Linux - What resources require raised privileges C/C++ programming?

I am in the process of developing a daemon and user application which will talk to the daemon over a UNIX domain socket to send commands, get status information, etc. The user application will be run ...
1
vote
2answers
133 views

Execute browser as root

I need to run my browser as root, in order to gain Citrix receiver, which is executed within the browser, permissions to access and edit the hosts file. Otherwise I get this error: You do not ...
0
votes
1answer
167 views

How to open Leafpad as root in gnome-terminal in kali linux? [duplicate]

I am following this in which there is some commands: deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali-dev main contrib non-free deb [arch=i386,amd64,armel,armhf] ...
2
votes
1answer
103 views

`su` and `sudo bash` give a root prompt that won't execute any command

This is happening on a CentOS 6.7 server, that I can ssh to as root or as my ordinary user. Opening an ssh session as an ordinary user and switching to root within the session gets the expected ...
1
vote
1answer
268 views

why ssh myLogin@localhost works but ssh root@localhost doesn't? [duplicate]

I know ssh root@localhost is a bad idea...I get it. But why doesn't ssh root@localhost work? I even changed my root password just in case: > sudo -s > passwd But still when I do ssh ...
3
votes
0answers
28 views

Power of a root process to inspect memory

I know on a Linux machine, if a process is able to get root privilege, it can access parts of the file system it normally wouldn't have access to. I want to ask whether a rooted Linux process can ...
1
vote
2answers
263 views

How to install Python on CentOS without root privileges?

For some reasons, I need to install Python on CentOS without root privileges. Since without root, one cannot use yum to install packages, so I tried ./configure --prefix=$HOME/tools/python make make ...
0
votes
1answer
68 views

acroread only runs as root

Note I already asked the exact same question here, with no success. I hope it's not a problem. I am working on a computer connected to a LDAP server. The computer is running under Linux Mint 17. I ...
1
vote
3answers
108 views

Why root's password change doesn't require old password

Why can root's password can be changed without entering the old password? Is there any benefit to this or is it just an implementation fault? If we issue passwd from a normal user account it first ...
19
votes
7answers
3k views

Which access rights can't the superuser violate?

Fr. Br. George told in one of his lectures (it's in Russian) that there are some access rights that superuser can not violate. That is there are some access right which can forbid superuser doing ...
0
votes
2answers
76 views

Running program as root vs user vs sudo xxxx

I got some questions: What is difference between running program as root, and running program with sudo programxxx? Is sudo more safe? Do I have to run process as user? Or maybe as sudo ...
0
votes
1answer
17 views

Lock down certain files

I want to be able to lock down files to be only executed and not editable unless root access is granted to the user. I have a file called 'server.properties' and I would like to make it so that only ...
0
votes
0answers
53 views

Logged in as root server but terminal not showing #

when I log into Centos 6.5 server with root details, It is not showing # in my terminal, when I do sudo it says "sudo: /etc/sudoers.d is world writable" So i checked on google and used answers ...
1
vote
1answer
33 views

Security - Runing Daemon, program as root or user vs sudo su

I have some questions about Linux security: Running a process as root is a big mistake (root has too much power + a program get too much permissions in the system). I always ran processes as a user ...
1
vote
0answers
18 views

How do I escalate a signal?

For the past week, I been having a bug that my python code hasn't been doing a cleanup process properly. It was suppose to once it captures a signal caused by closing the terminal, it does some ...
0
votes
1answer
99 views

How to create a user without group? [closed]

Is this enough to create a user without group? Command: adduser -N auser
1
vote
1answer
127 views

Valid root/user passwords not working on EC2

There is an authentication failure when I'm trying to enter password for any of my accounts after an update using yum. My authentication got broken, while everything else works. The updates were ...
1
vote
2answers
73 views

Iceweasel 26, no root privileges and ad blocking

In our workstations we don't have root privileges. Our home directories are synced (they don't depend on the physical computer). We have an old Iceweasel 26 installed. I'd like to block the ads. ...
1
vote
0answers
35 views

Can you create a read only encrypted partition that root cannot write to (or remount)?

I have an encrypted partition that I would like to be mounted as read only. The catch is that I do not want a root user to be able to remount the partition as read-write unless they have the ...
2
votes
4answers
152 views

Authentication failure on Amazon Linux

There is an authentication failure when I'm trying to enter password for any of my accounts. I am logged in using ssh to my AWS EC2 instance. After a while I checked the privileges to files that ...
1
vote
1answer
108 views

How can I write a bash script that sends a graphical notification to all users' X displays?

This is a request for improvement and update (NOT a duplicate!) on these 2 questions & answers: Can I launch a graphical program on another user's desktop as root? Show a notification across ...
1
vote
0answers
51 views

Allowing SFTP user to specific root directory only

I want to allow a SFTP limited user to access and change scripts in specific root directory called /root/scripts with SSH access disabled. I am having a hard time finding any solutions. The main ...
3
votes
1answer
61 views

How many check points in RHEL/CentOS to make sure no one have sudo/root access

I want to make sure no one has sudo access or root access on some production servers. Some points I have also verified like: grep 'x:0:' /etc/passwd grep root /etc/group cat /etc/sudoers key in ...
2
votes
0answers
85 views

Can I add iptables rule from the inside of a C Linux program only with capabilities or do I need necessarily root?

I need to add an iptables rule from the inside of a C Linux program. How should I do? Do I need root privilege or can I just grant some capabilities? I tried granting CAP_NET_RAW+iep and using ...
3
votes
1answer
137 views

SELinux and chroot system call

TL; DR: This is a question about the final step, in a portable, developer-oriented rooting process, that works across all Android machines. It is not based on any exploit - it is something that we are ...
5
votes
2answers
49 views

Command Explanation: mkdir -p /root/.ssh

Disclaimer: Total Linux noob. I came across a Bash script with with the following command: $ mkdir -p /root/.ssh I know what mkdir -p does, but, what is "/root/"? I thought root was '/'?