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 ...

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 ...

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 ...

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 ...

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) ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...

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 ...