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.
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.
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"
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.
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
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.
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 ?
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?
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.
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
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.
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...
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?
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.
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
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.
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
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.
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?
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...
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?
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?
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
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?
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.