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

learn more… | top users | synonyms

2
votes
0answers
9 views

How to increase the root partition in embedded Linux with fdisk and resize2fs when root partition is in between two important partition

I am new to Linux and started learning recently. I am using DE0-Nano-SoC / Atlas board. The connection to this board is through the Putty running in host computer.I have a problem to increase the root ...
3
votes
0answers
18 views

How to bind to a privileged port from a non-root process, on a Synology NAS

I want to run a custom DNS server (NxFilter to be precise) on a Synology DS115j NAS, which of course binds on port 53. This works when running as root, but I want to lock down the process now. This ...
0
votes
1answer
16 views

How to run firejail as root?

How can I run firejail as a root user? # firejail --seccomp firefox Reading profile /etc/firejail/firefox.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/...
0
votes
2answers
37 views

What happens when I run `su` as root?

If I run su repeatedly as root (yea, why would anyone want to do that? :), I have to exit once for each time I ran su in order to get back to the regular user. What's happening? user@computer:~$ su ...
0
votes
0answers
18 views

User with root access cannot install an RPM in REHL6?

I created a user in REHL6 with root access. The user is in wheel: $ groups the_user wheel And has root access: $ sudo whoami root However when I try to install an RPM, say gfortran, it fails with ...
15
votes
4answers
3k views

'sudo' is not installed, I can't install it, and it asks if I am root

I just finished installing Debian 8 (Jessie) and tried to make a directory in lib/firmware, because there was a file missing (rtl8723befw.bin) in the installation, and it says mkdir: cannot create ...
0
votes
0answers
25 views

Problem with booting into a user-level Bash Shell instead of the root user on Windows 10

I have a /home/user account but when I boot into Bash I boot into the root user. I have to su user to get into user. How can I boot into Bash and go directly into the user account and not root. ...
3
votes
2answers
43 views

MySQL root account without password?

I've just installed MySQL server with no password on root account. I was prompted to enter root password 3 times and I left it blank all three times because I don't want to use password. But now it ...
0
votes
1answer
23 views

BuildRoot - accessing eth0 needs root privileges

I've been building a number of BuildRoot images for an x86_64 single board PC I'm testing. I am using the latest BuildRoot from git, and the latest 4.8.1 kernel. I have everything working, except ...
0
votes
0answers
14 views

How GRUB determines the Linux root partition that it pass to the kernel with “root=”?

When the GRUB bootloader boots Linux, it pass the name of the root partition (where /sbin/init is) to the kernel through the root= kernel parameter in order for the initrd to be able to mount the real ...
1
vote
1answer
14 views

collectd is creating /home folder on my mac and I cannot remove it

I posted this here instead of the apple site because this seems more like a *nix-ish issue and I think this site would be better suited for it. I had installed collectd with graphite for monitoring ...
3
votes
3answers
59 views

What is the differece between root terminal and sudo?

Environment:debian8+lxde. There are two terminal in system tools:LXTerminal and Root Terminal. When to login with a normal user (not root user),and System tools--Root Terminal,you can have ...
1
vote
1answer
35 views

root cron task that requires reboot will get me out of the system if I use another user?

I have some cron tasks unique to root. One of these has a reboot command in the end. Say I SSH with my work user and while doing some task with it, the reboot-requiring root task will run in the ...
0
votes
0answers
19 views

su authentication failure & sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set [duplicate]

today I was attempting to setup nginx and I made a huge mistake. I'm on Manjaro KDE Edition (16.10.3). Since nginx gave me 403 - forbidden, I gave a look at Resolving "403 Forbidden" error and, since ...
1
vote
2answers
41 views

Make directory unmodifiable or undeletable except by root

I would like to prevent a directory from being deleted, let's assume the directory has this path ~/foo is there a way to make it deletable only by the root user, without using sudo and without being ...
0
votes
1answer
20 views

Software available only to root user?

I am trying to install HP Fortify on RHEL 6.4. I installed it as the root user and can see on the PATH but when I login with a different user I can't see the software in the path. I have updated the ...
0
votes
1answer
40 views

I'm making a GUI program in python that needs to run as root right from the get go, how should I go about it? [closed]

I was thinking of calling GKSu but I understand it's deprecated. How else can I do this?
-2
votes
1answer
29 views

what is the difference in /# and ~# for a root user?

I know that $ is a non-root user and # indicates a root user, similarly trying to understand the basic difference in the representation for a root user with the syntax "/#" and "~#". root@...
0
votes
1answer
25 views

using root for pentesting and non-root for normal use

So i know it's bad to run as root for normal usage, but for some usecases such as pentesting it's actually a pain to not run as root. I'm running on ubuntu gnome with all the kali repos added in for ...
0
votes
2answers
71 views

How can I execute notify-send from root? [duplicate]

I'm working on a bash script which requires root privileges, but which I'd like to give the ability to notify a non-root user of certain alerts via notify-send in GNOME (or any other desktop shell ...
0
votes
3answers
131 views

Preventing other users from viewing my files [closed]

Ref: Can root/superuser read my read-protected files? My Ubuntu user account name "user-3121" with type as "Administrator". There is one more account named "admin" with type as "Administrator". How ...
3
votes
1answer
42 views

Etcd executable gets permission denied as root

I am trying to install etcd on a Debian machine. root@s1:/tmp/test-etcd# uname -a Linux s1 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux root@s1:/tmp/test-etcd# uname -m ...
2
votes
2answers
635 views

“PermitRootLogin no” in sshd config doesn't prevent `su -`

The problem is that I really don't know if I am confused with PermitRootLogin or it is not working well. I put it in the sshd_config, and when I connect via ssh, I am able to do su - in order to have ...
1
vote
2answers
81 views

Command not found when running script as other user

(Using an Ubuntu EC2 on AWS) I've a script, /home/ubuntu/start.sh. If I run it as ubuntu, it runs well. I need it to be run at launch, so I put it in /etc/rc.local. This will then be run as root on ...
0
votes
0answers
13 views

Minbian install performing strangely after hostname changes?

I've re-flasahed this SD card with the latest image of Minbain 4 or 5 times tonight. Strangely it works perfectly (literally the same image) on one of my RPi3s but not on the other. When I re-flash ...
0
votes
1answer
36 views

su -l root -c “echo $HOME” prints my user home

this is my first post, I've some questions about su - [user] -c [command] I've made some searches, I found this thread and this other one who are related to my question. I'm trying to set an ...
-1
votes
3answers
73 views

how to create user that have same permission as root in CentOS 7?

how to create user that have same permission as root in CentOS 7?
1
vote
1answer
24 views

/root as bind mount?

I am migrating my system from Debian 32 bit to Debian 64 bit. It is installed on /dev/sda2, so I created /dev/sda3, installed the new system there, synched installed packages and configuration files ...
3
votes
1answer
179 views

Recover su password after modifying /etc/shadow

I follow a tutorial about the race condition exploit. I made a copy of my /etc/shadow file. And then replace all the contain by one line root::1:99999::::: However. My old password doesn't work ...
1
vote
2answers
41 views

Have a command in my $PATH, but it is not being recognized when I use sudo [duplicate]

I’m using Ubuntu 14.04. I’m having trouble getting a command picked up in my $PATH using sudo. I have added this to my /root/.profile file # ~/.profile: executed by Bourne-compatible login shells. ...
0
votes
1answer
37 views

Having trouble running a command as another user on Ubuntu

I'm using Ubuntu 14.04. When logged in as root, I'm tryhing to run a command as anotehr (postgres). However, it is failing root@remotebox:/home/rails/myproject# su - postgres 'pg_upgradecluster 9.3 ...
0
votes
2answers
28 views

User for mysql database [closed]

On a test Debian server, I'm using root as user for mysql. Then for each Wordpress site I have, I have this in the php config file: define('DB_USER', 'root'); define('DB_PASSWORD', '...'); Is this "...
0
votes
1answer
49 views

Multiple mountpoints on one partition?

Can I have separate / and /tmp but /home + /usr + /var on one partition somehow? Separate /tmp is good because I can set it up with some quick unreliable filesystem. I often change distributions ...
1
vote
0answers
38 views

Why root lose permission of 1st and 2nd level symlink?

Why root lose permission to run 1st level symlink /bin/planet and 2nd level symlink /tmp/earth, except symlink target /tmp/sun at the end ? Instead ordinary user no problem to run 3 of them: xiaobai@...
0
votes
1answer
36 views

Attack scenario if files in /bin/ or /sbin/ owned by normal user but not invoked by sudo?

I've learnt the following symlink is insecure because sometime i use vim to edit file by sudo: xiaobai@dnxb:/tmp$ sudo find -L /root \! -user root /root/.vimrc xiaobai@dnxb:/tmp$ ls -lathi /root/....
1
vote
0answers
91 views

Letting jenkins execute commands as root

I have a jenkins server which logs into my production server via ssh and is supposed to restart some services with systemctl restart myservice.service I've read similar issues and the most common ...
0
votes
0answers
37 views

Env Variable different from user to root

I'm trying to correctly install qutip, but python is giving me a very hard time. I have kubuntu. I have installed python 2.7.12, with kubuntu there already was python 3 but this is not giving me ...
2
votes
0answers
153 views

checkPermissions Missing write access to /usr/local/lib/node_modules

I tried to install the npm install pug, could not because of the permisions, got this: checkPermissions Missing write access to /usr/local/lib/node_modules However im logged in as as root Linards:~ ...
0
votes
1answer
34 views

switch to root takes long time [duplicate]

I have a system (RHEL) and switching to root takes about 1 minute. (su - root) However, switching to any another user takes less than 1 second. Is there a way to debug, why does switching to root take ...
0
votes
0answers
41 views

Sharing / root Linux directory with Samba, CentOS 7

I'm using CentOS 7! I want to know if is possible share root "\" Linux Directory. In root mode: # kwrite /etc/samba/smb.conf Here the line contents [global] workgroup = MyGroup server string =...
0
votes
1answer
40 views

chmod +w /var/log/messages seems to fail also for root user [closed]

Does anybody know why the root user can add read access for everybody to the /var/log/messages giving the commands: $ ls -l /var/log/messages -rw------- 1 root root 161613 Aug 8 14:12 /var/log/...
0
votes
1answer
45 views

Readonly file and can't change permissions

There is a file with read only permissions, but even root can't chmod it. Permissions of the file: -rw-r--r-- After trying to chmod 777: chmod: changing permissions of ‘motd’: Operation not ...
0
votes
1answer
75 views

Install curl without being root

I was trying to install a R package called "devtools", but without success. ERROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘httr’ * removing ‘/misc/u32/huang/.R325/lib64/R/...
-3
votes
1answer
34 views

Alter another user's crontab tasks

Similar to this question, I would like to alter a user's crontab file as root. I'm able to view the crons, but unable to alter or edit them. To view them, I use the following: sudo crontab -l -u <...
0
votes
2answers
65 views

Change username without root access?

I've learned to ssh for the first time, and am logged into my university mainframe account. Can I change my username without root? Or is it like a password where I need root?
2
votes
1answer
32 views

Linux Mint is installing programs to / and not /home, how do I resolve this?

I have an issue with Linux Mint saving things to root and not the home directory. I need assistance with this, a friend is being rather persistent about it. Every time a package is installed it ...
1
vote
3answers
578 views

Can I have more than one superuser account in unix? [duplicate]

I've started learning Unix (coming from the windows world) and was wondering if I can create other users in the Unix with the same powers as the root user and # on their shell prompts?
4
votes
1answer
143 views

Where do /root/.bashrc and /root/.profile come from on a Debian system?

Normally when you add a user on a Debian system, the contents of /etc/skel/ are copied into the new user's home directory. But /root/.bashrc does not match /etc/skel/.bashrc and /root/.profile does ...
6
votes
1answer
580 views

How do I check if I have root access?

My boss want his team members to let him know, who has root access. How do I check if I have root access? If I can login on a server and do anything with sudo, does it mean I have root access?
1
vote
0answers
32 views

Root a D-Link 1550-4 NAS

su - returns su: must be suid to work properly and then sudo returns sudo: must be setuid root This is on a D-Link 1550-4 NAS, running what I believe to be a modified version of SLAX Linux. I got the ...