The name of the main administrative user commonly used in *nix based systems.

learn more… | top users | synonyms

31
votes
2answers
25k views

Can I create an SSH user which can access only certain directory?

I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously. I would like to create another ...
6
votes
2answers
2k views

How can I pass Root Password to a script

I have the root password in one of my scripts and I want to launch another script which requires root permission from this script. How can I use the root password which I have so that I do not have to ...
102
votes
6answers
79k views

What is the “You have new mail” message in Linux/UNIX?

Sometimes, when I log into a box and 'su' to root, I get a cute little message saying I have mail (thank GOD it's not AOL). Where is this mail? What does it contain? Who/What sent it? How important ...
8
votes
3answers
16k views

How do I run a launchd command as root

I have the following launchctl command as a .plist file. It's loaded and set to run once a day but, it needs to run as root and I'm not sure how to verify this. Also, this cron job basically CDs ...
5
votes
7answers
899 views

Why is it bad to run as root?

I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. ...
2
votes
1answer
5k views

How to perform root level commands on Linux (Fedora) Live Media

I need to use Live Media to make changes to a hard disk drive. I tried to sudo to no effect. Seems like it would be troublesome to authorize root access on Live Media or have sudo allow commands ...
8
votes
2answers
10k views

Can I make a script always execute as root?

How to make a script execute as root, no matter who executes it? I read about setuid but I'm not sure how to do this. I'm using Linux, Ubuntu 12.04 LTS.
7
votes
4answers
2k views

Concern over running WireShark as root

I started WireShark on my Ubuntu machine and discovered that there were no interfaces I could listen to. So I launched it as root. This gave me access to all the interfaces, but gave me a warning: ...
2
votes
5answers
16k views

Enable root user in Gnome for Fedora 14?

I recently upgraded Fedora 12 to 14 and I can no longer login as root from the GUI login screen. I choose Other, but no dice. I know that it is bad practice to do this normally and that is probably ...
5
votes
2answers
618 views

Potential issues with adding /usr/local/[s]bin to root's path?

I've noticed that the root account $PATH does not include /usr/local/bin or /usr/local/sbin by default. Are there any potential issues that could arise from adding those directories to the path? If ...
5
votes
3answers
2k views

Change Superuser name in Ubuntu?

I mistyped my superuser. It should be "masi" instead of "maasi". I do not want to configure and install all packages again. How can I change it?
1
vote
3answers
26k views

Need some help with Terminal Emulator (Android app) commands. (Similar to Linux commands)

I'm trying to follow this tutorial to install Mobile Defense as a system application on my Motorola Droid. I want to use Terminal Emulator and the commands are basically the same. The only two ...
0
votes
1answer
8k views

Volume Shadow Copy Service warning: VSS was denied access to the root of volume (Win 7 Home Premium)

I am mystified by the following warning in the Event Viewer. It is very frequent and always the same. Can anyone explain this to me? Is it a cause for concern? Might it have anything to do with my ...
3
votes
3answers
18k views

Set password for root on virtualbox ubuntu

I loaded ubuntu into virtualbox. It all works well but it occurred to me that I was not asked (or did not setup) a root password. I want to use root on occasion, but I cannot seem to find out how to ...
2
votes
2answers
39 views

Install postgres without apt-get

I have access to a machine on a scientific hpc, and I'm setting up an environemnt to create a web application, made up basically of TOMCAT and postgresql. I cannot use another web server. The OS is ...
1
vote
3answers
135 views

Linux - Protection from ourselves (Root)

I love Linux and everything she stands for; however, unfortunately I grew up with Windows. Thusly so I have learned very bad practices (such as NT Authority will protect me). I have several Linux ...
1
vote
1answer
2k views

How to run 'ifconfig wlan0 down/up' with a comm user?

I need to run ifconfig wlan0 down and ifconfig wlan0 up with my common user. How can I perform this?
0
votes
1answer
45 views

Fail to redirect log to /var/log/syslog

I have an upstart script that does the following start on runlevel [2345] stop on runlevel [06] respawn pre-start script exec >/dev/kmsg 2>&1 REPO=git@github.com:blabla/bli ...
0
votes
1answer
241 views

MySQL can't create pid file: Permission Denied

I'm using MySQL on my macbook pro, which worked fine for the last 2 years. A week ago it suddenly stopped and I'm not able to restart it again. I've changed the permission on /usr/local/mysql to 0777 ...
0
votes
1answer
92 views

Timeout access with Shell

Hi I have a Debian 6 Webserver to which I can connect with Putty. But if I leave Putty open then even after 2 days I am still logged in. I have got 2 questions: How can I make sure that I will be ...