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

learn more… | top users | synonyms

4
votes
2answers
2k views

Use another user's .vimrc and .vim/

I know that I can :source /path/to/some/.vimrc to load my user's .vimrc when running as root, but how can I use the entire .vim/ directory as well? Is there a startup option for using /home/user/.vim/ ...
0
votes
0answers
15 views

Can't get file to copy from /sys/ on rooted Android [migrated]

I'm currently rooted on a Samsung S3 i9300 running a custom rom on Kitkat 4.4.2 I use es file explorer to perform root tasks on directories and files, I wanted to permanently turn off the led lights ...
0
votes
7answers
2k views

How to enable Ubuntu 9.10 root login?

How can root login be enabled in Ubuntu 9.10?
0
votes
3answers
3k views

Ubuntu error “Gave up waiting for root device” on 9.10 Netbook Remix

So I installed Ubuntu Netbook Remix 9.10 onto my Asus EeePC 1008HA netbook. It worked perfectly and was pretty quick. Restarting, suspending and hibernating worked just fine but the very first time I ...
1
vote
1answer
22 views

Linaro system boots to root without password

I installed a linaro system on my ARM chromebook, and it seems to autoboot to a root prompt. I've set a user password, and use it to login to the GUI, but with a simple Ctrl+Alt+F1, I can get to a ...
1
vote
0answers
27 views

Can't login to CentOS desktop as root via GUI prompt

I have CentOS 6.5 running on a VM in VirtualBox (Windows host). I had no problems logging in as root from the GUI prompt (clicking on Other and typing root, then my root password and getting the ...
0
votes
3answers
24 views

Access User Desktop Files While Using Root

I'm really new ubuntu user... I'm working as root user (the software that I'm using just works if you are root user) but the files that I need to access are on my normal user desktop. I don't how to ...
1
vote
1answer
65 views

devmem: can't open '/dev/mem': Permission denied

I have 2 phones (Samsung Galaxy S4 LTE I9505, Android 4.4.2 Kitkat) which I already rooted and have root access to the phones. Previously, on my rooted Samsung Galaxy S3 LTE I9505 running Android ...
2
votes
1answer
3k 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
0answers
23 views

How can I open a command prompt as TrustedInstaller in Windows 8.1?

I read that "TrustedInstaller" is the new root account in Windows 8, when it was previously "SYSTEM". The SYSTEM account still exists, but it's not the highest level admin account anymore. While I can ...
0
votes
2answers
128 views

CentOS 6.5 - bash: service: command not found

So I can't type service on my CentOS 6.5 server. I'm logged in as root. When typing service I get this error: bash: service: command not found I have also tried to type sudo service, but with no ...
21
votes
5answers
2k views

Sudo vs root; any actual differences?

I'm working with a support member for a product, and he insists that I need to be root to install a series of patches, and that sudo won't work; he doesn't provide a reason but seems very firm in his ...
0
votes
0answers
50 views

Can't sudo when logged in with ssh

I set up a ubuntu machine on my local server. I've got a user with sudo privileges (same password as for login). I've got passwordless ssh going by putting my rsa public key on the ubuntu machine. So ...
0
votes
0answers
16 views

Segmentation Failure 11 in Single-User Mode

I booted up my Mac in Single User Mode (by holding down Command-S while it boots) so then I have access to a terminal that is logged in as root. But when I run passwd to try to change root's password, ...
1
vote
1answer
45 views

Why does 'cd' not work on an entry with 'directory' attribute?

My OS is fedora 20. I act as a root user. under / directory, I input: #ll ... d????????? ? ? ? ? mnt ... #cd mnt bash: cd: mnt: Not a directory #chmod 777 mnt chmod: cannot access 'mnt': No such ...
1
vote
1answer
50 views

Is it possible to run a program as a specific user but with root permissions?

I'm doing development with PyCharm, doing development on a script that uses the scapy module for Python to do port scans, sniff traffic, and build raw packets. This, of course, requires root ...
2
votes
3answers
5k views

root password is not working for su in terminal

I'm using rhel 5, when i'm working in terminal first i typed su command and by mistake i entered copy command and some other characters, after realising i've made a mistake then i came out and ...
0
votes
0answers
23 views

Apps crash with “Job failed to exec(3) for weird reason: 13”

I recently finished school but the IT department didn't unlock my computer. When I try to run certain apps (mostly certain games), they appear on the dock for 0.1 secs and then crash with out an ...
3
votes
4answers
11k views

How can I configure Samba to share (read/write) any folder with root permissions?

I have a CentOS 5 VirtualBox guest on a Win7x64 host. I am attempting to setup a read/write share a directory owned by root with my Windows host using Samba, but I'm having no luck after running ...
0
votes
2answers
59 views

Why my setting with NFS and setuid not working in Linux

I'm using Linux. On machine A I have such NFS setting in etc/exports: /home 10.0.129.130(rw,no_root_squash) I mount this directory on machine A on /home/nfs/ on machine B. And I've set setuid using ...
74
votes
5answers
71k views

chown is not changing symbolic link

I'm trying to change the user/group of a symbolic link with the command: $ chown -h myuser:mygroup mysymbolic/ But it's not changing. I'm logged in as root. The current user/group is set to ...
1
vote
1answer
2k 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
3answers
63 views

How to detect if remote SSH session is root?

I know I can see the list of logged in users with w or similar commands. I want to know which of logged in users currently has root access, i.e. has done su to become root. The output of w just shows ...
9
votes
4answers
18k views

Where's .bashrc for root?

I know it's not best practice, but on my dev system I login as root. What's the equivalent of the .bashrc file so I can alias some functions? I've found the /etc/bash.bashrc & ...
0
votes
1answer
64 views

Regain access to Ubuntu server

I did a stupid mistake on my Ubuntu virtual server (Amazon). I was messing around with /etc/passwd & /etc/group files and i am about to lock my self out of the server for good. I have a copy of ...
0
votes
1answer
106 views

aireplay-ng command not found

I just downloaded and installed Kali Linux on my MacBook Pro (dual boot) to mess around with penetration testing - I have experience with aircrack-ng, but it was a while ago (and I was at least ...
0
votes
1answer
47 views

Entering Password in su- through loop

The Scenario is like I have a list of root passwords. But i don't want to keep trying Manually. So i wrote the shell script : for i in {1..26} do su - >>result done and all my ...
2
votes
2answers
882 views

chown: changing ownership not permitted, even though running as root

I managed to configure my Raspberry Pi as an FTP server with ProFTPD. The only problem is, I can´t upload and rename files and Windows Explorer says: 350 File or directory exists,ready for ...
0
votes
1answer
48 views

accessing folder

I tried to access my folder but warning say you are not root and and permission area doesnot clearly open that is I couldnot access its feature to change its permission and sudo is not accessible ...
111
votes
6answers
95k views

What is the “You have new mail” message in Linux/UNIX?

Sometimes, when I log into a box and 'su' to root, I get a cute little message saying I have mail (thank GOD it's not AOL). Where is this mail? What does it contain? Who/What sent it? How important ...
3
votes
2answers
6k views

Root Can't Delete Folder It Owns

Platform: CentOS 6.2 Shell: tcsh .............................................................................................................. EDIT 2 Brian Swift has pointed out a workable solution. ...
0
votes
1answer
85 views

Fail to redirect log to /var/log/syslog

I have an upstart script that does the following start on runlevel [2345] stop on runlevel [06] respawn pre-start script exec >/dev/kmsg 2>&1 REPO=git@github.com:blabla/bli ...
0
votes
0answers
25 views

program needs to be run as root by any user and can be located anywhere

I have some program called foo that needs root privileges when it executes. foo needs to be able to be run by any user and can be located at any path. The reason this program can be at any path is ...
1
vote
0answers
45 views

Linux Ubuntu System Error

After I have given myself the access rights for directory /usr and all its contents with sudo chown -R USER /usr my Ubuntu 12.04 System totally fails. E.g. Internetconnection is not possible ...
0
votes
1answer
872 views

lv root drive full, how to extend partition? (centos)

my lv_root drive is full, i believe its 50gigs, i could not find an option to extend it when i installed centos.. i have installed a second drive where I have my /var/www which mounted fine How ...
0
votes
2answers
77 views

Mac - Allow user to run MAMP

Whenever I start or quit MAMP, Mac OS asks me for the root password. Thats annoying. How can I prevent that? I use only 1 account on my OS. I want MAMP to be controlled without asking for the ...
0
votes
1answer
28 views

Is it possible to remove root access on a directory in OSX?

In OSX, is it possible to make a directory not accessible by root, but accessible to another user? So something like a sudo rm /directory wouldn't work but su otheruser; rm /directory would. Thanks in ...
0
votes
0answers
35 views

Restrict user to only limited set of commands

I have a user "user1" and I want to limit this user access to some specific folders and allow him to run a limited set of commands, on of the commands is root level.
0
votes
1answer
21 views

Resize Primary Partition in Ubuntu

I've set up a Ubuntu server the wrong way round. On a 2TB hard drive I gave 20GB to the root system partition and 1.8TB to home. I'd like to reverse this. I'm reading there is a tool, which may be ...
0
votes
1answer
962 views

MySQL can't create pid file: Permission Denied

I'm using MySQL on my macbook pro, which worked fine for the last 2 years. A week ago it suddenly stopped and I'm not able to restart it again. I've changed the permission on /usr/local/mysql to 0777 ...
0
votes
1answer
143 views

ext4fuse as non-root on FreeBSD10

I have 2 operating systems on my computer, a Arch Linux on a 100GB ext4 partition, a FreeBSD on a 250GB partition and all my data on 2 2TB separated ext4 disks. I wan't to access the files from this ...
0
votes
2answers
58 views

One primary partition left: Root or home?

I have Windows running on two partitions of my computer. I am now planning to install crunchbang on the left space. Hence I have one primary and two logical partitions left if I want to have root, ...
3
votes
2answers
2k views

Specify root dir inside tarball

Is there a way to execute tar cjvf foo.tar.bz2 project-root Such that when the tarball is extracted, it doesn't extract to project-root, but instead extracts to something else? i.e. tar xjvf ...
8
votes
3answers
17k views

How do I run a launchd command as root

I have the following launchctl command as a .plist file. It's loaded and set to run once a day but, it needs to run as root and I'm not sure how to verify this. Also, this cron job basically CDs ...
3
votes
3answers
20k views

Set password for root on virtualbox ubuntu

I loaded ubuntu into virtualbox. It all works well but it occurred to me that I was not asked (or did not setup) a root password. I want to use root on occasion, but I cannot seem to find out how to ...
0
votes
1answer
16 views

Can I have 'local root' accounts inside a VirtualBox guest OS?

Do you know if I can get a local 'root' inside a VirtualBox guest OS (Linux)? I need this to install the "guest extensions". Should this be the same as my "host" OS root?
2
votes
1answer
127 views

difference between root executing command as sudo vs not using sudo?

I have a Linux question regarding the sudo command and the root user. If I log into the root user using the su command, what is the difference between the following two commands? root> sudo ...
2
votes
1answer
999 views

Howto set a root password in Freenas?

I installed Freenas 8.3.1 on my micro-server and it never asked me to set a root password. I already configured it as necessary via the web GUI but now i want to set a root password so no-one can mess ...
3
votes
1answer
1k views

Unset the system immutable bit in Mac OS X

In theory I believe you can unlock and remove the system immutable bit with: chflags noschg /Path/To/File But how can you do this when you've set the bit as root? I have a file that is locked, and ...
16
votes
8answers
70k views

User not in the sudoers file. This incident will be reported

I need to install a package. For that I need root access. However the system says that I am not in sudoers file. When trying to edit one, it complains alike! How am I supposed to add myself to the ...