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

learn more… | top users | synonyms

0
votes
1answer
55 views

How to let any user without root change specific network(qdisc) settings?

I have made a simple router from a Linux PC, for the purpose of simulating poor network conditions using qdisc (netem and tbf). Now, I want to allow any user to activate specific presets that I have ...
0
votes
0answers
49 views

How to run Wireshark on desktop computer with tablet display manager (Ubuntu 12.04, x64)?

I'm running Ubuntu 12.04 (x64). I installed Wireshark with apt-get. When I go to Ubuntu Button -> Search "Wireshark" -> Wireshark, the wireshark program launches. Unfortunately there's no interfaces ...
0
votes
0answers
75 views

Run a specific program with root privilges without asking for password everytime

Many times, i need to connect modem using SAKIS-3G script and because modem-manager sucks many times. I need to supply admin/root password, everytime i need to run sakis-3g script. I am the only ...
1
vote
2answers
2k views

How do I install Linux mint debian and set up a root login?

I have tried installing Linux Mint (after giving up with Manjaro for the same reason) but find I cannot do anything such as set up network connections as I have no root login. Should I not be prompted ...
9
votes
1answer
663 views

Debian - allow user to be root only for specific commands

We have several Linux boxes running Samba that are used 'locally', eg each branch gets their own Samba box to store and share files. The office managers need to be able to add and remove users for ...
0
votes
1answer
104 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
248 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 ...
1
vote
1answer
2k 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
102 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
177 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 ...
2
votes
1answer
213 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
118 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 ...
0
votes
0answers
86 views

Linux/Slackware 14.0 newbie: Why does flash player work only under root?

So I decided to install Slackware to start learning more on Linux. One thing that I have noticed, is that when I log in as root, the flash player works for sites like Youtube, it just pops up a ...
2
votes
1answer
1k 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 ...
1
vote
1answer
841 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
3k 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
698 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
241 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
252 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 ...
0
votes
0answers
42 views

OpenBSD install various difficulties

Ok... Where do I start here. I have installed OpenBSD to be used as a dedicated firewall. After install I ran into several kernel traps that had me scratching my head. I finally disabled acpi on boot. ...
3
votes
2answers
691 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, ...
-1
votes
2answers
610 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
109 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
635 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
164 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
869 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
211 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 ...
-1
votes
1answer
262 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?
16
votes
2answers
5k 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
288 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
119 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
333 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
133 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
109 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
82 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
162 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
292 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
365 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
79 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
1k 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
199 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
94 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
877 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
242 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
326 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
671 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 ...