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

learn more… | top users | synonyms

0
votes
0answers
18 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
25 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
38 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
31 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
32 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
18 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
356 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
159 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
30 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
29 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
17 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
50 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
55 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
307 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
38 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
64 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
17 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
77 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
58 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
37 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
65 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
62 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
132 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
39 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
84 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
79 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
48 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
58 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
201 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
31 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
44 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
114 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
59 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
290 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
81 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 ...
-1
votes
1answer
15 views

how to disable folders/files under root folder in RHEL?

I want to "disable" listing of folders and files under root folder in RHEL. So when I login to my application nothing should be visible in root folder.
0
votes
0answers
61 views

Do we need polkit and consolekit on our root-only servers?

We have workstations where the only user is root. We use them only through ssh to distribute workload. We installed Debian 8 (Jessie) on those machines. I've read that consolekit and policy kit are ...
3
votes
0answers
36 views

Content of root's home directory in OSX

What is stored in root's home directory on OSX? What happens if you delete it on accident? Heres whats in my current root home folder. OSX:~ root# ls -lash total 8 0 drwxr-x--- 5 root wheel ...
1
vote
1answer
38 views

sane does not work as saned but as root it does

I have a plug computer that I want to use as scanner server using sane. It already worked with a different plug, so I know for sure that the scanner and sane are workable together. If I issue ...
0
votes
2answers
57 views

/etc/passwd shortest password

I need to put one character inside the password file so that nobody can notice. I thought that if I was able to put the password as plain text and put something like a space nobody would ever find ...
1
vote
1answer
256 views

Difference between owner/root and RUID/EUID

I am relatively new to the concepts mentioned in the question and reading about them from different sources only makes them more confusing. So this is what I understood so far: When we are given ...
0
votes
2answers
77 views

Copy a large file to external disk

I am trying to copy a large (4.4 GB) file to an external usb drive. Unfortunately, about halfway through my computer freezes. I know my root partition is becoming too small (yes, I already emptied ...
0
votes
1answer
100 views

What is the difference between these two ways of reseting the root password?

I know several ways to reset root user's password, but want to know which is the best and why it is. For example: A method: Grub > 'e' init=/bin/sh (Remove rhgb and quiet tags if necessary) > ctrl+x ...
3
votes
1answer
68 views

How to poweroff headless machine using a script

I have a Java application that starts automatically when the headless machine (Ubuntu 14.04 Server) boots and runs as a user. When the application is finished I need it to execute a script to ...
0
votes
2answers
65 views

How to delete the whole root with rm rf and shred together?

My task is simple: I need to able to delete the whole root which i can do with rm-rf ./* but the problem here is HFS recovery can get back the data since it is not actually deleted from disk if i ...
1
vote
4answers
51 views

Can administrating task of 'root' be divided to the several of “more powerful” users?

Unlike root (which is able to do everything) is it possible to have multiple administrators assigned to manage only part of a system? For example, one system could have 3 administrators: ...
-4
votes
1answer
49 views

How to know su password

You already know my question. I don't have su authority. So I want to know su password. I really(x100) don't know how to find it. I tried change direction(/etc/pam.d/su) and tried to delete auth ...
2
votes
1answer
80 views

root password suddenly invalid

Thats a mystical problem: out-of-nothing (nearly :), I can't use my former root password anymore... System: Debian Testing What did I do: log into root doing updates (with aptitude update ...