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

learn more… | top users | synonyms

1
vote
4answers
44 views

What's the difference between sudo su vs just su?

I see a lot of posts out there that say you type in sudo su to get an interactive prompt with root privileges, and I see equally many posts debating the pros and cons over sudo -i vs sudo su. Here ...
1
vote
0answers
15 views

Root password not working when trying to update

Running SLES12 on a VirtualBox VM I get the notification that there are software updates. Trying to invoke the update, a popup appears and forces input of administrator password. When I enter the ...
1
vote
1answer
29 views

Is sed run as a different user?

I have a sed script that change some content in /etc/shadow. The actual change isn't important, will put it just as an example: root@device:~ sed -i 's/root:\(.*\):0:0/root:\1:10:0/' /etc/shadow sed: ...
-2
votes
0answers
25 views

expand root filesystem onto one larger filesystem [closed]

I have a root filesystem of 10GB and a second filesystem of 100GB. I want to make the second (100gb) filesystem my root filesystem. The option I could think are : Expand root filesystem Use the 2nd ...
0
votes
1answer
424 views

Can't Login to using root user in Kali 2.0 Sana after update

I recently updated my Kali to Sana and I am unable to login as root using my old credentials. I am able to login to the Console with the same username and password but I am not able to login using ...
0
votes
2answers
22 views

How to login as superuser\administrator in Scientific Linux 6 LiveCD?

I have a LiveCD started as a default user. How to login as root? Here it is said that there are boot parameters. How and when to set them?
0
votes
1answer
26 views

Password was required to mount drive but my password didn't work (while still working elsewhere)

Ok guys, me again... I had to reinstall Fedora 22, going well for the most part. Problem is mounting and accessing my Win 7 partition. For some reason when I try to access it from graphic file ...
0
votes
0answers
35 views

can't log in to centos 7 VPS /lib64 missing?

Never happened to me before but cannot log in as root, after typing in password it says Last failed login: bin/bash: No such file or directory Connection closed. Besides contacting my ...
0
votes
0answers
22 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
74 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
60 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
116 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
118 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
49 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
25 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
66 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
16 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
3answers
89 views

Storing text files inside root directory

I am currently in the /bin directory. I am trying to create a text file of the content of the /bin directory and direct it to be stored in another file within the /root directory. I have entered the ...
0
votes
0answers
38 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
26 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
34 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
51 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
48 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
42 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
41 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
30 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
376 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
194 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
68 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
40 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
26 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
100 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 ...
2
votes
2answers
119 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
416 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
80 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
23 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
113 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
127 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
124 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
74 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
87 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
308 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
61 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
138 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
113 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
56 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
65 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
435 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: ...