Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [root]

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

0
votes
1answer
385 views

unset HISTFILE cannot disable root's .bash_history

In order to make the behavior system wide, I put unset HISTFILE in /etc/profile. Normal users no longer have .bash_history but root still does. Anyone can tell me what I am doing wrong here? Or what ...
0
votes
1answer
210 views

Why is root sometimes not in the sudoers file, by default or convention?

On many varieties of Linux and Unix, the root user is not allowed to use sudo. Why is this? Is there any security concern with the root ALL=(ALL) ALL present in some other varieties' default ...
1
vote
0answers
100 views

Become superuser in firefox os?

I have a core firefox os device. Now it is having some problem with some functions like settings. I have tried to repair it with adb but whenever I try to do something the error message like this ...
0
votes
0answers
41 views

I screwed up and cygwin is in my root drive C:// Does anyone know how to correct this?

I followed the directions for installing Cygwin and it is now in my root drive. Does anyone have a way to move it out of the root directory and into someplace safe?
0
votes
1answer
917 views

Invalid Argument when mounting /system as (RW)

I have Kingroot (for root access) and Terminal emulator installed on my device. I am using the following command to mount the System directory on terminal: mount -o rw,remount -t ext4 /system and ...
0
votes
1answer
110 views

How to run a program (steam) installed by another user?

I'm really new to Linux. I'm currently running an Ubuntu version and I would like to run a program that was installed by root as a non root user. Or how do I install a program for all users? Thank ...
0
votes
0answers
70 views

Create ISO Image from Root Server on Runtime

is anyone here who knows if its possible to create a ISO-Image from a running server to backup all datas on it? I'm planning to create a backup tool that creates a ISO Image from the whole server and ...
1
vote
2answers
357 views

Running docker containeras non-root user?

Is there a way for users without root access to run a docker container? To be clear, I am not asking if I can create a user in the container that runs as non-root. Rather, I need to know if and how a ...
1
vote
1answer
933 views

When I use root to open Sublime Text 3, all packages are missing

With Sublime Text 3 running under Debian Linux, I have installed several packages as a normal user, but whenever edit any file I have to write the administrator password. So I used su and subl to ...
-1
votes
1answer
109 views

How to change the root directory using a Script?

I wanted to change the root directory for a user after running a script, for example : someone uses source on a script when he uses cd / instead of going to the root directory he goes to /...
3
votes
1answer
8k views

Xubuntu 16.04 ttyname failed Inappropriate ioctl for device

I have a need to launch Xubuntu as a root user for a stand-alone demo system. Whether I use the auto-login feature from lightdm, or when logging in via "Other" > "root" when prompted, I always get ...
0
votes
1answer
380 views

Permission denied when trying to view var/root in osx10.9.5 with root user enabled

how do I access the root directory in osx 10.9.5 (Mavricks). I get the red no access logo and Permission denied under terminal despite enabling root user and being in an administrator account. Tried ...
0
votes
1answer
63 views

root last chance to save server (sudoers file broken)

I know it's quite dumb to edit the /etc/sudoers file with nano and not visudo, but I did it and got an Syntax error :( . I have the root password and tried to login, but the root user is set to bin/...
-1
votes
1answer
47 views

Does changing root permissions matter?

I see many times when dealing with password or other confidential files, tutorials and the like recommend changing the file permissions to 400. This seems odd because root, I have learned, is like the ...
1
vote
1answer
467 views

How do I set up a bootable incremental ZFS-on-root backup on a seperate drive?

I installed antergos Linux with ZFS-on-root. The system is up and running and I’m glad because that alone is a success for me. Now apparently ZFS is mainly for NAS, RAID, Server configs etc. (and I ...
7
votes
2answers
2k views

How to open a file in ranger as root?

How do I open a file in the file-manager "ranger" with superuser rights? While ":open_with vim" opens the file as none root with vim, I am looking for something like ":open_with sudo vim", but that ...
1
vote
0answers
663 views

install build-essential without apt and without internet in linux 3.4.7

I want to install build-essential on linux server, where apt command is not found. Im not able to connect internet over the server. I found some solutions, but all of them included apt-get, which I ...
0
votes
1answer
83 views

sudo command and root password on macOS

I'l try to make sudo dd if=disk.img of=/dev/disk2. Root user is enabled with password. I logged in macOS as a single user. When I try to set this command, terminal ask me Password, but root password ...
0
votes
1answer
368 views

How to transfer data from root user to other user (Kali linux)

I am running Kali Rolling. I had a very bad habit of using the root user for everything (downloading packages, downloading files, transferring photos, and customizing Kali (the clock and icons and ...
0
votes
1answer
45 views

Where did it go? sudo su then mv a.zip ~/desktop

I elevated to root user with sudo su then I made the mistake of trying to move a file to my logged in profile's desktop with mv a.zip ~/desktop. As a result, I am unable to locate the a.zip file. I ...
1
vote
1answer
4k views

Difference between sudo su - root vs sudo su -

I know how is working 'sudo su - ' or sudo. But not sure why after sudo wave I just can't login on root with 'sudo su -' but with 'sudo su - root' im able to. Where is the difference? btw. Ldap is ...
0
votes
1answer
98 views

changed root UID in ubuntu

I was tinkering with the /etc/passwd file when accidentaly changed the root UID and GID. When I enter into the recovery mode, I still have no superuser powers, as any user exists on the passwd file ...
0
votes
1answer
18 views

Daemon and gui app accessing same data files

I have a daemon that needs access to (read/write) some files that a gui app also has access to (read/write). The daemon runs as root but the gui does not. Each time the daemon accesses the files, ...
1
vote
1answer
75 views

Dubious user on MBP 10.12.5

I execute "dscl . list /Users | grep -v '_'" and lists root permission users, like: daemon, Guest, hiddenuser, nobody, "me", root. I don't know who is hiddenuser and how to remove it. could somebody ...
-3
votes
2answers
546 views

Install XAMPP in Kali normal user

I want to install XAMPP, but it says to install it as a superuser and when I login to root I can't find the file in my home directory. How do I solve this problem?
0
votes
2answers
160 views

How do I change/reset permissions ssh debian

Recently I executed command chmod -R 666 /, instead of putting directory for the command, after I realised what I did I did CTRL + Z asap, but some necessary permissions from root user were negated, ...
0
votes
2answers
347 views

Run Linux desktop only as root

I want to run Linux desktop (xfce, lxde, ...) only as root, while denying accessing to other users. Only the root (admin) has the privilege to run a desktop environment or a GUI application. EDIT ...
-2
votes
2answers
658 views

Debian(jessie) : Permission Denied

I have a NTFS partition and I installed Debian(Jessie) I added myself to the sudoer file but I can't perform any operation in NTFS partition. Please suggest me something I installed this debian third ...
0
votes
1answer
57 views

Bypass activate storage for android phone?

I have an android phone with broking screen that I'd like to root to eventually use it for a different purpose (as a computer). The thing is that when I connect it to my computer it is detected, but ...
0
votes
1answer
2k views

Enable root login via ssh not working?

I want to enable root login via ssh. So I add the ligne 'PermitRootLogin yes' to ssh config file '/etc/ssh/sshd_config' : Port 22 Protocol 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/...
0
votes
1answer
453 views

PuTTY - Created new user but can't login with it

I can connect to the server with root user via ssh, but I can't login with the new user I made named server. What I can do though is login to root, and then do the su server command. What is the ...
3
votes
0answers
366 views

Does a process with CAP_SETUID and CAP_SETGID can always gain full root privileges?

If I have an executable file with CAP_SETUID and CAP_SETGID set inside xattrs file’s attributes. Will I get full root privileges if such executable call setuid();setreuid();setresuid();setfsuid() with ...
1
vote
1answer
133 views

What is the file called “Desktop” in the root directory on my Mac?

I was sorting through the files on my computer when I noticed a file I didn't put there, which is very large. It seems to have no associated file type (no suffix), and certainly isn't text. It's 8Gb ...
0
votes
0answers
76 views

Bash on win stuck in root mode after deleting the 'user' folder in C:\Users

I was trying to reset bash to resolve the issue unable to resolve host thinking reinstalling linux subsys would help. I intentionally deleted the other 'user' folder. Now I've reinstalled bash many ...
0
votes
1answer
2k views

launch transmission-daemon as root

have trouble with transmission daemon. I need to write files to external hdd, but always get Error: Permission denied Some guys write something about auto-mounting bug, but I can't mount it each time ...
1
vote
1answer
654 views

Thunderbird Quota Root 100%

If I remove the emails from the server would it effect my emails on Thunderbird? Is there a way were Thunderbird just removes messages from server every 1-3 days? (like outlook does)
0
votes
1answer
444 views

How to use Filezilla SFTP with root disabled?

CentOS 7, I have root disabled for obvious reasons, and because of this I cannot use Filezilla SFTP as folders are denied to other users. I added a user to the 'wheel' group successfully, but ...
0
votes
0answers
164 views

CentOS 7.3 repquota: Cannot stat() mounted device /dev/root: No such file or directory

I get an email that says this every day or so. Every search has come up with a solution that has not worked for me (apparently did work for CentOS 6.x) Running cPanel on Linode CENTOS 7.3 x86_64 kvm ...
2
votes
1answer
2k views

macOS Sierra 10.12.2 root cannot write in /usr/sbin

Can anyone shed some light why? # whoami root # ls -ld /usr/sbin drwxr-xr-x 246 root wheel 8364 Jan 3 14:36 /usr/sbin # pwd / # touch test-file # ls -ltr test-file -rw-r--r-- 1 root wheel 0 ...
0
votes
0answers
734 views

users are getting sudo to root though it is blocked

I have below entries in sudoers file but users are getting access to root, need to block the same. Cmnd_Alias SUROOT=/bin/su -,/bin/su - root, /bin/su root, /usr/bin/su -, /usr/bin/su - root, /...
3
votes
1answer
524 views

Cannot delete a dir as `root`, even after a `chattr -i`

I am trying to delete a directory, foo, and am totally out of things to try. Note: I know, I'm not supposed to delete LxD containers with rm, but I'd messed up this directory's contents earlier, and ...
1
vote
1answer
67 views

Trying to understand the security of a default Mint installation

I some areas, I'm gradually getting used to linux, but in others (like this one) I'm still 99% noob. As an XP refugee, I've used Mint and am now on 18 Sarah. I am not concerned about protecting the ...
0
votes
1answer
73 views

64bit windows guest on a 64bit linux host with root

I've installed virtualbox on Ubuntu using the regular package. When I run virtualbox as a normal user, I can create VMs it lets me create VMs with both 32 and 64 bit guest OSes. But when I run ...
1
vote
0answers
675 views

I can't change permissions on my Applications folder El Capitan 10.11.6

My applications folder won't allow Quicken to update so I tried to add my user name to the applications folder and give it read/write. I don't see staff permissions either and a "fetching" that never ...
2
votes
1answer
1k views

What is the best way to backup an SSH key in case my hard drive fails, etc?

I have disabled root user login for my CentOS server running cPanel. This is frustrating, as I then cannot login via SFTP and get to my root files on my server to check error logs (which I frequently ...
2
votes
1answer
1k views

SSH keys deleted from home folder after reboot

First time poster and massive unix/linux novice here. I have a Western Digital My Cloud NAS, which runs (I believe) some version of Debian. I've got a remote backup account with Rsync.net, and want ...
3
votes
1answer
111 views

Give root more space

I just installed Minibian on my Raspberry Pi but I don't seem to be able to use all the space on my SD card (64 gigs). As far as I can figure out by myself, the root volume is too small. Here is the ...
0
votes
2answers
59 views

How can I install applications on a new system without creating a user?

I just installed El Capitan on a laptop and I want to install applications without going through the OS X welcome and creating a user. I would like to give my brother a laptop that has Adobe's photo ...
0
votes
1answer
734 views

Fully Android Backup without root

We're using a general Android Tablet (Chinese Made) is it possible to fully backup the whole tablet including apps, settings, app data, etc. And restore them on other tablets without rooting the ...
1
vote
1answer
31 views

Set up a web filter to block even the root user?

Is it possible to set up a web filter in Linux which even the root user will not be able to alter? I am the only user on my laptop, and I need root access to do things like install stuff, etc. I ...