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

learn more… | top users | synonyms

0
votes
1answer
183 views

Why some files are read only for root by default?

In Linux systems, the root user has privileges to change permission for every file. Then what is the logic of some files having read only permission for the root user by default? File in concern: ...
0
votes
2answers
656 views

Check If a script is executed as root?

I have a script that requires root privileges. I have to execute it either via sudo or from an account with uid 0 (e.g. root). If the script is not executed with sufficient rights then I want that ...
3
votes
2answers
4k views

Can't install Parallels Tools on Debian 7.2.0

(Parallels Desktop 9, latest version) As per instructions, I switch to root: $ su - root $ whoami root $ echo $EUID 0 and then execute the installer: $ cd /media/cdrom0 $ ./install and I get ...
0
votes
1answer
129 views

Disabled root login and no root users.. What to do? CentOs 6

So I was undoing some changes here on CentOs 6, and I ended up removing all users who had root access, accept for the root user. But then I realized the root login is disabled, and I just disabled ...
3
votes
1answer
291 views

How does sudo actually work?

How is it possible for sudo to actually function? If it's just a normal program, couldn't you make the same thing without requiring the user to authenticate, giving anyone with access to a computer ...
3
votes
1answer
355 views

AIX 7.1 su root password bug?

In our AIX 7.1 machine there is a weird bug we've ran into.. If you are logged into the AIX box via SSH as a regular user and you try to su - you get prompted for the password, lets say our password ...
1
vote
2answers
157 views

Using the root account on a single-user system [closed]

On Linux systems it is widely considered a best practice using the root account only on occasions that necessitate administrative privileges, or disabling it altogether and relying solely on sudo to ...
2
votes
1answer
3k views

sudo: must be setuid root

I rented a server (ubuntu 12.04). They gave me a root user account. Next, I went in and created a new user using: # adduser <newusername> And added a password. The new user account works ...
2
votes
1answer
2k views

SSH: remote switch user and execute command under this new user

I am able to connect to remote machine using public/private keys (without password) as user wakatana. On remote machine I am able to issue: sudo /usr/bin/rootsh -i -u root then I type root's password ...
1
vote
6answers
4k views

recovery of password for root in Ubuntu 12.10

I installed Ubuntu 12.10 on my 32-bit machine using Ubuntu installer and gave a password(and the account name was 'samsung') when prompted. Later I was able to use that password for logging in, ...
0
votes
0answers
1k views

How to recover the root password (passwd/chroot not found)?

I did init=/bin/bash, ctrl-x, mount of root, but when I try to run chroot or passwd it simply doesn't find any command. I see many tutorials, but they assume I have passwd and chroot. But I have ...
1
vote
1answer
383 views

Developing and deploying application that will run as root using setuid?

I have an application that needs to run with root permissions. Using setuid bit on the application file seems like a logical choice. My understanding of setuid is that the files should be owned by ...
0
votes
2answers
302 views

Given I have root on and Android system and can access the shell, am I still restricted in what programs I can run?

Obviously, Android runs applications in sandboxed mode for security reasons, but if I have root and shell access on an Android device, can I then treat it as a regular linux distro, and run any ...
3
votes
2answers
1k views

How to install skype on CentOS without root access

So I'm trying to install Skype on my office computer which has CentOS6.4 and where I have no root access. http://www.skype.com/en/download-skype/skype-for-computer/ only offers binaries for Ubuntu, ...
-2
votes
2answers
872 views

Change /etc/, /var/ permissions to 777

Well, I was being lazy to properly setup the properties of the files and now I set up the permissions recursively the folders /etc/ and /var/ to 777. Now I can't ssh into the machine but worse I can't ...
0
votes
1answer
141 views

Create user with partial root permissions

Is there any way to create a user with partial root permissions on a GNU/Linux system? For example: A user who can use the useradd and userdel tools, but nothing else besides regular user ...
0
votes
1answer
1k views

How to add yourself to sudoers list?

I was trying to install a package using the command: sudo apt-get install ruby-rvm But I'm prompted with nish is not in the sudoers file. This incident will be reported. I tried to add myself ...
1
vote
3answers
191 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 ...
2
votes
2answers
2k views

Why is the User created during linux installation not the root user? [closed]

Whilst I was installing Linux Mint... I created a user profile.. then after the installation was complete I tried installing NASM but after executing the make install command it failed to create ...
0
votes
1answer
282 views

Why do linux packages expect root permissions to install?

This is a question about the design choices of *nix, not how to avoid it. What is the purpose for requiring root access to install most packages? It seems like a potential security hole to require ...
-4
votes
2answers
422 views

Preventing execution of sudo rm -rf /*

Do any Linux distros prevent the execution of sudo rm -rf /* so that people do not accidentally delete their hard drives if they did not know what they are doing?
18
votes
2answers
13k 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
297 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
157 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
482 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
157 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
2k 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
130 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?
-1
votes
1answer
88 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
175 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
343 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
613 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
89 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
3k 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
2answers
3k 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
275 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
103 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
2k 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
319 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
459 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
822 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 ...
3
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
3k 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
1k 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 ...
3
votes
2answers
4k 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
383 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
145 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
399 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 ...