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

learn more… | top users | synonyms

1
vote
2answers
105 views

How to protect/secure the “sudo” log_input/log_output logs? [duplicate]

My Chief Security Officer (CSO) want to log the activity of the privileged account (root). I know I can configure sudo to log user input (key strokes) and console/terminal output (stdout/stderr), as ...
0
votes
0answers
153 views

Unable to su to any user as root on Red Hat 6.7 server

System: Red Hat Enterprise Linux Server release 6.7 (Santiago) I am trying to su to kms user(OS user) as root but i keep getting error saying You are required to change your LDAP password ...
0
votes
0answers
20 views

Kate/Terminal/Chromium/etc. refuse to open

I accidentally ran a GUI (Kate) with sudo--dumb I know--and when closed the application I got this error message: Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0 I've done ...
4
votes
3answers
182 views

What exactly differentiates the root user from every other user?

What are the fundamental differences between some arbitrary account and root? Is it just the UID being something other than zero? So, what exactly does the su binary do and how does it elevate a user ...
0
votes
1answer
69 views

Floppy drive can only be mounted as root

Yes I know - a floppy drive. but.... I want to extract a whole bunch of samples of old floppy discs (about 300 discs) from my Ensoniq EPS sampler (that has died). I am using a C program called ...
0
votes
0answers
30 views

Telegram on Kubuntu 15.10 asks for phone number every time

I've downloaded Telegram from their website and ran the executable, it keeps asking me for my phone number and to insert the pin code I receive , every single time I log in. It's becoming frustrating....
2
votes
2answers
105 views

Why does root need to enter a password when executing specific commands?

On a certain RHEL5 machine, when root is executing commands such as passwd someuser or any other privileged command, the root password is requested for verification and the command can't be executed ...
2
votes
2answers
192 views

sudo tar changes extracted files ownership to unknown user

I am running this command: $ sudo tar xvzf nexus-latest-bundle.tar.gz The extracted files belong to an unknown (1001) user: drwxr-xr-x 8 1001 1001 4096 Dec 16 18:37 nexus-2.12.0-01 ...
1
vote
1answer
150 views

debian 8.2 can no longer su to root

If I try to "su root" with an incorrect password, I get the expected 'authentication failure'. If I try to with the correct password, I get 'setgid: Operation not permitted" I have tried the usual '...
0
votes
3answers
150 views

Disable root login in CentOS 7.2.1511

Allegedly, if you are logged in as non-root and write sudo passwd -d root, root login will be disabled, meaning that you have to log in as another user and use su to switch to root (or just stick with ...
2
votes
2answers
131 views

How to switch to root and use same dotfiles as my normal user?

I run zsh on Mac OSX, and sometimes want to switch in the terminal to the root user. I'd like to keep all my dotfiles, and environment path configuration and scripts from my regular user, and just do ...
0
votes
0answers
97 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
278 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 ...
1
vote
1answer
165 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
57 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
217 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
88 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
58 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 ...
-1
votes
2answers
145 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
38 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
38 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
88 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
266 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
51 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
26 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 ...
58
votes
6answers
5k views

Why does reboot and poweroff require root privileges? [duplicate]

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
149 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
42 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 ...
0
votes
2answers
136 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
110 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
87 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 ....
3
votes
0answers
98 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
95 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
3k 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
46 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 ...
0
votes
2answers
229 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
665 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] http://http.kali.org/...
2
votes
1answer
156 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
557 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 root@...
3
votes
0answers
33 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 ...
0
votes
2answers
995 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
2answers
133 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
269 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
138 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
40 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
85 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
111 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
23 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 ...