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

learn more… | top users | synonyms

17
votes
2answers
8k views

Does the root account always have UID/GID 0?

On all the Linux systems I've managed, the root account has a GID and UID of 0. Is this guaranteed, or is it possible that the system will give root a different ID?
3
votes
3answers
290 views

Can we have a user with the same powers/priviliges as root?

I am confused on the following in linux. Can I have a user to have the same permissions as the root. In Windows any user can be the administrator but I am not clear exactly about this on Linux. It ...
0
votes
3answers
136 views

Should I have duplicate root users in my Users directory?

I think I may have duplicate root users on my system. I changed directories to /Users, then ran ls -la -e I get this returned: total 0 drwxr-xr-x 5 root admin 170 Aug 31 2012 . drwxrwxr-t ...
3
votes
4answers
379 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 ...
1
vote
0answers
136 views

Debian/Ubuntu apt or pbuilder without root privileges?

I want to use apt or pbuilder to build a package in user's home directory. The home directory has enough space to hold the package's source, its dependencies and binary output. But the apt and ...
-2
votes
2answers
1k views

What will happen if i delete /dev folder [closed]

What will happen if I delete the /dev folder? I have a rooted android tab and I want to delete that folder since that is a system folder, I dare not delete it until I get required info. The ...
0
votes
0answers
30 views

Cannot login to server after file permissions change [duplicate]

I am using Ubuntu server. I ran: chmod -R 700 / when I was logged in as root. Now when I try to login as my normal user I immediately get kicked out. Is there anyway to log back in to the server ...
1
vote
1answer
116 views

Swap and Root: same partition

I have 3 partitions, and I can't delete any of them. (Recovery, SYSTEM, C:), and I need to install GNU/Linux. How can I have swap and root on the same partition?
-2
votes
1answer
84 views

Why i can not connect myself as root on mac using the terminal?

Actually i have to connect myself as an admin : ssh user@xxx.xxx.xx.xx to log into the mac and then use "su" to be as root. I can't connect myself directly as root! WHY?!?....
0
votes
1answer
168 views

Sudo password not required? OS X 10.8 (Mountain Lion)

I recently upgraded to a Macbook Pro Retina running OS X 10.8.3. I was going through the process of installing various command line tools when I noticed that it wasn't asking for my root password when ...
0
votes
2answers
312 views

Deleted user and root account on debian

One of my colleague removed by error etc/passwd and etc/shadow files. The problem is that now the system doesn't have any account.Impossible to connect by ssh or to work on it. How can I create a ...
1
vote
0answers
471 views

permit root login red hat

I'm bit confused because I can't perform such an easy thing as permitting root login to the server (I'm using redhat). I changed PermitRootLogin from no to yes on the server's /etc/ssh/sshd_config and ...
2
votes
1answer
1k views

OS X 10.8.3 root user account permissions corrupted

I'm running into a root permissions issue on OS X 10.8.3. This is manifesting itself in various forms. It became clear after trying to execute a self-update of MacPorts. The following issue ...
0
votes
2answers
83 views

Restoring a Password in Single-User Mode?

I had changed a password for an account titled student with no password by doing this in single user mode, fsck -fy mount -uw / passwd student The password now is student, but when I try to ...
0
votes
2answers
2k views

Can't change root password in Ubuntu

I am trying to change the root password in my Ubuntu system but I am getting an error. I disabled password prompt when calling sudo. So I can execute root commands (eg. sudo apt-get install) without ...
0
votes
1answer
2k views

Reset root password of a VM

I removed (distrattament) my "sudo" user from sudo group user, I can't use root because I don't know a password for root. I have an Ubuntu virtual machine and when I open Recovery Menu is limited ...
-1
votes
2answers
239 views

passwords, vpn, root access, what happens if I die? [duplicate]

I work with two partners/friends and I'm the one who takes care of all the tech stuffs here. I hired consultants, programmers and each of them have parts of the credentials. But turns out I'm the only ...
0
votes
3answers
95 views

What types of users can I use with “sudo”?

I thought you could only use sudo to temporarily become root: sudo vim /etc/resolv.conf But recently I saw a shell snippet depicting a user using sudo to become a specific user: sudo -H -u devops ...
0
votes
2answers
1k views

How do I stop using root privileges? [duplicate]

I know this is extremely basic, but I am using Ubuntu Linux and I have just typed in sudo su I entered my password and performed the actions that I had to get done. Now how do I stop being root ...
0
votes
1answer
270 views

How to config sudoers file?

I'm using ubuntu server 12.04 LTS I want to know how to configure my sudoers file (obviously, using visudo), to permit an user to run commands like root (doing something like "sudo service x ...
1
vote
1answer
374 views

How to setup cPanel with multiple hard drives on dedicated server

I have a dedicated server with OVH for my website that has 2x2TB SATA3 hard drives. Currently I am using about 12GB with files and MySQL databases, however, an email notification I got from them told ...
1
vote
3answers
732 views

Lost root access possibility /sbin/nologin

I accidentally edited the file /etc/passwd on my server in the following way: root:x:0:0:root:/root:/sbin/nologin Now I cannot login as root. When I enter the su command, the following is ...
2
votes
1answer
3k 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
909 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
337 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
130 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
348 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
128 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
443 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
331 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
378 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 ...
5
votes
3answers
567 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
984 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
136 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
352 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
2k 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
456 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
274 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
3k 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
564 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
525 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
261 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
307 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
717 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
1k 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 ...