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

learn more… | top users | synonyms

1
vote
1answer
36 views

Edited sudoers, but `sudo ls` fails

A user has been added with root access in the /etc/sudoers but, it seems that it can not run sudo commands. [root@compute-0-0 ~]# cat /etc/sudoers root ALL=(ALL) ALL hduser ALL=(ALL) ...
13
votes
5answers
551 views

Is slash (/) part of the name of Linux root directory?

Is the slash (/) really part of the name of the Linux root directory? or its just a symbol for this? What about /etc and so on?
0
votes
0answers
16 views

Can't pipe contents of a file but can do more [duplicate]

I am trying to transfer SSL certificates from my server to a docker container running on the same server. Permissions on the file: $ sudo ls -al live/my.server.com/cert.pem lrwxrwxrwx. 1 root root ...
0
votes
1answer
56 views

Copy file via scp from a remote machine that need root access (with remote root access disabled) [duplicate]

I'm on the machine A, and I want to run a bash script from A to copy some files from B via scp. Those files are stored in a path that needs root access to be accessed but root remote access is ...
3
votes
1answer
58 views

tried creating duplicate root user, can't connect to server anymore

I'm new to Linux so keep that in mind when offering advice. I became over zealous and ran the command here: http://www.shellhacks.com/en/HowTo-Create-USER-with-ROOT-Privileges-in-Linux useradd -ou ...
0
votes
0answers
12 views

How to install USB 3G dongle in apricityos (Arch linux)

I'm using Apricity Linux (Based on Arch Linux) as my developing platform. Recently I bought a 3G dongle, but I am unable to install it in my OS. There's a setup supported for Linux in the dongle. ...
1
vote
2answers
39 views

Use root privilege without password

I am on Debian 8 and I am searching for a command in debian to use root privilege without password. I am asking because I already saw it somewhere but can't find it anymore.
2
votes
3answers
58 views

How do I force rx_bytes and tx_bytes to reset?

I'm keeping track of data transfers on my network interfaces but want them to be reset to 0 on the 1st of each month. When I try echo 0 to the rx_bytes or tx_bytes files I get this: bash: /sys/class/...
-5
votes
1answer
35 views

Why Centos RPM can not be done by the root user

In CentOS wiki says that can not be done rpm-packages under the root user, because it may damage the system. Why? I do not understand what exactly it can do harm. The documentation RPM nothing found. ...
0
votes
1answer
35 views

adding a sudoer in debian

After a long search on the web, trying everything I can find I came to ask you guys, how can I add an existing user to be a sudoer? I've tried usermod -a -G sudo user and also adduser user ...
1
vote
1answer
59 views

passwd: Authentication token lock busy

I'm using ASUS Chromebook Flip with Google Chrome OS 53.0.2773.3.dev: chronos@localhost / $ cat /etc/os-release NAME=Chrome OS ID_LIKE=chromiumos GOOGLE_CRASH_ID=ChromeOS BUG_REPORT_URL=https://crbug....
0
votes
2answers
23 views

Can I change the permissions of files that root has read only access to?

A few days ago I made the switch from Debian to Arch. When I did that, I backed up my files to an external harddrive. I've moved the contents of that backup to my normal harddrive. Now I'd like to ...
4
votes
2answers
94 views

Linux root access recovery by booting on the console

This is my first question so bear with me please. So I have a concept in mind that I can't quite grasp. Very recently I recovered a root password for a Debian server by booting into single user mode. ...
0
votes
1answer
101 views

Difference between sudo user and root user [closed]

The /etc/sudoers file lists which users can do what with the sudo command The root user creates and modifies the /etc/sudoers file. This concept is difficult for me to understand. If all users ...
1
vote
1answer
36 views

Can't remove ttyS0 from /etc/securetty

Running RHEL6.6. Been trying to secure the system, and am having difficulty disabling root logins over the serial connection. My understanding is that I need to comment-out/remove the ttyS0 line, ...
1
vote
1answer
50 views

Why super user is disabled in iOS and Android

I know that both iOS and Android are based on UNIX. Then why is it that super user is disabled in both of them? In iOS we have to jail break and in Android we have to root. On the other hand in OS ...
0
votes
0answers
19 views

Define root prompt and non root prompt in one rc file

I'm writing a restore script for my dotfiles and I find it really irritating that I have to have two .tcshrc for both root and user where they only differ by one line. Is there a way of defining the ...
3
votes
1answer
66 views

Cannot bypass login screen with correct credentials and no errors in Kali Linux

Today I downloaded the latest VMware image of Kali Linux (Kali Linux 64 bit VM). After that, I configured the hostname in /etc/hostname and adapted also the /etc/hosts to set permanently a hostname. ...
0
votes
1answer
35 views

Different hostname / prompt is shown after logging in as root

[mayur@centos ~]$ su Password: [root@centos mayur]# I want it to be "centos" only. How to do it?
1
vote
1answer
19 views

System booted up, but can't login as root

I just got my system to boot up (Scientific Linux), but at the login screen I can't login as root. It doesn't even ask for a password, just says Login incorrect. So what I see is: localhost login: ...
1
vote
1answer
47 views

create user with only permissions to execute C Programs

I am trying to build online code editor. My scenario : Through the web server a request is received for a 'C' program -the root user creates the file, compiles the file and acks success to the user. ...
1
vote
1answer
73 views

What to do if the owner of /usr/bin/* changes to a non-root?

It would be the right thing to say that I messed up! Accidentally, I changed the owner of all files in /usr/bin to 'dev' from 'root'. Now, sudo does not work! If I use sudo with any command, I get - ...
1
vote
1answer
37 views

How do I make my script launch the screen as non-root

I'm running Minecraft, starting it automatically from from /etc/rc.local. I have that run /home/kent-server/mc/spigot.sh and inside that is screen -dms minecraft Java -jar -Xmx5120M -Xms5120M spigot....
9
votes
3answers
277 views

Set-uid executable and resulting process user

In Ubuntu 14.04, the passwd executable is -rwsr-xr-x 1 root root 47032 gen 27 01:50 /usr/bin/passwd and the ping executable is -rwsr-xr-x 1 root root 44168 mag 7 2014 /bin/ping so (for both) ...
0
votes
2answers
43 views

One shell script to perform commands locally and remotely

So, here's the problem. I have a file on a remote machine available only to root, and a private-key-only no-root SSH access(I do have sudo though). I need to copy that file to the local machine, and ...
1
vote
4answers
149 views

Edit /etc/passwd file from grub

I tried installing zsh on ubuntu ( 14.04). When I switched to zsh, I was unable to go into super user mode. If I do a su it asks for passwd and on entering the correct password, it says: Cannot ...
0
votes
0answers
20 views

Is it ok to run as root on Arch Linux? [duplicate]

I read an Arch Linux blog as well as googling this but I haven't found information on running as root on Arch... I have an Arch based system. Sudo is not installed by default, that's why for months I'...
4
votes
1answer
44 views

Unable to get sudo lecture working on CentOS 7 server

I'm trying to enable the sudo lecture every time someone executes sudo, but I can't seem to get it working at all. I found a similar question here, in which someone states that if you don't see any ...
4
votes
2answers
73 views

Tool to watch other ttys for linux?

BSD systems have a neat watch tool for snooping other ttys : Have you ever had a user login to your box and then ask you for help? Or have you ever been curious as to what your users are doing on ...
2
votes
1answer
27 views

CentOS requires root pw for network pref changes

Why does CentOS require root privileges to configure the preference panels? It seems like sudoer access really should be sufficient for this. Is it possible to change this?
0
votes
1answer
49 views

Centos VMWare backup emergency mode password reset

I have recently backed up my remote virtual machine and downloaded the data into my local. I did the setup on my local with VMware workstation and tried starting the server. I realized I missed ...
3
votes
1answer
95 views

How do I set up busybox to allow a non-root user to set the date?

I have an embedded system built with busy box. I allow a user named "app" to download a program/script to a directory and it will be run on boot. The program should be allowed to set the date. It ...
0
votes
3answers
28 views

Does it matter if I'm root or not when installing apache?

I need to install a LAMP stack on a RHEL 6.7 server. Do I have to be root to install this or not?
0
votes
0answers
73 views

Centos 7 root passwd reset

I was stupid enough to log my root password on one spot and that crashed so I lost my root password to my server. I followed the guild of https://access.redhat.com/documentation/en-US/...
0
votes
0answers
71 views

How to run a Qt application on a remote host as root?

Deploying a Qt application to a remote linux host is straightforward. However, the program runs with the rights of currently logged in user on the remote machine. For debugging purposes, I often ...
3
votes
3answers
106 views

How can I test if a file in /root exists without su to root?

My OS is Ubuntu 14.04 LTS. I got a file /root/1.txt, and logged in with 'yu', who doesn't have read permission on this file. When I use the code if [ -e /root/1.txt ] , it returns false. I know I can ...
0
votes
1answer
23 views

Copy /home without root [duplicate]

I installed Xubuntu on a friend's PC and he understood, that is it greater than Windows 10. He has no practice with shell and dont want to use it! The PC is used by several people. He (the owner) is ...
1
vote
2answers
65 views

Why when I try to execute a program as normal user I get denied, and when I execute it with sudo I get “Not Found”

In order to execute mysqlbackup I have to execute it as root. Here's the example when I execute it as normal user: mysqlbackup --compress --user=root --socket=/var/lib/mysql/mysql.sock --backup-dir=...
2
votes
1answer
72 views

How can I merge 2 disk images into one with 2 partitions?

I have 2 (relatively small) disk images for qemu (raw format) containing different filesystems (say fat and ext4). I want to put them into an usb stick as two different partitions so that I can plug ...
3
votes
1answer
74 views

Is it safe to make symbolic links in /root to config files in a a users home directory?

Does symlinking from /root to a configuration file in a users home directory bad practice security-wise? For example I currently have /root/.vimrc symlinked to ~/.vimrc Is it a viable attack to make ...
1
vote
1answer
45 views

Getting password prompt after editing sudoers file in cent OS 7?

Part of my sudoers file lines begingin with mukesh are edited: ## Allow root to run any commands anywhere root ALL=(ALL) ALL mukesh ALL=(ALL) SOFTWARE,DRIVERS mukesh ALL=(root) ...
1
vote
2answers
43 views

Root users home directory (/root) modified

Both Thunar and the ls command tell me that the /root folder has been modified recently. Using the find -mtime -1 command within the /root folder, I discovered that a hplip log had been modified. ...
0
votes
2answers
37 views

How to have the same configuration for both root and user?

Hello I just installed Debian and have only one user since it's my personal computer. I would like for all softwares, x, xfce, terminal, vim, shell to always have the same configuration without me ...
-2
votes
5answers
130 views

Why does superuser exist in Unix/Linux?

I know that some system tasks are permitted only to privileged users/processes, but still a super user (usually the root in Unix/Linux) or administrator can present so much problems in regards to ...
1
vote
1answer
59 views

Why is “nobody” called the “most privileged user after root”? [duplicate]

When I was first learning Linux I recall reading that because it is so widely used, "nobody" is (jokingly?) known as the "second most privileged user, after root" on Unix machines. A quick google ...
2
votes
1answer
186 views

Cannot connect to wifi with wpa_supplicant

I just installed Arch Linux on my laptop. So far I have only been able to connect to wired networks. When I try to connect to my wifi network with wpa_supplicant -D nl80211,wext -i wlp3s0 -C <(...
2
votes
1answer
65 views

How to restrict su from root to nis clients

We are using NIS services for users login for Unix accounts. We have test machines where users themselves install OS and they get root access. Users are using su from root account to NIS user accounts ...
0
votes
1answer
80 views

Execute commands without sudo inside jenkins

I've imported a bunch of jenkins jobs and these jobs have a lot of shell script commands.There are no sudo before these commands.Jenkins has its own user.Is there a way so I can execute these commands ...
-1
votes
1answer
301 views

pulseaudio run as root

I have Ubuntu 12.04 installed on my PC, recently I have edited /etc/passwd and changed user1:x:00:00:user1,,,:/home/user1:/bin/bash to give root permission to user1 and the system always need to ...
1
vote
2answers
153 views

How can I start program on boot in Ubuntu 14.04?

Is the root crontab the only way? I'm starting up a MC server and don't want it to need me to manually restart it each time the server reboots for whatever reason. I don't want any login required ...