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

learn more… | top users | synonyms

2
votes
1answer
328 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
1k 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
979 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
373 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
294 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
990 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
836 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
138 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
187 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
277 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
410 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
12k 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
296 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
151 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
466 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
148 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
128 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
87 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
173 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
340 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
590 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
1answer
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
269 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
101 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
311 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
442 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
802 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
376 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
144 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
387 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
132 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
499 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
371 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
412 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
652 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 ...