General :: Giving Rm Root Privilege For A Particular Directory

Jul 7, 2009

I want to give root privilege to the command rm for only a directory Dir inside /local/home. How I can do that?

View 9 Replies


ADVERTISEMENT

Security :: Privilege Escalation - Getting 'root' Privilege?

Dec 1, 2010

Currently as a part of an assignment I need to implement a reverse shell on a linux system. The system details are -Quote:Linux Kernal Version - 2.6Database - MySQLUsing web-server I could upload a php file which could execute the command on behalf of me. Now, I want to get root access so that I can get access to system's core files.My sample php file -

PHP Code:
<?php
if((!empty($_GET['cmd']) && isSet($_GET['cmd'])))

[code]....

View 2 Replies View Related

General :: Recursively Add Read Privilege To All The Files Under A Certain Directory?

Jan 18, 2010

I'm under linux . by default, other user can't read anything under my home directory. let's see my home directory is /home/superman , and I tried to use

chmod +r /home/superman

to let others can acess files under my home directory , but it does not work .

View 1 Replies View Related

General :: Ubuntu: Give Sftp Root Privilege To User?

Sep 18, 2010

This is my first thread ever to make on the linux forum, and I just began using linux Ubuntu Lucid for my server. Please bare with me because I think I am questioning such a basic question. How do you give sftp root privilege to user? I've made group "admin" and made 2 users under that group. Trying to upload a file onto a server using SFTP with one of the user and it fails and says "Permission denied."

I gave full sudo/root permission to the group "admin" from /usr/sbin/visudo I mainly use Tranmit4 but I also have filezilla. Or is there a way to run sudo command on either ftp client application?

View 14 Replies View Related

General :: Root Privilege Required To Send A Wake-on-lan Magic Packet?

Sep 28, 2010

On Linux, is root privilege required to send a wake-on-lan magic packet? If it depends on how you send the magic packet, please let me know under what situation root is required.

View 1 Replies View Related

Fedora :: Missing Root Privilege Key Thingy

Apr 8, 2011

When I started using Fedora (with Gnome) a week ago, I noticed a key symbol in the system tray, or however you call that in the linux world ;-). I can't remember what it was called, but it appeared after I loaded a program or administrative function that required root privileges. If I understand correctly there's a certain timeout after you put in the root password that allows you to run more than one program with elevated privileges so you don't have to put in the root password all the time. I remember reading somewhere that you can change that timeout. This key symbol basically was a "screw the timeout, i'm done being root".

This key symbol doesn't appear anymore though and I'd really like it back.
I'm pretty sure, I didn't do anything to make it go away, as I didn't play around with any security settings.

It was a little tricky to search for this as I can't recall the actual name of this... key thingy..

View 14 Replies View Related

Ubuntu :: Root Access Is Required - Get Privilege?

Dec 10, 2010

I am traying to install an application on ubuntu, it asks me that I have to get root access. How can I get this previlige?

View 9 Replies View Related

OpenSUSE Install :: Lost Admin (Root) Privilege Password

Feb 28, 2011

I'm new to Linux (had some basic Unix experience in 1995 era). (Teenager) gave me HP2133 mini notebook running SUSE Linux Enterprise Desktop 10. Everything checks good (hardware and software), even wireless networking. Problem is she apparently created Admin/root password but says cannot remember. I cannot even set correct date time... yast is asking for root privilege:
Command: /sbin/yast2 time
Is there anything I can do to re-establish administrator privilege?

View 6 Replies View Related

General :: Giving User Write Access To Directory And Subdirectories

Aug 10, 2010

I need to give a user write access to /var/www and its subdirectories. The current directory permissions are as follows:rwx r-x r-x root root

I added the user to the root group but that didn't seem to help.I read I could chmod -R to change the access to write for the www directory and subdirectories but I don't want to change things and mess up the website. How can I give the user access to write to the www directory and subdirectories without messing anything up? Would changing the www directory group owner to his group cause an issue anywhere?

View 3 Replies View Related

Ubuntu Security :: Giving Root Permission To An Application But Without Running It As Root?

Jan 20, 2011

want to run VirtualBox with root permissions. Trouble is that only when run as root i can access attached USB devices inside of a virtual machine, otherwise, these a greyed out).Now running VirtualBox as a root user also changes the configuration folders, making all my virtual machines already defined disappear. I also don't want to copy all to the root configuration folders. Is there a way to give the VirtualBox root permissions but without actually running the application as a root user. Is it possible to do without changing the permissions of the non-root user, i.e. i don't want my user to have all root permissions, due to security considerations.

View 1 Replies View Related

General :: Installing As Non-root In A Root Owned Directory

Mar 8, 2011

I have a machine which has only /opt with some decent amount of space where I can install a software. /opt belongs to root:root. The software I want to install cannot be installed as root user.

So lets say I create a directory called /opt/install1 and then chown -R install1 to belong to user1. And now I install the software under /opt/install1 with user as user1.

Is this a best practice violation? There could potentially be just /opt/install1 belong to user1 and in future everything else created under /opt belonging to root..

View 2 Replies View Related

Debian :: Install .deb Packages Without Giving Root Access?

Aug 4, 2010

Is there any way to install .deb packages without giving root access?That it, I have root access, but I dont to give root access to the .deb package.This is for instance to install the .deb of SipderOak online backup took, or to install the .deb of openofficeWhenver available, I compile from sources, but sometimes only the .deb is available.

View 13 Replies View Related

Debian :: Any Way To Install .deb Packages Without Giving Root Access?

Aug 4, 2010

Is there any way to install .deb packages without giving root access?That it, I have root access, but I dont to give root access to the .deb package.This is for instance to install the .deb of SipderOak online backup took, or to install the .deb of openoffice.Whenver available, I compile from sources, but sometimes only the .deb is available.

View 14 Replies View Related

Fedora Installation :: SU Command - Root Account Login Giving Error

Jan 5, 2010

In the freshly installed Fedora 12, I installed java and maven and added following files into /etc/profile.d folder:
java.sh

Code:
export JAVA_HOME=/opt/jdk1.6
export PATH=$JAVA_HOME/bin:$PATH
maven.sh

Code:
export MAVEN_HOME=/opt/maven
export PATH=$MAVEN_HOME/bin:$PATH

Now when I try to login to "root" account giving "su" command , it gives me the error :
bash: /root: is a directory

View 1 Replies View Related

Server :: NFS Export Giving A Computer Access To Root-owned Files?

Oct 8, 2009

Yes, I know this is not a good practice, and this is only a short-term solution.I have a server with a web-file-server daemon running internally as root, so the permissions for all files it transfers/creates have a uid/gid of 0:0.This is fine for the daemon, but I would like to manage those files from another workstation - actually a few workstations on a very limited LAN subnet - through NFS. How would it be possible to have users from a certain subnet mount NFS with root read/write abilities?I have seen the anonuid/anongid options (for the /etc/exports file), but I'm not so sure this is the right way to go.

View 5 Replies View Related

General :: How Does Kernel Know The Root Directory

Mar 26, 2010

how the kernel knows the root directory. For example, in grub menu.lst file we specify root=/dev/hda1. This tells the kernel to find mount the root directory from /dev/hda1. But to read /dev/had1 it should first know where is '/' . I couldn't understand how this is being done.

View 3 Replies View Related

General :: How Does Kernel Know The Root Directory?

Mar 25, 2010

How the kernel knows the root directory. For example, in grub menu.lst file we specify root=/dev/hda1. This tells the kernel to find mount the root directory from /dev/hda1. But to read /dev/had1 it should first know where is '/' . I couldn't understand how this is being done.

View 5 Replies View Related

General :: No Space In Root Directory ?

Nov 25, 2010

I am using fedora 12. i got "no space in root directory" warning from the system..when i went through it, i found many of the space has been occupied by /var/log/httpd/error-log file. so i just deleted the file..but when i check the space with "df -h" command.it shows 0% availability..the same problem occured before...but it solved when i restarted the system..but how to regain the space wihtout restarting the system?

View 7 Replies View Related

General :: Root Directory 100 Percent Used?

Dec 31, 2010

I have assigned 4G for my "/" directory, on slacware 10.2, and have not installed the GUI either. I am not sure what files to look for that have been growing over time that has completely depleted my space. Think it would be log files, but don't know where to find them.

View 10 Replies View Related

General :: Parent Directory For Root In F13?

Jul 28, 2010

I am using fedora 13. When I list the root directory with the command: 'ls -la'. I see the parent directory symbol as '..' So, which is the parent directory for root directory?

View 2 Replies View Related

General :: I/O Error - Cannot Remove Directory As Root

Feb 21, 2010

ubuntu@ubuntu:/usr/lib/locale$ sudo rm -R nl_NL.utf8 rm: cannot remove directory `nl_NL.utf8': Input/output error I'm having problems deleting a seemingly corrupted directory to allow for a reconfiguration of this locale, but the OS doesn't let me do it. Why?

View 2 Replies View Related

General :: Change The Root Directory For A User?

Oct 5, 2010

For a user on a Linux host, I need to make everything inaccessible besides his home directory. I have heard that this is usually done by changing the root directory for the user (and setting it to the user's home directory), however I couldn't find the way to do it.

I thought about the chroot command, but it seems it just runs the specified command, considering the specified directory as the root directory. So it seems chroot is not what i need. So my question is: what is the command which changes the user's root directory?

View 7 Replies View Related

General :: Logged In As Root And Used Rm -r On A File Directory

Jul 22, 2011

I just logged in as root and used rm -r on a file directory, but is this the same thing as deleting it?

View 3 Replies View Related

General :: Grep Pattern Of Root Directory?

Mar 5, 2011

Want to grep pattern of root dir. (/). Staying in current directory. But I don't want to use the below code:
cd /
grep m *

View 3 Replies View Related

General :: Root Directory Changed By Using Command?

Oct 24, 2010

I am using fedora 13. If is use the command "cd //". It changes to root directory. How is it? What "//" denote?

View 6 Replies View Related

General :: What's The Root Directory On Multi-OS System

Jun 15, 2010

The root filesystem is the filesystem that is contained on the same partition on which the root directory is located, and it is the filesystem on which all the other filesystems are mounted.

In a multi-OS desktop, having Windows, Ubuntu and Fedora, what is the root filesystem as the root directory is located on at least 2 of the OS.

View 8 Replies View Related

General :: Can Root Create Directory When Not Exists While Backups

Nov 8, 2010

I am getting the databases from mysql and my database name is username_something.
I am getting the username and then puting the respective backups in corresponding folders like

tar bala bla /backups/sql/username/username_something.tar.sql.gz

The problem is system worrks if i have the folder username already there but for new databases if get the error like unknown file path.

How can i do that if username folder is not there it should be created

View 2 Replies View Related

General :: Secure FTP Of A File To The Root Directory On CentOS?

Nov 2, 2010

I am running WHM and CPANEL on centos.I would like to upload a file to the root user directory. To be honest, my only experience uploading and downloading files with FTP has been with domain related accounts that were set up under WHM to be managed under CPANEL. This is quite simple, because all you do is set FileZilla or Dreamweaver up with the FTP address of the domain account and the username and password.How can I do something similar to FTP a file into the root or home directory?

View 1 Replies View Related

Ubuntu :: Root User Directory Does Not Exist, Root Password Not Recognised?

Oct 26, 2010

I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.

View 9 Replies View Related

Security :: Secure FTP - Root Privileges After Logging In Form A Macintosh And Could Browse The Root Directory

Apr 12, 2010

I run ProFTPd with TLS authentication on my Debian Lenny server. My problem is that despite of the fact that my users connect chrooted, one of my friends had root privileges after logging in form a Macintosh and could browse the root directory, too.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved