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

learn more… | top users | synonyms

1
vote
1answer
2k views

turning off password expiration on linux

I see a lot document suggest to use chage on debian and ubuntu, apt-get update && apt-get install chage does not install the package, e.g. root@ubuntu:~/Desktop# apt-get install chage Reading ...
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?
1
vote
2answers
776 views

Command to run as root on boot isn't working

I need to run the following command sudo xhost SI:localuser:root every time I start a machine of mine. So I'd like automate this process. I'm using Ubuntu 12.04 LTS for this. I tried put this command ...
2
votes
1answer
3k views

How do I install python with proper permissions?

So python installed probably fine. Or perhaps it was already on here (I'm using xubuntu 12.10). But I tried to install networkx today using pip: pip install networkx then says I don't have ...
0
votes
2answers
263 views

How to launch a daemon as root in OS X

I put my plist in /Library/LaunchAgents and my exexutive program in /usr/libexec and daemon statrs when system startup . But this daemon is owned by user . I try to put my plist in ...
0
votes
1answer
112 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 ...
1
vote
1answer
288 views

How do I split a lubuntu root partition?

I've installed lubuntu on my old laptop and not knowing anything about linux partitioning I ended up with one full drive partition. I have already some large files in that partition and I would like ...
2
votes
1answer
121 views

Should you disable SSH login with root on your server? [closed]

Someone told me to disable SSH login with root for security reasons. Might I ask, why is this necessary, exactly? Wouldn't setting a very long (20+ chars long), full-printable-ASCII range, random ...
1
vote
2answers
374 views

Why doesn't this spawn a root shell?

I'm on OSX 10.8. Before my experiment it's like this: Nathan-der-Graue:~ max$ ls -l /bin/bash -r-xr-xr-x 1 root wheel 1333920 17 Feb 15:22 /bin/bash Then I run Nathan-der-Graue:~ max$ sudo ...
0
votes
1answer
284 views

Difference between su command for Fedora and Ubuntu?

To log in as root while using Fedora I use : su and then enter the password. But while using Ubuntu this fails even if I use the correct password. But if I enter: su -s and then enter the ...
0
votes
0answers
316 views

OS X Lion Still Broken: root user account will not logout, shutdown, or restart

Is there a fix for the Lion Root User Logout Problem? After logging into the root user on Lion I cannot logout by choosing logout, I cannot shut down the computer by choosing shut down, I cannot ...
4
votes
3answers
555 views

I just ran rm /* accidentally, any fix?

I fell so stupid... I just ran rm /* accidentally, but I meant rm ./* on a cloud server with root access. Now, no one command works. ls, ssh, sftp... none. Is there a way to fix that? (Note: params ...
0
votes
2answers
737 views

Execute a root command every 24 hours after startup

I want to execute a command as root on an Ubuntu 11.04 machine every 24 hours. This machine is not on all of the time, but when it is, it can be left on for days at a time. How should I correctly ...
1
vote
1answer
129 views

Are there risks installing Dropbox using root on Unix?

I have installed Dropbox to my Unix server via SSH as root. I'm wondering if this was a bad idea as Dropbox is now contained under the the root home folder. Are there any additional security ...
0
votes
1answer
1k views

How can I manually set the CPU frequency?

I have tried the following from shell: cat scaling_governor userspace cat scaling_available_frequencies 3326000 3325000 3192000 3059000 2926000 2793000 2660000 2527000 2394000 2261000 2128000 ...
1
vote
1answer
292 views

Grant root permissions to application, so won't prompt again

In startos (with the ypkg packages), their app store somehow can download and install packages, without the prompt of any root or user password, to the root protected folders of /usr ...etc. However ...
0
votes
1answer
1k views

unable to open a file in gedit from the terminal when I login as root

When I try to open a file named tester.php from gedit by logging in as root, I see this : [root@Feddy htdocs]# gedit tester.php (gedit:4310): EggSMClient-WARNING **: Failed to connect to the session ...
3
votes
2answers
391 views

Renamed root in /etc/passwd and now sudo does not work

I accidentally modified the line for root in /etc/passwd and changed its named. To fix it I tried using sudo to modify this file, but it does not let me sudo because sudo can't find the root user ...
0
votes
0answers
222 views

Not able to log in as root in fedora 17

I am not able to log in as root in Fedora 17 Error is su: cannot set groups: Operation not permitted What to do to solve this error The permission has been changed to -rwxrwxrwx I want to ...
1
vote
0answers
66 views

Root being controlled by ARD

I run a lab of 20 iMacs, all running Mac OS 10.7.5(11G63) with ARD version 3.6.2. My server and all of the iMacs run Lion. I seem to have crossed something and now my root user is being controlled ...
-1
votes
3answers
2k views

How to make a non-root user to use chown for any user group files?

I would like to make a user super powerful, with almost all root rights but unable to touch a the root user (to change the password of the root). My goal is to user "B" to manage my web server. The ...
1
vote
2answers
478 views

NMAP Root different from Under Privileged user

When I use as root nmap -sP -n hostaddress I get the mac address of the hostaddress device but when I change to a different user with less privileges I do not get the mac address as a return. ...
0
votes
1answer
445 views

Is it possible to install TOR without root access

i have ssh access to a linux box running ubuntu server 12.04 I need to install tor to configure it as a TOR relay however i do not have root access . How can i do this . i have tried compiling but my ...
2
votes
2answers
1k views

Linux: permission to read file from /sys/kernel/debug wihout root privileges

I'd like to read small text file, located at: /sys/kernel/debug/vgaswitcheroo/switch without root permissions. It contains information about graphic cards (dedicated ATI Radeon and integrated Intel ...
0
votes
2answers
257 views

In Ubuntu 12.04.1 LTS is it safe to ignore the existence of “root”?

I'm not sure I'm even asking the question right, but basically what I'm wondering is whether it is safe to go about using the user that the install wizard had me create, and disregard the existence of ...
0
votes
1answer
278 views

How do I login to a preinstalled Ubuntu file system archive?

I installed a preinstalled ubuntu 12.04 desktop root fs archive on SD card and booting it on my new Chrome book. I was able to boot and see the Ubuntu Login screen and able to login as guest. But how ...
1
vote
2answers
659 views

Does sudo really make you root for a little while?

On Linux, in what kind of situations, if any, running a command as a non-root to access a file/folder or create/delete a file/folder using sudo may result in "permission denied" while running the same ...
0
votes
2answers
830 views

Running a service as root

I have a java program that I use to automate the process of creating VPN settings for clients. The program calls couple of bash scripts, create and copies files around. I have to run it under root ...
1
vote
2answers
812 views

Moving the home directory to a new drive

I have no more space left on my hard-drive. So I bought a new one and I would like this hard-drive to be the home folder. I thought of copying all the stuff I have on the home folder to the ...
1
vote
0answers
331 views

CentOS 5.5 root password no longer working after change, ftp works fine

I recently had to change the root password to one of our servers due to personnel reasons. The root login was being used both for ftp access, as well as SSH to maintain the server. I changed the ...
3
votes
2answers
2k views

Would a user with admin=true and root have the same privileges on AIX?

Does a user in /etc/security/user with the parameter admin set to true (admin = true) have the same privileges as the root user? According to IBM (full information here): admin Defines the ...
1
vote
2answers
440 views

Run command automatically as root after login

I'm using evrouter to simulate keypresses from my mouses extra buttons. It works great but I need to run the command with sudo to make it work so I can't just use my DE to handle autostart. I ...
0
votes
1answer
138 views

How to find out if root read some of my files in the home directory?

I have one non-privileged account on a Linux server and I don't want root to read my documents. How do I find out if root did something I don't want to happen? This issue is not the same as Super ...
0
votes
1answer
211 views

Why does a new terminal get automatically closed?

Every time I open a new terminal it gets automatically closed. I'm running Arch Linux, and Xforce4 terminal. $ terminal --execute sudo arpspoof -i $(cat var.log|awk '{print $1}') \ -t ...
1
vote
2answers
523 views

Should root ever own files in my (linux) home directory?

This question started off asking why my history file wasn't working properly. Then I noticed it was -rw------- 1 root root and hadn't been updated since 2012-09-11. I changed the ownership, problem ...
0
votes
1answer
272 views

Log in DD-WRT router via SSH works, web front end does not

I can use SSH to log in as the root user, but the same credentials are not logging me into the front end. What is going on here?
23
votes
4answers
1k views

Why is it possible to change the password of an admin user on linux?

A few days ago, a friend of mine, wanted to show me that he can use my linux even if I don't tell him my password. He entered in GRUB, selected the recovery mode option. My first problem is that he ...
0
votes
1answer
44 views

USB Flash over {H,S}DD

I have task to use 32Gb flash as place to install OS, so PC without hard drive load flash and can work(Not LiveUSB!). Of course, I can use generic install algorithm, but I have already a computer with ...
3
votes
1answer
675 views

User defined mapping hostname-to-address without root privileges

Is it possible to define a mapping hostname to IP address in Linux without root access (ie modify /etc/hosts) nor a DNS server ?
1
vote
2answers
906 views

boot as superuser (root) in ubuntu 12.04 server

I try to realize a multisensor system (without Display or keyboard) which needs sudo rights directly after bootup (Ubuntu 12.04 server for ARM). Therefore, I would like to automatically login as root. ...
0
votes
3answers
640 views

No access to root thru su

I'm trying to access my PC as root su and it doesn't says root@something it says mypcname username # vi /something/ and in the normal terminal display says username@mypcname ~ $ someone that ...
0
votes
3answers
381 views

How can I login as root so I can use gdm?

In the past, Debian presented an action menu upon initial boot after install where you could confirm "login as root." When that option disappeared, I stopped defining the root user. However I now ...
4
votes
4answers
685 views

Is it possible to change the ownership of an executable to root using sudo?

I have an executable created by my userid that I need to have run as root. Therefore I need to change the ownership of my executable to be root:root and use setuid. When I attempt sudo chown ...
6
votes
2answers
174 views

Why doesn't the administrator mode protect Windows from malware?

It is often given as the main reason for Linux' relative safety from malware that only the root account, which is not used for e.g. browsing the web, can make significant changes to the system. ...
5
votes
2answers
265 views

man page only found after ran with root

When I try to run man page on my Red Hat as a normal user I get "No manual entry for zip" If I change to root run: "man zip" and then I get the man page and afterwards I see the same man page as I did ...
2
votes
1answer
2k views

Activate Root on Mac OSX: No Editor in Directory Utility

I'm on OSX 10.6.8 and would like to enable the root user. I found Apple's KB article, however this point Click the lock in the Directory Utility window. Enter an administrator account name and ...
1
vote
3answers
1k views

How to find files on Linux where only root has read permission

I want to find files in some folder like /home/mike/www/test where only root has read permissions and not any other user. EDIT: I have the sudo and permission but I want to list all files where only ...
0
votes
0answers
67 views

Can someone put some restriction to copy few files from folder by root in linux

I have the backup script where i was making the tar backup of directory everyday. ON friday i note that my filesize was 30MB but beofrethat it was 200MB. I checked the main folder and it was around ...
1
vote
1answer
179 views

Recreating su or sudo in Cygwin that doesn't open in separate window

As many of you already know, Cygwin doesn't have the sudo command, and it's recommended to use the runas command when you need root/administrator privileges. However, using runas creates a new cmd ...
0
votes
2answers
266 views

Linux and the Mysterious Case of Vanishing (and Reappearing) Directories

I've set up my very first Ubuntu server and immediately logged in (as myuser) to begin customizing it. I go to /opt and run mkdir sandbox. mkdir: Cannot create directory 'sandbox' : Permission ...