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

learn more… | top users | synonyms

34
votes
2answers
35k 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 ...
133
votes
8answers
121k 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 ...
11
votes
3answers
20k 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 ...
7
votes
7answers
1k 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
6k 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 ...
12
votes
2answers
17k 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.
4
votes
4answers
23k views

How do I enable the root account in Mac OS X?

I know how to enable root account on Mac OS X Leopard, but not Snow Leopard or newer OS X versions. How can I do it?
8
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: ...
6
votes
2answers
731 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 ...
2
votes
5answers
17k 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
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
27k 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
9k 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 ...
4
votes
3answers
22k 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 ...
3
votes
4answers
394 views

How to hide a code from myself until a specified time?

Essentially, what I need is some way to generate and store a random string (20 characters long, say) for some period of time, such that there is no way for me to recover the string until the end of ...
2
votes
2answers
149 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
1answer
3k 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 ...
1
vote
3answers
178 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
126 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
133 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 ...