Server :: Have SSH Chroot Access Mounted Drive

Aug 22, 2010

I have a chrooted account setup for my ssh server. However, I am trying to allow this user read only access to access on a mounted hard-drive and more specifically a specific folder from that mounted drive. I would also like to have this drive be mounted for me in my normal environment with write access.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Can't Access Mounted Drive

Aug 28, 2010

Ok so I have a drive called Extra Hard Drive and somehow I can't access it.

View 3 Replies View Related

Ubuntu :: Access A Mounted Secondary Drive Through FTP?

Sep 21, 2010

I am trying to access a mounted secondary drive through FTP, and when I try to connect to it I am not able to see any of its contents. Any suggestions? I am using Gadmin-proftp to configure. I can point it to any other folder on the main drive and see it perfectly.

View 1 Replies View Related

Server :: File Created By Application Server On Mounted Drive Is Not Writeable?

Sep 16, 2010

I have a web application(java 5, mysql server) installed on Tomcat on Red Hat 5.Part of the functionality is to allow the upload of files to a windows share. I have mounted the share using theAny file I create here from the terminal gets sions."-rwxrwxrwx"The problem is that when the application server creates the file it gets created with the following."-rw-r--r--"How can I get files created from the server to be "-rwxrwxrwx"

View 1 Replies View Related

Server :: How It Can Be Mounted To Access Windows Share

Oct 15, 2010

My windows share drive is D: how it can be scene in linux that it is shared, moreover how it can be mounted on linux to access windows share on linux.

View 2 Replies View Related

Red Hat / Fedora :: Chroot And MySQL And FTP Access Is Tunnelled Through SSH Using OpenSSH

Jan 19, 2010

The server I am working with is running CentOS 5.x. MySQL and FTP access is tunnelled through SSH using OpenSSH. Users are chrooted to their home directory as follows:

User: tristan
Home: /web/tristan/

Now, up to this point everything works fine (FTP access) except for MySQL tunnelling. The application I use for MySQL administration is Navicat. It allows me to access the remote SQL server as though it's local using a SSH tunnel. The problem is that I am unable to create a connection to the SQL server through tunnelling unless chroot is removed for the user. Once chroot is removed, I am able to connect to the SQL server just fine via tunnelling. However, ow when using SFTP, the user's "home" directory is now the root of the drive (which is what we don't want).

I wish I could give you more information about the configuration. Another user set this server up and unfortunately I will not be able to access the machine until a few days from now so my information is limited.

View 3 Replies View Related

Ubuntu Servers :: Completely Chroot Enviornoment Where Every Single Service Is In Chroot Mode (bind,mysql, Postfix)?

Jul 12, 2011

recently we decided to make our own panel (like Plesk or cPanel) but for Ubuntu and it will be licenced under GPL (like any other professional sofware).want to make a panel not only that fits our needs but also the needs of other system administrators and domain owners. We researched other panels and found out that non of them has security/look/ease of use in one package. Bad codig is another problem found in other panels.I made a short overwiev of what I think we have to have in the beginning.I Security :1. Completely chroot enviornoment where every single service is in chroot mode (bind,mysql, postfix, .... )2. Easily managed IPtables trough web-based interface. 3. Coding rules has to be strict.

II Software selection :
1. MTA - Postfix
2. POP - dovecot

[code]....

View 7 Replies View Related

Security :: Call Access Out Side Chroot Jail Files From Apache?

Apr 2, 2010

I have one requirement i.e I want to call the java file from the php function using shell_exec command , i am using the chroot jail concept , if i using this command i am getting the empty file because java environment is outside the chroot jail,so how to access the the files those are out side the chroot jail.

View 3 Replies View Related

Programming :: Obtaining Access To File In Chroot Environment From Usual Root?

Aug 1, 2011

ccess to an iso file in chroot environment from my usual root (/) env..

Within the chroot environment I have an iso file placed... In my program I need to access this iso file and perform mount and other operations.. But I cant do this in the chroot environment as I have only basic commands here (ls,cp etc.. and no mount)

So how can I access this iso file from my program ? Is there something like a file-descriptor which I can associate with the file exit from the chroot env and access the file via this fd ?

View 6 Replies View Related

Ubuntu :: Add More Space - C Drive Is Mounted And The E Drive Will Not Mount

Jan 19, 2011

I have just installed Xubuntu and suprisingly it did not ask me to create a partition within its installer like Ubuntu does. So now, I am left with 150mb of free space. I want to expand that amount. The problem is, I do not know where it has been installed on. I have a C and an E drive. Currently, the C drive is mounted and the E drive will not mount even if i press the mount button. Does anyone have a solution?

View 8 Replies View Related

Ubuntu :: Can't Access Data From Server Hard Drive

Jun 20, 2011

My servers (10.10) motherboard has failed so to access my data I've taken the hard drive out and tried to connect to it via my ubuntu desktop (10.10). I've tried it in a hard drive caddy and installed in my pc, but could only see a 255Mb Filesystem with a few folders and files on it. how to mount the portion of the disk that I can't see? Ie. the part with all of the data on it.

View 7 Replies View Related

Server :: How To Chroot Samba Folder

Oct 18, 2010

Does anybody could explain me how to chroot samba folder ?

View 1 Replies View Related

Red Hat / Fedora :: How To Access To Mounted HDD

Mar 17, 2011

I have server in which I have 2 HDD. One is primary and in it is Linux CentOS. Last week my server stop to work and I reboot it. But after that reboot second mounted HDD in which I backup my files aren't visible at old path. Old path is - I login via SSH and there is folder named SECOND, but now that isn't case. I want to know, how I to see in which folder to enter, which one is for second HDD? I see both, but how to enter in it? And to see what is in it (my old data)?

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 48641 390604410 8e Linux LVM

[code].....

View 7 Replies View Related

Server :: How To Access Auto Raid Hard Drive Component?

Dec 22, 2010

i have harddrive on which raid 5 is configure and no file system is configured.so i want to access the data on auto raid component harddisk.could any one telme how to access auto raid component hard drive.when im connectingto my laptop its not opening.when i check in disk analyzer its showing auto raid component harddrive.please helpme to access data inside the raid drive.

View 2 Replies View Related

Server :: Chroot Users To Thier Home Directories?

Dec 11, 2010

How can i chroot group of users to thier home directories and they have ssh access on RHEL 5.5 .. i tried many tuts but it was about chroot services.

View 2 Replies View Related

Server :: SSH Chroot'ed User Can't Write Files / Solve It?

May 31, 2011

I am having an issue with a Chrooted SFTP User not being able to write files.

The permissions are setup correctly as if I remove the Chroot the user can write files correctly.

User has a transfer folder which they should be able to write files to and read from, this works correctly until I apply the snippet from sshd_config file below then the user can only read files. I have tried tweaking the permissions but this doesn't seem to have helped at all.code...

View 2 Replies View Related

Ubuntu :: Could Not Access Contents Of A Mounted Partition?

Jan 4, 2010

I had my hard disk partitioned as below:-

Size Label Mount point File system
52 GB Multimedia /MM ntfs
52 GB Backup /ABackup ntfs
52 GB Extras /Extras ext4
27 GB root / ext4
60 GB home /home ext4

The problem is that I cannot access the /MM and contents. I tried Properties > Permissions and changed applied the changes to subfolders and contents too. Now I can access /MM but not the contents. All are marked with a lock logo.There are numerous folders/files.Changing the permissions individually is a hectic work.possible to do it in a command line/script?

View 4 Replies View Related

Ubuntu :: Can't Access Windows Files / Though Hd Is Mounted

Jul 10, 2011

i just installed ubuntu, i am having a problem in accessing my windows files. Now as you see the 500 gb hd is mounted, but when i go to places it shows that i have 2 500 gb hds, none of them is actually the one that i have the windows system on it or my files.i looked throughout the whole web, i need your help if you know how can i access my windows files.

View 1 Replies View Related

Hardware :: Using HAL Fdi Policy To Restrict Access To A Mounted USB?

Jan 12, 2010

I have a requirement of mounting an external usb with NTFS filesystem and allowing restricting its access only to the console user(even restricting access to a single group is fine). I am able to mount the usb by using the attached fdi policy. However, I want the access to be restricted to a single user or a group. Is there anything that I'm missing here. I did search on the internet, but couldn't find anything in this regard

View 1 Replies View Related

Hardware :: Using HAL Fdi Policy To Restrict Access To Mounted USB

Jan 12, 2010

I have a requirement of mounting an external usb with NTFS filesystem and allowing restricting its access only to the console user(even restricting access to a single group is fine). I am able to mount the usb by using the fdi policy below. However, I want the access to be restricted to a single user or a group. Is there anything that I'm missing here. I did search on the internet, but couldn't find anything in this regard.

View 1 Replies View Related

Networking :: Can't Access Mounted Windows Share?

Jan 6, 2010

It's the strangest thing, I've done this on a couple othervers with no issues whatsoever... here goes:I need to mount a windows share to copy some files to it, so I used this command which gets no errors:

Code:
sudo mount -t smbfs -o username=XXXXX,password=XXXXX,domain=XXXX.com //192.168.12.30/operrors /home/XXXX/scripts/operrors

[code]...

View 1 Replies View Related

Fedora :: Chroot Users To Home Directory In SFTP Server?

Apr 12, 2011

I see this questioned asked a lot and figured this tutorialThis tutorial explains how to create an SFTP server which confines (or chroot) users to their own home directory and deny them shell access.

View 1 Replies View Related

Server :: Vsftpd Chroot Mode When User Logon First Time ?

Jun 22, 2011

I've config vsftpd chroot mode follow:

Code:

Code:

View 4 Replies View Related

Debian :: No Write Access To Mounted Volume (over Samba)

Aug 10, 2011

I have recently installed Debian on my NAS server. I have also configured Samba for sharing the home directory of a nas user i.e. /home/nas To this directory I have read/write from a windows machine using the nas user credentials.

When I mount my RAID partition /dev/md0p1 to the /home/nas directory, I then realize that all content in this directory (files and subfolders) is only owned by the root user. When trying to access from the windows machine the /home/nas directory, I do not have any write access, only read. I have tried both the nas and the root user credentials.

I have also attempted the change the ownership of the mounted RAID partition to the nas user with the -R recursive option, but I get for the internal files/subfolders an error "operation not supported".

How can I overcome this problem?

- Is there something not done properly in the /dev/md0 array definition (i.e. ARRAY /dev/md0 level=raid1 num-devices=2 UUID=bddf8b69:c97967b5:cb104784:7fef7cc3 )?

- Is there something not done properly in the /dev/md0p1 mounting (i.e. mount /dev/md0p1 /home/nas)?

- Should I do any extra configuration before the mounting etc?

View 2 Replies View Related

Ubuntu :: Can't Access Data On Mounted Partition After Upgrade To 10.04

May 4, 2010

Yesterday, I upgraded to the 10.04 verion of xubuntu. Looks fine. However, I keep my data on an NTFS partition of my dual boot laptop, and am finding that I can't access it.

I have a symbolic link to that mounted partition, and when I click on it, I can see the first level of folders, but I can't execute them (even though they seem to be set to 777) and I can't open anything...

View 6 Replies View Related

Ubuntu :: Access Mounted SFTP Folder From Within Programs?

Mar 8, 2011

I have a project stored on a university server which I'd like to be able to work on from home.

I already have an SFTP folder set up, which I can access easily in Nautilus, and I can freely copy files back and forth, or open them in e.g. gedit.

However, the project is in Matlab, and I cannot see the mounted SFTP folder from within Matlab. This means that I can't work on the project in Matlab without copying the whole lot across to my local machine when I want to work on it.

Is there some way I can get Matlab to "see" the connection so that I can use the mounted SFTP folder like any other in my filesystem? It appears on my desktop when connected - does it have some other mount location?

View 2 Replies View Related

OpenSUSE :: CD/USB-drive Mounted Many Times Instead Of Just Once

Sep 19, 2010

I'm facing some issues with mounting the cd and usb stick in Gnome: once the hotplug device is discovered Gnome displays multiple lot (5+) notification windows (i.e asking about the opening application) and also causing Dbus errors like: "DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending".

Ubuntu just mounts once, no issues like mentioned above. This is standard 11.3 installation, where should I look for the cause?

View 1 Replies View Related

Ubuntu :: Cdrom Drive Not Mounted In 9.10?

May 1, 2010

My cdrom drive was working until yesterday it didn't mount at all. It said 'special device /dev/scd0 does not exist'. I went and checked in BIOS and the CD rom was not identified there as well I would like to know if there is a workaround for this problem. I am using an ACER aspire 4520 laptop with only ubuntu 9.10 on i

View 3 Replies View Related

Fedora Servers :: Script Can't Access Mounted Location While Logged Out

Feb 24, 2011

I want to backup some data on my Fedora box to a external Hard Disk (USB). I mounted the external HD on my box. I wrote a bash script to do that and I scheduled a cronjob to execute the script. When I am online the script executes as planned. However when I am logged out the copy does not work. I also tested this with a cifs mount (via fstab) and that does not work either. I set the script to generate some output at the end and that is OK so the script does run when I am offline. I suppose the mounted locations are not reachable while logged out, is that correct? Is there a workaround so I can reach the mounted locations while logged out?

View 2 Replies View Related

Red Hat / Fedora :: Intermittent Slow Access To Cifs Mounted Shares

Jan 14, 2010

The shares get mounted correctly and you can navigate through the directories and open files.The only problem is that it randomly starts going really slow taking 30 seconds or longer to open a directory that has 2 or 3 files in it.I have tried quite a few things to try and fix this without any luck. Its getting to the point where I am having to consider recommending that we use windows instead, which I would rather not do as I think its good for students to experience different operating systems during school.

View 9 Replies View Related







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