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 ...
1
vote
2answers
33 views
Is there a way to remove root requirements for a specific command in linux? If yes, how so?
I'm using Ubuntu 12.04 LTS, and I'm trying to make it so that the specific command
dhclient
doesn't require root privileges. I've done some research that leads me to believe I could unlock an "su" ...
1
vote
1answer
27 views
sudo command trying to search for hostname
Recently, I have changed the sudoers file and the hostname through /etc/hostname. After changing this files, my sudo command is taking a lot of time. Also, it says sudo unable to resolve host ...
1
vote
1answer
21 views
sudo not working alongwith su
I am using a Ubuntu system. Today, I accidentally changed the sudoers file in /etc due to which my normal user prathmesh is not able to perform sudo operation. I don't know how to go to the root mode. ...
0
votes
2answers
62 views
How to login as root from the logon screen?
How do I login as root in fedora after the fedora boots?
When signing in by specifying username : root and password : xxxxxxxx fedora says unsuccessful login attempt. This is the same password I ...
0
votes
1answer
43 views
Linux: Giving a user read/write access to all files and directories
Is it possible in linux to give a user read/write access to all files and directories like root?
EDIT I have a special case. I need to create a folder structure on which I can grand a special user ...
0
votes
1answer
29 views
Making upstart job redirect output as unprivileged user
I am currently making an upstart job run as an unprivileged user like so:
start on started mongodb
stop on runlevel [06]
respawn
respawn limit 10 100
env NODE_ENV=production
pre-start script
...
1
vote
2answers
92 views
How can I automate a root command after (not during) startup?
I'm using Ubuntu 12.04 LTS, but I need to run the following command:
sudo dhclient
after startup to acquire a stable ethernet connection. I am running dhclient during startup already, through the ...
4
votes
3answers
228 views
Running chrome in Backtrack Linux
I am using the Backtrack 5 linux distribution, and i wanted to install chrome, but it wont run as root for default.
I know that using --user-data-dir will let me run it as root.
But is there a safer ...
1
vote
1answer
110 views
Difference between “sudo su root” and “sudo su - root”
Is there any difference between "sudo su root" and "sudo su - root" ? I know - make the shell a login shell but what difference does it make ? Does the permission varies among them or any change in ...
1
vote
2answers
397 views
Root Can't Delete Folder It Owns
Platform: CentOS 6.2 Shell: tcsh
..............................................................................................................
EDIT 2
Brian Swift has pointed out a workable solution. ...
2
votes
1answer
69 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
2answers
82 views
Autologin as root or as any other user in Linux in console mode
my system requires to run automatically at start up. so, i did write a simple module and registered it inside /inittab. it automatically runs at start up but the problem is when i turn on the computer ...
0
votes
0answers
192 views
Fedora 16 seems to need a different auto logon auto start shell script?
Im looking for auto root login shell then when logged in auto start a script. Looks like Fedora 16 use very different approach than other Fedoras.
1
vote
1answer
54 views
Automation of restarting the network without root permissions/password
I'm an avid torrenter, and since I'm busy must of the day, having Transmission-GTK run at night is my best option. However, my college server loves to kick people out after either an extended time ...
1
vote
2answers
88 views
su - for some users
in a linux system with
su -
any user (with root password) can get root privileges.
how I can restrict to some users ?
// similar to AllowUsers in sshd_config
1
vote
1answer
67 views
Command to create a file owned by another user
I created a directory test owned by the root user, and then I created a file called F1 inside test , now I need to create a file called T5 inside test but by a user called student
What is the ...
0
votes
5answers
193 views
Second root account
i'm new in linux, so i'm sorry if my problem is a bit confusing.
I'd like to do following:
create a second root account
write the file by using this account
the first root account shouldn't be able ...
0
votes
2answers
202 views
How to check root partition with fsck?
I installed Linux Mint 12 KDE, and I would like to check the root partition for any errors.
How do I check the root partition with fsck at boot time?
1
vote
3answers
86 views
How to determine the user and group of a deamon in Ubuntu?
How can I check the user and group for the nginx daemon in Ubuntu?
Or what's the syntax to find the user and group for a deamon running in Ubuntu?
0
votes
1answer
254 views
How to give a user account root privileges in Fedora 14?
I want to give my user account root access rights permanently, how can I do that?
I don't want to log in using the root account.
1
vote
1answer
61 views
Is there an account to see all folders on a Time Capsule?
When using Time Capsule with many user accounts, is there a root account to connect to the Time Capsule with, that can see all folders on the device?
0
votes
3answers
128 views
I created an Ubuntu server. Do I have a “root” user?
I always thought "root" was a default user created when you install basically any Linux. During installation, it asked me to choose a username, so I picked "devadmin". Is that my "root" user now?
1
vote
3answers
382 views
chown -R root.root /
So I was working and there was a directory that I was periodically changing to my user in a root terminal so that I could open the files in text editors, but I accidentally pressed / instead of . and ...
1
vote
1answer
140 views
suspicious Fedora 'run as root' request?
I am running Fedora 16 and just installed Dropbox from their website.
After dismissing the successful installer, I received a 'run as root' authentication popup
trying to run the command 'sh ...
0
votes
1answer
78 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
37 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
2answers
156 views
How can I automatically pass the password to 'su'?
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
2answers
615 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 ...
1
vote
1answer
122 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
361 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
687 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
25 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
115 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
442 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 ...
2
votes
1answer
6k 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
179 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
521 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
216 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
80 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 ...
1
vote
1answer
70 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 ...
3
votes
3answers
213 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
137 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
320 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
95 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
210 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
122 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 ...
3
votes
0answers
236 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
47 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
129 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
3answers
502 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 ...