The "root" account is the most privileged account on a Unix system.

learn more… | top users | synonyms

0
votes
4answers
3k views

New user with root access in Linux Debian

I've created a new user by using "User Accounts" in "System Settings". How do I grant rights so that this new user can have the same level of access as root?
3
votes
2answers
47 views

If /usr partition not specified, does it go on same partition as root by default?

I plan to install Fedora Linux on a machine with an SSD and an HDD. /boot, and the root will have their own partitions on the SSD. If I want /usr to be on same partition as /, will that occur by ...
6
votes
2answers
266 views

Nautilus special URIs

Where are these special URIs used in Nautilus defined in Ubuntu? recent:/// trash:/// x-nautilus-desktop:/// computer:/// burn:/// These can instantly open special locations in Nautilus by typing ...
1
vote
1answer
257 views

How to respawn vpnc when it stops?

As root, I've setup a crontab rule that launches vpnc everyday early in the morning (before I arrive at my workplace). But it often occurs that the vpn stopped mid day. As a result, I have to sudo ...
4
votes
1answer
488 views

Mac OS X Darwin: how to reset admin password?

Today I bought an ibook G4 from a garage sale. The people who sold it to me didn't know the password for the 2 accounts on it. Apparently it was the guys late father's laptop. Any suggestions on how ...
2
votes
0answers
36 views

Reason for the inability of root to send a fatal signal to PID 1/init [duplicate]

Why can't root send a fatal signal to PID 1/init process (sudo kill -9 1)? As stated here.
0
votes
0answers
19 views

file owner not able to renounce the ownership to root? But root can! [duplicate]

I logged in as username 'ravbholua' I created a file bb as below: ravbholua@ravi:~/Pictures$ echo>bb ravbholua@ravi:~/Pictures$ ll total 12 drwxr-xr-x 2 ravbholua sudo 4096 Oct 13 11:18 ./ ...
2
votes
3answers
285 views

What happens if I delete all user passwords?

I have a Fedora VPS with a root user that has no password. I login with SSH keys. I had another, less privileged account on that server, used for web administration. I've now deleted its password ...
3
votes
2answers
471 views

difference between windows local admin and unix root

I am trying to understand what is a conceptual difference between unix root account and windows local admin. I am a developer and despite IT department efforts were always given local admin rights so ...
3
votes
2answers
237 views

Seems that chown is allowed to non root user

We are using LDAP authentication and probably another things that I did not understand well, in our company so maybe the following questions are result of this. I have found strange behavior of chown ...
2
votes
3answers
387 views

Use EncFS to encrypt files so that a particular user or process can access them, but root cannot

I have a process which I would like to have access to an encrypted file system. This is very easy to do with EncFS, but this requires a user mounting the encrypted file system, therefore giving any ...
3
votes
2answers
59 views

Whose password should I enter?

Authentication is required to perform this action. Whose password should I enter? Mine? Root's? I can never tell. ...
-1
votes
2answers
879 views

clonzilla + what the password for debian linux

Please advice what the password in debian Linux (debian Linux in clonezilla software - disaster recovery tool) Example I use the clonzilla (backup & restore tool) in order to clone Linux systems ...
0
votes
2answers
9k views

how to access root terminal in kali linux

I am currently using Kali Linux but I have a problem. In my Kali OS, when I open root terminal then it simply starts a normal terminal. I cannot access root terminal. When I update my root terminal ...
2
votes
1answer
163 views

How do I get tcpsvd to drop its root privileges?

Assume a script runs on boot as root. From this script I want to start tcpsvd -E 0 515 lpd. I want tcpsvd to run as an unprivileged user. But it requires root privileges to bind to the port 515. How ...
4
votes
1answer
6k views

Samba share permission denied user writing file but still shows

Very strange issue... Samba share on remote: [javaerpm] path = /u/abas/erpm/java force user = erpm guest ok = yes read only = no writeable = yes Mount command on local using ...
7
votes
1answer
717 views

why have programs like su access to /etc/shadow

Normally only root can access /etc/shadow. But programs like su and sudo can check passwords without running as root. So the question is: Why can these programs access /etc/shadow without privileges? ...
1
vote
1answer
45 views

Compiled, can't access with sudo

So I compiled FFmpeg from this guide as a standard user and it works fine as the user I compiled with but if i do sudo ffmpeg the program can't be found. Is it possible to make it accessible by root ...
1
vote
1answer
128 views

Problem with chown directory

i'm login with root account i want to chown my directory i do this: [root@sop /]# chown -R webadm:webgrp /ap/P12B/ I have this error: chown: changement de propriétaire pour `/ap/P12B/': Système ...
0
votes
0answers
98 views

Changing Android files in root directory

Does anyone know how (if it is possible) to change Android files stored in root directory, particularly logo.rle? I want to change my boot splashscreen, changing the file, which is stored in /. I have ...
2
votes
2answers
230 views

Execute user script as root in startup applications

I just created a script (logscreenlock) to log lock/unlock screen events (derived from this post): #! /bin/bash dbus-monitor --session "type='signal',interface='org.gnome.ScreenSaver'" | ( while ...
1
vote
1answer
72 views

Pamtester automate password testing

We have a system image which uses a default password for root. This should be changed, though I have a feeling not all users do this. I know I can test login with pamtester: # pamtester system-auth ...
0
votes
1answer
84 views

Resizing root partition in LVM broke Grub

I'm using Debian Wheezy hosted on W7 in Virtualbox. I needed to enlarge root partition then added a new virtual disk to virtual machine. Doing the steps mentioned below brings me to grub prompt. I: ...
3
votes
2answers
1k views

Difference between root account and administrative account

If a user with administrative privilege can have all the powers of root using sudo , then what is the advantage of having root account?
5
votes
2answers
630 views

How to see password as we type it

In debian wheezy terminal i type su - It ask for password, which i type but it dont show anything as Password: I want to it to show at least some asterisks as the placeholder for the password ...
3
votes
1answer
724 views

Can edit file as root, but not using sudo

I just faced a really strange situation. I was trying to edit file /usr/lib/thunderbird/thunderbird.sh, which has the following permissions: $ ll /usr/lib/thunderbird/thunderbird.sh -rwxr-xr-x 1 ...
3
votes
2answers
140 views

Log in as one user but authenticate as another

This might be a weird question but I wonder if there are possibilities to this. When I'm configuring a system I prefer to be root so that I don't have to sudo everything. However, the root account is ...
1
vote
2answers
12k views

How to properly configure sudoers file, on debian wheezy?

I have seen many blog posts that say, it is enough to do aptitude install sudo su root adduser USERNAME sudo But that only protects aptitude, in other words: aptitude install sendmail will ask ...
0
votes
0answers
66 views

Root has no permission on virtual console screen devices

Even being root I can't do the following: # cat /dev/vcs1 cat: /dev/vcs1: Operation not permitted And the rights are set correctly: # ls -o /dev/ crw-r--r-- 1 root 7, 1 Aug 5 22:00 vcs1 ...
2
votes
1answer
277 views

Why doesn't terminal show color schema once logged as root?

I'm currently using Debian 7 Wheezy, and I've noticed that the colors palette on terminal (which might be useful to identify among a large set of files and folders) are not enabled once I log as root. ...
1
vote
3answers
100 views

Is there any way to disable shutdowning remote machine?

I sometimes mistakenly shutdown the remote machine by using sudo init 0, so I wrote something like in one of my rc files: alias sudo='sudo ' if [ $SSH_CLIENT ]; then alias init 'echo Never use init ...
1
vote
1answer
83 views

How to ftp as root?

I can ftp to a linux server by doing ftp server But I can't do that with root. Need sftp or something or what?
0
votes
1answer
93 views

rsnapshot LVM without root

I'd like to cron a local backup to a locally mounted USB drive. I'm using rsnapshot and want it to back up an LVM snapshot onto the USB drive. But, unless I run the cron as root it complains that I ...
3
votes
2answers
140 views

Linux Kernel limit access to root with a button?

Is it possible to limit the access to a root account from within the kernel? I mean that if I press a button then the system detects the button being pressed and then allows access to the root ...
4
votes
1answer
104 views

Are there any security risks when mounting as root?

Are there any security related risks when mounting with root privileges compared to mounting with regular users? I have a script which does some ecryptfs mounting with non-root privileges (by design), ...
3
votes
1answer
672 views

Poweroff or Reboot as normal User

To run the command poweroff or reboot one needs to be super user. Is there anyway I can run this as a normal user? I just don't want to sudo and enter my password every time I reboot or power off.
1
vote
1answer
200 views

vmtoolsd doesn't end after logout

There is a process 'vmtoolsd' /usr/bin/vmtoolsd -n vmusr left when a user logs out. I have to type root password to shutdown or restart because of this. How to prevent this from happening? And what ...
1
vote
2answers
839 views

How to auto log on with root user in Fedora?

I'm a newbie in Linux, and I want to enable auto log on with root user for specific purpose. It's so bored when every time I power on my PC to study and I have to input user and password.
0
votes
1answer
113 views

Are there any Linux distros that protect against “self-mutilation”? [closed]

Over the past week I have installed and reinstalled Linux several times (Mint 15 in all but one case; Ubuntu 13.04 is too slow on my laptop), and after a mishap with QT today I completely gave up in ...
3
votes
2answers
151 views

why do I have two different results if I run a program through terminal(as root) or /etc/init.d(or /etc/rc.local)

Background: I use Debian Lenny on an embedded device uname -a Linux device 3.4.0 #83 Sun May 26 17:07:14 CEST 2013 armv4l GNU/Linux I have a C code (say my_C_program) that calls a board specific ...
4
votes
1answer
81 views

Root not affected by file permissions?

Why does this work as root? # touch test1 # chmod 000 ./test1 # echo "test" > ./test1 I take it root is not affected by file permissions?
6
votes
1answer
282 views

Any random password results in successful login on tty

I can login to my machine (FreeBSD 9.1-RELEASE) for any user (for example: root or operator or any that exists in /etc/passwd) with any random password that I type... I tried to reset password for ...
28
votes
4answers
3k views

Why is root login via SSH so bad that everyone advises to disable it?

Everybody on the Internet advises to disable root login via SSH as it is a bad practice and a security hole in the system, but nobody explains why it is so. What is so dangerous in enabling root ...
1
vote
2answers
1k views

change root account username

In windows it is possible to change administrator username for security reasons. Is it possible to change root username in Linux too?
0
votes
3answers
361 views

according root permission to www-data

I have a perl script dhcpmanip.pl which contain this line: system "hostapd /etc/hostapd-1.0/hostapd/hostapd.conf"` It's a command to start hostapd and I get this error : Insecure `$ENV{PATH}` ...
45
votes
3answers
2k views

How do the internals of sudo work?

How does sudo work internally? How is it possible that it can become root without having the root password, unlike su? What syscalls, etc. are involved in the process? And why is however sudo does it ...
0
votes
0answers
43 views

User drive is not showing

I'll try my best explaining this: /dev/disk0 /dev/disk0s1 /dev/disk0s2 disk0 does not show up at all, when I login even my desktop is completely blank with no dock nor toolbar so even to logout is ...
3
votes
1answer
333 views

sudo command executes without prompting for password

For some reason, I suddenly do not need to enter the password when issuing sudo some_cmd. Entered command just runs without ever prompting password, even if I am not logged in as user root. Commands ...
-1
votes
1answer
178 views

How do i change the password for root using webmin, where i have no more access as root?

I changed the root password, using webmin it shows me successfully done. $ uname -a Linux .com 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux $ echo -e ...
1
vote
1answer
993 views

Running program as root without using sudo with normal user account

Is there a way to force to run program as root (with normal user) when there's no sudo on the machine (and can't be added)?