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


ADVERTISEMENT

Programming :: Find All The Files Not Owned By Root:root On The Commandline

Sep 9, 2010

I need a way to find all the files not owned by root:root on the commandline. How can this be done?

View 2 Replies View Related

General :: Can't Copy Files To Root Owned Files?

Feb 1, 2011

When i installed ubuntu. I made a seperate partition so that i could copy an ISO image onto it of an up-to-date version of ubuntu. I wanted to then boot the ISO up so i could install the version that way.I've already tried doing it through the update manager but it'll download, almost be done with installing and it freezes on me. so i figured this would be easier. However i do not know how to gain access to the other partition to copy the ISO image.

View 6 Replies View Related

Red Hat / Fedora :: Recover Root Owned Usb Files?

Jul 7, 2011

I have a usb drive that is owned by root with chmod set to -w-r-x for all othersthe system that root existed on crashed and now i'm trying toecover the files on my usbi have the root password and uuid of crashed hdd can i use a program or copy uuid to new system to recover usb?

View 1 Replies View Related

Ubuntu :: Mount FAT32 Partition Without Being The Files Owned By Root?

Jan 27, 2010

I want to mount my FAT32 partition automatically on startup. It gets mounted but the problem is that all the files in the FAT32 partition are shown as owned by root. Because of that I can't paste files or write to this partition. This is my fstab file

Code:
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda5 during installation

[Code]....

View 4 Replies View Related

Ubuntu :: When Mounting CIFS Share, App Files Are Owned By Root?

Jul 26, 2011

I'm trying to mount some CIFS shares (NetApp) to my Ubuntu 11.04 desktop (64-bit).I am mounting it as a domain user with admin rights and full control over the share.ter mounting it as root, all the files are owned by root and I can't modify them from my non-root user.Here is how I am mounting the share:

mount -t cifs -o domain=example,username=example-user,password=mypassword //myfiler.example.com/myshare$/mydir /mnt/myshare/

This share is a qtree under a volume with security type set to NTFS. (Although I have also tried security type = Mixed) We don't configure user-level access to shares on the filer, we create directories and lay down permissions on those from the Windows side. (Although I have tried explicitly adding my domain user to the access list for the share)

View 5 Replies View Related

General :: Find Root Owned World Writable Files?

Oct 11, 2010

Being a system administrator i came across a statement as "Excluding temporary directories /tmp and /var/tmp, no root owned files should be in world writable directories"While the above statement may look straight forward but how would i check if there are any such directories in the distribution?

View 14 Replies View Related

Ubuntu Installation :: Files Owned By User 1000 - No Access

May 25, 2010

Running 9.10 now, I'd like to do a clean install of 10.04 on my dual-boot (with XP) Compaq notebook. As a test, I burned an ISO image onto a 1-GB stick and booted to 10.04 from it. It works just fine, except that the directories in the Documents folder on my hard drive are owned by "user 1000", and "he" grants me access to only about half of them.

Is this problem likely to persist if I actually install 10.04 rather than just running it from the stick? If so, what can I do about it? Second question: am I correct in understanding that if I still need to access my Ubuntu partition from XP, I'd better stick with ext3 for this install rather than going to ext4?

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

Server :: Move To Maildir, Users Mail Owned By Root Now?

Jun 4, 2010

I recently made the migration from mbox to maildir.I use postfix, spamassassin, dovecot for imap and procmail for delivery.I made the changes for Maildir to postfix main.cf, dovecot's dovecot.conf and procmail's procmailrc.All good, working well.Just noticed though, that mail marked as spam and filtered by procmail to be put in the users ~/Maildir/.spam/new folder are owned by root. Not allowing the users to even see it (600 perms)

So postfix sends all mail to Procmail:
mailbox_command = procmail -a "$EXTENSION"
But not all mail is effected, only mail picked up by this receipe in the /etc/procmailrc:

[code]...

View 2 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

Server :: Giving SSH Access To Machines On LAN From Internet?

Mar 7, 2011

I am having a server in a corporate data centre. There are some virtual machines running on it.The main server is accessible from internet via SSH. There are some people who within the lan access the virtual machines whose IPs on LAN are

Quote:
192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.4

from internet only one host is allowed SSH. This machine has public IP and is also connected to LAN on the IP 192.168.1.50. Tunnel is not allowed on our network.So now I am came across a solution as explained on this link. I am not clear with on which machine .ssh/config file I add following

Code:
Host securehost.example.com ProxyCommand ssh user1@insidemachine.com nc %h %p Should above be done on gateway where public IP and ssh is allowed or client on internet who has to login. Do I need to create separate accounts on the gateway also so that the users who can SSH to gateway then are forwarded to inside machines? Or one account on gateway is sufficient for different people logging in via internet to my gateway and then forwarded to internal machine?

Then do I need to create an account user1 on the gateway also?

1) What is the correct syntax for ProxyCommand on gateway's .ssh/config should I use

Code:
ProxyCommand ssh user1@inside.machine nc %h %p
or I should use
Code:
ProxyCommand ssh user1@gateway.com in nc %h %p

2) Should I create new user accounts on gateway also which exist on internal machine?

View 4 Replies View Related

General :: Export Files From Some Other Server?

Jan 29, 2011

i want to export configuration files of my server aida-ng on linux platform. I have accessed the server via ssh command.

View 3 Replies View Related

CentOS 5 Server :: NFS Clients Not Seeing All Files In Export?

Dec 9, 2009

We recently upgraded our NFS server from Centos 4.4 kernel 2.6.9-42.0.10.plus.c4 to Centos 5.4 kernel 2.6.18-164.6.1.el5

In our queue directory where we shuffle files to be processes some files will go missing.

Example structure

/Queues/Process1/subdir_xxx
/Queues/Process1/subdir_xxx
etc...

/Queues/Process2/subdir_xxx
/Queues/Process1/subdir_xxx
etc...

Where 'xxx' is a date/time string down to the second.

Each subdir entry contains a number of files, depending on load at the time.

What we see happening is that a subdir will appear empty from a client (ls -la shows . and .. ) but an rmdir will fail with a 'directory not empty' error. From all 7 clients (mix of Centos 4 and 5). However on the server the files are visible. If we 'touch' the files the clients will then pick them up and process them.

It doesn't appear that waiting any amount of time will make the files visible (we've waited 8 hours while testing).

We've tried different mount options, NFS4, etc. Nothing got rid of the issue. Changing one server to use CIFS however solved it. So it appears to be some bug in NFS.

The problem appears to be intermittent and random, we can go hours without seeing it, or minutes. I'd say it affects fare less then 1% of the files written.

View 2 Replies View Related

Ubuntu :: Documents Owned By Root?

Apr 10, 2010

I reinstalled 9.10 yesterday and put the home folder on its own partition. Now it has my home folder as owned by me but all the files in it including Documents are owned by root. I did tell it to change ownership on enclosed files with no luck. So I can't paste my backup files into the Documents folder. I can do GKsudo nautilus but it times out every 15 minutes and I have to restart copying the 67GB of files constantly.

View 8 Replies View Related

Ubuntu Servers :: FTP To /var/www Owned By Root?

Jul 3, 2011

I have a ubuntu lamp server setup and working. The issue I am trying to overcome is the the /var/www directory is owned by root. I am trying to remotely upload content from my development machine using FTP. I don't know what the "right" way to setup remote ftp to the /var/www directory.I don't want to introduce serious security holes but, I do want to be able to just click publish from my dev box. A tutorial would be great if anyone knows of a good one. If not just letting me know what I am supposed to do.

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

OpenSUSE :: Application Shortcut Owned By Root?

Jun 27, 2010

I tried to create a shortcut to an app I wanted in the plasma dashboard. When I did so, I found that it was owned by root! When I looked at the permissions of the other app icons, they were owned by me, the user.Why did plasma make my newly created app launcher owned by root?I'm so used to the way KDE 3 worked. It was so much simpler. I could click anywhere on that desktop to add shortcuts and they were owned by me, not root. I don't understand why they changed this.

View 9 Replies View Related

Ubuntu :: How To Edit File Owned By Root

May 31, 2010

I am trying to edit limits.conf, changed file permissions:
sudo chmod limits.conf -rwxrwxrwx

But got this message:
"Could not save the file /etc/security/limits.conf. You are trying to save the file on a read-only disk. Please check that you typed the location correctly and try again."

I followed these instructions:
"copy - paste this code into terminal
gedit $HOME/.gnome2/nautilus-scripts/Open as root
copy-paste this text into that file and push 'save'
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gnome-sudo "gnome-open $uri" &
done

now copy-paste this code into terminal
chmod +x $HOME/.gnome2/nautilus-scripts/Open as root

Now you can right click on the file you want to edit, select 'scripts' and say 'open as root' to let you modify it". [URL] the right click worked but the file didn't open.

View 9 Replies View Related

Ubuntu :: Delete A Folder Owned By Root?

Jul 4, 2011

I copied a folder from /media/memory_stick into a folder /opt/openerp/server/bin/addons.
Trying to open the copied folder I discovered that it is impossible because it is owned by root.I should like to delete the copied folder.To avoid this ownership I copied the folder in /home/cristian/Downloads and I will copy it with:sudo cp -R folder_name /opt/openerp/server/bin/addonsMaybe in this way the folder will be not more owned by root.I tried already but because in the destination folder already exist one owned by root nothing is happening.

View 7 Replies View Related

Ubuntu :: OS Views All USB Drives As Owned By 'root'

Oct 25, 2010

OS views all USB drives as owned by 'root'. My internal 40 Gig drive files appear properly owned by 'glene77is'.My primary backup is a 320 Gig with all files now owned by 'root'.Using the filemanager "Nautilus", all USB external devices must be accessed as 'usb0', 'usb1','usb2', etc.The device names such as 'Alpha', 'Beta','Cappa' are not usably recognized in the menu options.Nautilus shows their names and the usb# as menu options for browing a device directory. Nautilus will open only the usb# menu option. Then sees all files as owned by 'root'.

View 2 Replies View Related

General :: Why Is My Sudo Generated File Owned By Root?

Jul 9, 2010

When I run '# sudo touch newfile' my expectation was that the file would be owned by me, not by root, as my understanding of sudo is that it is giving me, the user, root priviledges but does not actually switch the user.Do I have a fundamental misunderstanding of what sudo is about?

View 4 Replies View Related

Ubuntu :: Open A Folder Owned By Root In Terminal?

Nov 27, 2010

I have a folder owned by root, I can open it by changing the permissions but then I have to change them back when I'm done, I was wondering if there was a way to use the terminal to open the folder as root without changing the permission on the folder permanently? I am admin and have the sudo password if necessary.

View 7 Replies View Related

Software :: Access Computer A's Shares As Well As The Third Computer, The Aforementioned Computers Cannot Access Computer B

May 28, 2011

I have three computers in my network, but two will be mentioned. Computer A is a Linux Mint 9/Windows 7 dual-boot, and I have just installed Mandriva Free 2010.2, which I will call Computer B.

Now my main problem is that Computer B, while it can see and access Computer A's shares as well as the third computer, the aforementioned computers cannot access Computer B. The message was: "Unable to mount location/Failed to mount Windows share." Now, the SMB protocol was used because of the third computer and Computer A have Windows OSs installed in them.

What I originally wanted was that I can share Computer B's NTFS partition, namely Documents and Downloads, to the other computers. And I can't do that, because of the error message.

What I can do, however, is use Computer B to view shares from the other two computers (Computer A, as an example). By my experiences in Linux Mint, I understand that I'd have to mount my Windows partitions in order to share them. I don't even know if my NTFS drive in Computer B is mounted, though that is what was described.

View 2 Replies View Related

Ubuntu :: Editing Root Owned Folders With A User Program?

Apr 10, 2011

I'm using the IDE Netbeans (text editor) on my /home/michael Ubuntu account. I'm trying to open a file with Netbeans that's owned by root, I can't do this as I expected. So is there a way to run NetBeans as root, or is there a way to give netbeans permission to open/save files owned by root

View 1 Replies View Related

Software :: Sending Commands To A Screen Session Owned By Root

Jan 27, 2011

I am a linux newbie. I have a situation where I need to send a command line -X command to a screen session owned by root from a nonprivliged account. The command is executed by a shell script, which in turn is executed from a PHP script. Is there a way to make this work?

View 3 Replies View Related

Debian :: Access Files On Alternative Computer?

Mar 9, 2010

I have a desktop installed with Debian Squeeze and ALL my files are stored there, and is always on. Everyone has an account on this computer.

Each of us have laptops (Debian/openSUSE with KDE4) and sometimes need to use the files that is stored on the desktop. Currently, we are transferring the required files via usb drives.

All the computers are connected to a wireless router that connects us to the internet.

So, to enable all laptops can access the desktop's file, should I

- install smb to all the computers or

- install ssh for the task.

- or are there any better way.

Need to ensure,

- security as ALL my personal info is on the desktop

- easy to use and prefer gui than console as I have young kids using the system.

View 4 Replies View Related

Networking :: Access Computer Files From IPad?

Jun 12, 2011

I'm not familiar at all with the networking functions of linux systems, but I just bought an iPad, and I want to store all my movies, music, and documents on my computer at home, and access them from my iPad. I've heard a VNC client is the best way to go. But will this allow me full access, or just to view the screen? Will I be able to watch movies at the highest framerate with this method?

View 3 Replies View Related

Ubuntu :: Access Files On Home Computer Via SFTP

Jun 1, 2011

I want to access my files on my home computer when I'm away (school, vacation etc). I set up a scheduled task to send to send me my external IP address by email because I have a dynamic IP and dont want a static url. (dyndns) I planned to use sftp for an encrypted connection, but I dont know where to start. How can I set up my computer to accept incoming requests, but without any security issues?

Ubuntu 10.10 Desktop 32-bit
openssh-server installed

View 9 Replies View Related







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