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

learn more… | top users | synonyms

0
votes
0answers
20 views

How can I run a command as root user on Ubuntu? [duplicate]

It seems Ubuntu has disabled the root user account so su doesnt work which is causing me an issue where I have an apache log file that is owned by root $ls -al error.log -rw-r----- 1 root adm 2061050 ...
3
votes
2answers
71 views

Why does man page completion fail after su?

I have a default Debian 8.1 installation. I do su man apt<TAB> but get nothing. I do see the manual when I write man apt-get in both modes: as user mas and as root. However, tab ...
0
votes
1answer
55 views

No folders in “/” on hard drive, mounts “/boot”

I already posted my problem on askubuntu, but I hope to reach some broader audience here as I also realize it's not really Ubuntu specific. So I messed up my Ubuntu Server and it doesn't boot ...
-1
votes
2answers
108 views

Free or cheap shell (i.e., platform) to run a Linux C program with root privileges (raw socket)

I'm working on a Linux C program that needs root privileges (raw socket). I would like to run it on a host located in the US (I am in EU) to compare results. Is there any free (or cheap) shell ...
3
votes
2answers
90 views

How to permanently disable root-password prompt for recovery mode, RHEL7

Note: I asked a similar quesiton concerning version 6 of these bundles here. Note that 7 uses systemd and may have a different implementation In the rare cases that a RHEL or CentOS 7 system is ...
2
votes
1answer
39 views

How to permanently disable root-password prompt for recovery mode, RHEL6

In the rare cases that a RHEL or CentOS 6 system is prevented from booting by (for instance) an improper shutdown, or a forced fsck-check failure on boot, the console will prompt the user for a root ...
0
votes
1answer
21 views

Set root password AMI linux

I need set a password for root on EC2 AMI linux. I have tried with passwd root but if I enter with ec2-user and run sudo su, I get a root bash without asking for a password.
5
votes
2answers
58 views

`sudo cp -a` changes ownership to root (instead of preserving the original user)

I was trying to backup some directories and some of the copies made by sudo cp -av resulted in being owned by root while others preserved their attributes. Is this a known issue or am I missing ...
1
vote
1answer
15 views

Unable to execute program without root privileges regardless of group or permissions

avrdude is a simple tool that allows downloading of a program to a target microcontroller. For completeness, the command I am trying to issue is: avrdude -p atmega328p -c usbtiny -P usb -v -U ...
0
votes
1answer
43 views

Storing text files to root directory

I am currently in the bin directory. I am trying to create a text file of the bin directory and direct it to be stored in another directory within the root directory. I have entered the command ...
0
votes
0answers
26 views

Application icons missing from Cinnamon panel when running as root

I've written a little application and added its icons to /usr/share/icons/ path. I use Cinnamon desktop. When I run the application the desired icon appears correctly in the panel. But if I run it ...
1
vote
1answer
20 views

Why gnome-terminal tells me “There is still a process running” while logged as root?

I'm using gnome on Debian Jessie. When I tried to close terminal after logged as root, it told me like in the picture below. What should I do to prevent this from happening again??? Is it a bug?? ...
15
votes
4answers
2k views

What does “are you root?” mean?

This is what I keep getting: ascendermedia@magic2tower:~$ sudo apt-get install flashplugin-installer bash: sudo: command not found ascendermedia@magic2tower:~$ sudo apt-get install ...
0
votes
0answers
31 views

normal user runnig a bash script containing root command without password

I have a bash script that contains few commands that can only be run by root, e.g. wpa_supplicant. I would like to allow the normal user to run the script without sudo. I found these posts but they ...
0
votes
0answers
38 views

Disabled root Access, how to use FTP

I removed the ability to login using 'root' to stop brute force attacks on my server, instead logging in as a regular user then 'su root' to the root if required. I need to use FileZilla to move, ...
2
votes
2answers
44 views

What can I do to start a terminal in a X server at boot without giving away root priveleges?

The problem: I run Linux on an arcade machine with a monitor that accepts a 15kHz signal. I can't see anything until the X server starts and a modeline gets the GPU to output the correct signal. My ...
1
vote
1answer
38 views

How to make Apache piped logging scripts not run as root?

The organization I work for is very security-minded. There is a separation between the group of System Administrators who are responsible for the operating systems (who, obviously, have root) and ...
1
vote
2answers
39 views

Prevent certain lines of a script to run as root

Suppose I am writing a shell script that requires root privileges to run, for example- #!/bin/sh ip -s -s neigh flush all ufw enable How can I prevent certain lines of code to be run as root, i.e. ...
1
vote
0answers
23 views

compile ffmpeg centos

I used this Guide http://trac.ffmpeg.org/wiki/CompilationGuide/Centos To install ffmpeg in my VPS with CentOS 6 64. But it was installed in /root/bin/ and I need to install it in usr/bin/ to run ...
4
votes
2answers
368 views

How do I run a command without root properties

Say I am logged in root, and some commands don't let me to run them in root. I tried to login different accounts, but I'm not able to do such a thing. How can I execute such command (logged in root) ...
0
votes
3answers
173 views

How to give root power to another user

How to Give all the powers Of Root account to another user account? thanks in advance with full command ad detail.
1
vote
1answer
46 views

Linux Root group change chmod for root owned to 770

I'd like to have normal user account assigned to root group (which I've done already) and change mod of all files that are owned by root user to 770, If I understood it well in result of that every ...
1
vote
1answer
33 views

Why root is not constrained by pam

I have the following settings in file /etc/pam.d/common-password. password requisite pam_cracklib.so retry=3 lcredit=-1 ucredit=-1 dcredit=-1 password [success=1 ...
0
votes
0answers
21 views

Unable to execute root commands using client-connect option openvpn

I'm using the openvpn option client-connect to run a script when a client connects. The scrit works fine when I use simple commands but when I add commands that need root privileges it doesn't work ...
1
vote
1answer
69 views

Why sudo user can use sched_setscheduler SCHED_RR while root can not?

I am running Arch Linux on a Raspberry Pi 2. I have a user-space program that uses Gordon's wiringPi library and, in particular, the piHiPri() function that attempts to set the highest priority for ...
1
vote
2answers
82 views

Prompt for sudo password rather than give access error

Can I configure Fedora 22 so anything needing root privileges asks for a password, rather than giving an error, and needing me to re-run with sudo? I wouldn't even mind having to type my password ...
2
votes
3answers
348 views

How to create root user account in Debian?

I installed Debian OS today and while installation I skipped the option to create root user and chose to use sudo. Now I would like to create root user account. Is there any way to create the root ...
2
votes
1answer
40 views

Mixup between root and first non-root user account

I just installed Debian Jessie and created a user account ("jerome") during installation. I log into my server through SSH as jerome, then use su to work as root. (sudo is not installed and root ssh ...
0
votes
4answers
73 views

sudo for command with specific options

Is it possible to configure sudo to get root privilege to a user for running a program with some special switches? for example, how can I configure it for user admin to run netstat command as the root ...
0
votes
0answers
19 views

sshfs finding the password for the root user of a remote machine?

I'm currently setting my laptop and raspberry pi to have a sshfs link between the two for quick file transfer. I was able to log into the users of each machine using my password with no issue, so ...
1
vote
2answers
98 views

Why can't root delete a file?

On a samba share, I have a .DS_Store file on a SMB network share that is causing havoc. Even as root, I can not delete or chmod it. -rwx------ 1 bob acme\Domain Users 6148 Apr 24 09:11 ...
1
vote
0answers
101 views

Mount FUSE directory into CIFS share with correct permissions

I'm using Time Machine File System (tmfs), which is an extension of FUSE, to read the data on a backup drive and hopefully make accessible from a Windows machine: Create a shared folder you can write ...
-2
votes
1answer
69 views

I am using Kali Linux, but however, I want to know how to switch my normal user account into root admin?

I want to know how to switch my normal user account into root admin? For example, when I log into my account I cannot modify and save sources.list from etc/apt/folder nor can I get an update for ...
0
votes
0answers
70 views

Change default OS loading

Installed Ubuntu 12.04 Feb 2014 - upgraded to 14.04LTS. I believe there is still remnants of older OS's still there somewhere, (they appear on the Grub multi-boot menu at start up). An earlier ...
-3
votes
1answer
74 views

What does root means in terminal?

What is the difference between the following: I have 2 accounts in my OS, baron and root I login with baron account, then run the command sudo -s baron@linux:~@ sudo -s [sudo] password for baron: ...
1
vote
1answer
220 views

What is this file: .readahead doing in my root directory?

When I do: ls -a / on Fedora 21 there is a hidden file named: .readahead and it's 104092k What is this file?.... is it suppose to be there? I found this on google: readahead system call on ...
1
vote
1answer
48 views

Problem of graphic performance, “glxgears” between different users

I have a problem of performance with 3D Graphic NVIDIA (Quadro FX GRID K2/PCIe/SSE2), when I run glxgears in a terminal as root, the system performance is 9676 FPS, but if I run glxgears with other ...
1
vote
3answers
111 views

Why is gksu asking me for root password and not my password?

On one of my systems, I'm running Gentoo Linux and I've installed x11-libs/gksu-2.0.2-r1. I've disabled the root account using sudo passwd -dl root and I want to be able to run GUI apps which need ...
1
vote
1answer
101 views

Sticky bit and users with sudo permission

Let's say I chmod 1777 a folder /opt/test and all files inside it as user user1. Hence user2 is able to update and edit files inside the /opt/test directory. When user2 operates via sudo, he's able ...
1
vote
1answer
54 views

How can I have a system boot in to a root session and then run a command within that session?

I have a GNU/Linux system with one account, the root account. When I boot the system, I want it to automatically log in to the root account and then run a 'telnet' command within that session. How can ...
1
vote
1answer
60 views

wheel groups and permissions

I'm new to a lot of things Linux, so this might be basic stuff. We're thinking about setting up a wheel group and removing permissions from root. Not even sure that's possible. We are having a ...
1
vote
1answer
328 views

root can't send mail (apticron) but user can (mail/mailx)

I'm running Debian I've set up ssmtp as my MTA and this works perfectly I can send mail using both mail and mailx with a standard user account BUT... When I run sudo apticron I get: send-mail: ...
1
vote
2answers
32 views

How do I install programs in /usr/local if they shouldn't be compiled by root?

Somewhere in the back of my brain is the memory of reading a cautionary internet voice warning against compiling (i.e. running make) as the root user. Perhaps it's something like this story ...
0
votes
1answer
47 views

enable to write to file inspite we remove all file permissions

something isn’t clearly for me when I remove all permissions from file as chmod 000 I expected to get permissions denied when I write to file but still I can write to file as the following example can ...
1
vote
2answers
160 views

xsession error: cannot log in after changing environment variable

I tried setting a new environment variable (I use linux mint 17). After restarting, I couldn't log back in. It says: Your Session only lasted less thant 10 Seconds. If you have not logged out ...
0
votes
1answer
87 views

Set home directory of a user to root?

I would like to set the home directory for ftpuser to root. That's my command: # adduser ftproot -shell /bin/false -home /var/www What is the directory term for root?
0
votes
0answers
23 views

I chowned / recursively. How can I restore default permissions? [duplicate]

In a completely boneheaded moment, I ran the following command: #chown -R user:usergroup . What I failed to realize is that I was in the root directory, not in my target directory. Now the entire ...
4
votes
1answer
299 views

Why isn't this directory being added to my PATH when I use sudo?

Ive just compiled and installed apache webserver from sources, and now I want to add the apachectl script to PATH I know I need to add the directory to the root user's PATH (as the script needs to be ...
0
votes
1answer
124 views

rkhunter warning about ssh root access when that access is not allowed on the system

I just ran rkhunter --check and all was good except this: Checking if SSH root access is allowed [ Warning] What does this warning mean? SSH root access is not allowed on this ...
-3
votes
1answer
62 views

Why there is always a root account in any OS? [closed]

I have tried different OSes and found 'root' or 'Administrator' account in every system. Which is usually disabled by default. So what is purpose of this account? Why would we need this account? At ...