Tagged Questions

On many operating systems root is the user that is granted all privileges on a system and thus has access to all files and is allowed to perform any action. Although the name "root" is commonly used as the system's so called "superuser" in Unix-like systems, other user names may be used depending ...

learn more… | top users | synonyms

0
votes
1answer
18 views

Creating files and directories with a certain owner (user/group) while sudoing

I need to wget something (results in a compressed file in cwd), then I have to extract it, then do some copy/move/modification stuff and perhaps finally execute an script (from the downloaded ...
1
vote
1answer
13 views

Gentoo Linux global environments for root

I'm confused with setting variables in /etc/env.d directory. When I write "echo $PATH" from user - it's print me all variables that set it myself. But from root I see one... Where should I set ...
-2
votes
0answers
34 views

ssh root@localhost error; help me hack this box :) [migrated]

I need to gain a root shell on a linux vm for a security class. I have a user account on the system and a means to write to any file (i.e. /etc...) and want to escalate my privileges with: ssh ...
1
vote
1answer
49 views

automate su password

I am working on an exploit for a security course. The object is to obtain a root shell in a linux virtual machine. So far, I can write to /etc/passwd and change root's password to an arbitrary string. ...
0
votes
1answer
94 views

How to restore sudo privilege with Linux live CD?

I'm running Linux Mint 11 and I lost the privilege to use sudo, apparently the result of accidentally removing myself from the admin group. When I use the groups command to list the groups I'm in, it ...
0
votes
0answers
9 views

Upgrade and Rooting Motorola Xoom Paths [migrated]

I have a UK Motorola Xoom, Wifi only version. It's currently running 3.0.1 and is rooted. I'd really like to upgrade to 3.2 and stay rooted. What's the best path to take with this? I can't download ...
1
vote
1answer
26 views

Unable to access a script from root directory in Linux

I have a script in one of I my root directory: /root/scripts/script1.sh I wan't to call that script as another user (james1). I did the following (as root user): root@pc83$ CD scripts root@pc83$ ...
0
votes
1answer
129 views

How do I create root user on os Lion server? I somehow deleted mine

how do I create root user on Mac OSX Lion server. I somehow deleted mine and now my documents, download folders won't work/missing, as well as my systems preferences won't open, it just crashes
3
votes
1answer
161 views

/bin/su: Permission denied in CentOS can not set su - root

I'm trying to set myself as a root and once I type in su - root in the terminal it just give me an error saying /bin/su: Permission denied so I checked the permission in that file -rwsr-x--- 1 ...
0
votes
0answers
14 views

Install Trac and SVN without root access [closed]

Possible Duplicate: Installing SVN without root access Is it possible to install Trac and SVN on a managed server without root access?
0
votes
1answer
46 views

How to delete an old (root) account on Ubuntu safely?

I have a user account with root access in my Ubuntu with username "A". For some reason, I created another account sometime back for myself named "B" and gave this account root access as well. Now, I ...
0
votes
1answer
115 views

Mount samba share without root access

I have access to a linux machine, but not root access. I can access a samba share through smbclient. I'd like to be able to mount this share so I can access it from within Matlab. Normally, if I ...
0
votes
1answer
3k views

I can't find adb_usb.ini

I want to edit it so that it suits my Kindle Fire 6.2 firmware to be able to install apks from outside the market.... Why can't I find adb_usb.ini I have installed Android SDK
0
votes
0answers
103 views

Installed KDE in Ubuntu, removed lightdm, cannot boot

I installed KDE in Ubuntu 11.10, which in turn added lightgdm. I then decided I did not like lightdm and apt-get removed it (maybe purged? cannot remember). Now I cannot boot (stalls at Booting ...
0
votes
2answers
148 views

Force logout a user

I When I logged into the machine as root and typed who to see which users are logged in, I found somebody else too logged in as root devuser pts/0 2011-11-18 09:55 (xxx.xxx.xxx.xxx) root ...
1
vote
1answer
141 views

Running anything Gnome-related in root terminal gives error

Pretty fresh Debian 6.0.3 install, running Gnome 2.30.2. In a root terminal, whenever I try to open anything Gnome related, I'll get this error: unable to open display ":0.0" Sometimes this is ...
1
vote
1answer
58 views

Disabling only password ssh access for root

I know it's possible to disallow root logins via ssh, and that it is a Good Idea™ to disallow root to ever login via ssh (preferring instead to use sudo or similar). Is it possible to allow ...
0
votes
1answer
33 views

Can I tell if Root / Sudo has been used/accessed

Would it be possible to check if the root user (or sudo) has been accessed on my server. I ask this because I am creating a server monitoring tool and I wanted to know if there was a way to check ...
2
votes
1answer
129 views

How do I run bash scripts as root over SSH?

I have a number of centralized scripts, which install certain pieces of middleware (for example JBoss-AS, JBoss-EWS, etc). The idea is to use expect to write a script which runs the script (which can ...
1
vote
0answers
85 views

How to allow root user to start up under FileVault 2 in Lion?

I just enabled Whole-Disk Encryption (under the name FileVault 2) in Mac OS X Lion. In the setup process, I was asked to select the users whose passwords can unlock the startup disk. I have the root ...
0
votes
0answers
242 views

I deleted my root user on Mac OS X Lion Server [closed]

I had an authentication problem with the root user. So I found a tutorial and deleted the AuthenticationAuthority key in the root preference list. When I did that, the root user deleted in Directory ...
0
votes
1answer
46 views

Fedora System Maintenance root password not working

When I was running a program on my Fedora machine, my system froze and I had to do a hard reboot. But once I rebooted, Fedora complained that the file system has errors and attempted to fix it. Now, ...
3
votes
1answer
110 views

I believe I've deleted MySQL root user, how do I recreate it?

I'm running ISPConfig on CentOS and I don't know how, but I don't seem to have a root mysql user. I can stop mysqld with /etc/init.d/mysqld stop Start it again and skip grant tables mysqld_safe ...
0
votes
1answer
62 views

How to config root kde same as user?

Eclipse looks completely different when run under root compared to my user. It's like kde wasn't setup for root upon installation. I'm running Suse 9.3 Pro. How do I configure root kde so that ...
2
votes
0answers
83 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 ...
2
votes
1answer
23 views

Missing something from Security 101 - No Sudo -> Boot to Recovery -> Add to admin -> Voila?

May be this is a silly question but yesterday I found myself struggling to execute the sudo command because apparently I was taken off the list on my own machine for some reason. What I did was to ...
1
vote
2answers
66 views

Access Desktop as root user in linux

I know the command to get to your Desktop is cd ~/Desktop. This however does not work as the root user. However I need to be the root user because I would like to move a file, from my desktop into my ...
5
votes
4answers
430 views

Why is the dreadful 'rm -rf /' even allowed? [closed]

We all know the destructive power of the following command executed as root: rm -rf / Related questions: How far will you get with a 'rm -rf /' deleting everything: # rm -rf / I fail to ...
1
vote
2answers
51 views

Best way to store root passwords

I have over ten web servers to manage and configure, with each server having its own root user and password. I have to maintain a database of all the root passwords on my development machine, but I ...
2
votes
2answers
143 views

Why does Linux Ubuntu/Mint lack a root account?

This is a question about Linux Ubuntu (and Mint). As a new user to the Linux system, I was interested in the fact that Ubuntu doesn't allow the PC owner to be root/administrator. Regardless of whether ...
2
votes
1answer
80 views

Root authentication with another root user

I have a PC at work running Fedora 14. For some reason, the IT guys do not give out the password for the root user, but instead, if needed they create a specific suXXX user with root permissions. The ...
1
vote
1answer
46 views

System Admin Root Access to Production Servers

What technologies or processes are recommended for providing escalated access to production servers for SAs for limited time. I'd like to avoid my SA's from having root access. (Enterprise ...
1
vote
2answers
49 views

sudo not giving full access on Mac OS X

I am trying to install npm via shell script on mac 10.6.4 and sudo does not seem to be working as the shell fails when trying to access /usr/lib and create documents in that directory. What is wrong? ...
1
vote
1answer
205 views

How to perform root level commands on Linux (Fedora) Live Media

I need to use Live Media to make changes to a hard disk drive. I tried to sudo to no effect. Seems like it would be troublesome to authorize root access on Live Media or have sudo allow commands ...
1
vote
1answer
176 views

Fedora 15 su user problem

I'm new to Fedora 15 and Linux. I've stumbled upon a problem while installing Oracle XE; I can't set environment variables or do anything else - any change I make won't stick. I'm using the terminal: ...
1
vote
3answers
115 views

bash won't accept my root password after activating it in Snow Leopard

I activated the root-user in Snow Leopard via Directory Utility, gave it a password. Still whenever I enter sudo whatevercommand into the bash and enter the password it says that its incorrect. I ...
0
votes
1answer
91 views

move root with rsync -aHA but sudo not work. How to fix?

I ran rsync -aHA --delete --devices -S -xv /media/tmp/oldroot/ /media/newroot/. After I reboot, I can login. But I cannot use sudo and passwd. How to fix this? $ sudo ls sudo: must be setuid root ...
24
votes
6answers
2k 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 ...
0
votes
0answers
367 views

Installing custom ROM on Nook Touch [closed]

I recently purchased a Nook Touch eInk reader. Does anyone know how far the process of creating a custom ROM has gone? Is it already possible to install a custom ROM on the device in a simple and ...
5
votes
2answers
212 views

Restoring a SD card after using it to root a device

I recently purchased the Nook Touch reading device. I rooted it using the instructions on nookdevs.com Rooting included using win32diskimager to somehow transfer an .img file onto the card. Rooting ...
1
vote
6answers
226 views

What is different between root and sudo?

A root user can have all the privileges. But a normal user can gain access like a root with su or sudo command and their own password. So what's the difference?
15
votes
2answers
870 views

Can I create an SSH user which can access only certain directory?

I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously. I would like to create another ...
1
vote
1answer
286 views

ulimit soft limit for file descriptors - for a non-root user on CentOS 5.6

I am needing to increase the soft limit for "file descriptors", and make it effective for a non-root user (lets say user1). Ran these commands, while logged in as user1: >ulimit -a core ...
1
vote
2answers
260 views

Does sudo need root account enabled in MacOS X?

If the owner of a Mac hasn't enabled the root account (via NetInfo manager and the usual suspects) then is it possible to successfully execute a sudo'd command to effect root tasks? Why / Why not? I ...
2
votes
5answers
555 views

How to run a program as root without “sudo”?

I have a certain binary program on OS X that can only be run as root. I'm tired of prepending sudo each time I invoke it and typing the password, and would like it to automatically run as root when I ...
1
vote
1answer
228 views

Adjusting $PATH in /etc/profile does not affect root

H I added a directory to the $PATH variable in /etc/profile. This works for my user account but not for root. It's easy to add it to my /root/.bashrc but I would like to understand whats's wrong. ...
1
vote
1answer
264 views

permission denied while copying files with root

Ok, how is it possible that I get perm denied when I'm copying files in console. Any ideas?
2
votes
2answers
463 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
54 views

'no file system defined' while installing ubuntu by Wubi!

I installed Ubuntu using Wubi. And after reboot, 'no file system defined' messeage poped up. What should I do? system is MSI U100(netbook) and I tried it on both partition(50g c:, 200g f:) please ...
0
votes
0answers
65 views

iMac - Intel - running OSX 10.6

In recovering files from a deleted SD card, the software re-created the card's ROOT directory - with the result that when using the photo software DxO on the RAW files, the program cannot save an ...

1 2 3