Networking :: Mount Windows Directory As Non Route User?

Sep 19, 2010

I've a redhat server and a windows 2003 server. The windows box has a shared directory on it that I want to mount on the linux box. This I can do no problem using the following command:

mount -t cifs -o username=windowsuid,password=mypass //winservername/directory /mnt/directory

This all works perfectly however I need to mount this as a non root user. This is where I'm having difficult. I constantly run into "only root can do that". I've edited the fstab and added the entry in there for the mount with the flag user or users and neither makes a difference. I've also tried editing the sudoers file and still the same.

View 4 Replies


ADVERTISEMENT

Ubuntu Networking :: Mount Windows User Share Folder At Login?

Sep 29, 2010

i need to always mount the user share of my Windows server at Ubuntu login.

This is my server struture:

Server
|-Group1
| |-user1
|
|-Group2
|-user2

ive found that i need to configure pam mount and i have this example:

<volume user="user" fstype="smbfs" server="krueger" path="public"
mountpoint="/home/user/krueger" >

but i dont know what to change relative to my server folder struture.

View 9 Replies View Related

Fedora Networking :: Mount : System Error: No Route To Host

Sep 3, 2010

I am trying to share directories between two F12 machines on a local network with a router box doing DHCP because not all machines on all the time. Web access is fine and local ping and ssh works but telnet doesn't. I have never succeeded doing mounts. So I have been searching for things to fix the above and have just tried rpcinfo. If I do this :

rpcinfo -p 192.168.2.2 it gives rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host. Does that suggest that actually there is an installation problem? So I tried "yum provides portmapper" and that gives "No Matches found".

View 14 Replies View Related

Fedora Networking :: Mount To NFS Server Failed - No Route To Host

Jun 22, 2011

I am trying to access a DVD mounted on a machine running Fedora12 (192.168.0.105). I thought this should be possible with NFS, but the above error message is what I keep getting, no matter what I try.

Here is my mount command:
Code:
mount 192.168.0.105:/mnt/dvd -t nfs /tmp/scaleo
The Fedora 12 machine has the NFS server running, and the corresponding entry in /etc/exports is
Code:
/mnt/dvd *(ro)

I thought this might be a firewall problem, but it persists even if I turn firewalls off on both machines (client as well as server.) Also, doing
Code:
ssh 192.168.0.105
is OK, so what is wrong with the route?

I am trying to access a DVD mounted on a machine running Fedora12 (192.168.0.105). I thought this should be possible with NFS, but the above error message is what I keep getting, no matter what I try. Here is my mount command:
Code:
mount 192.168.0.105:/mnt/dvd -t nfs /tmp/scaleo

I now tried
Code:
mount 192.168.0.105:/mnt/dvd -t nfs4 /tmp/scaleo
and it seems the mount succeeded. So, instead of nfs, one must write nfs4?

View 9 Replies View Related

Ubuntu Networking :: Sharing Windows 7 Drives - Unable To Mount Location - Failed To Mount Windows Share Error Message

Sep 5, 2010

I have recently set up an ubuntu installation on an old PC. After some fiddling with both it, and the windows 7 machine, I have managed to share all of my drives. However, when attempting to access them from ubuntu, only 2 of the 4 hard disk shares will mount, with the other 2 failing with a Unable to mount location, failed to mount windows share error message.

View 2 Replies View Related

Networking :: RDP Into RDP Server Avoiding Windows Route

Jan 28, 2011

Is it possible to for me directly RDP into my company's RDP server from my Linux OS, in same way I can RDP into it from my Windows OS on my work computer or home computer, which has the RDP setup settings you use to create the session?

Of course I can get into the work machine, and then the RDP session, but is there a way to go straight into it without using the Windows Desktop to click on RDP? Does Linux have an RDP program similar to the setup using on the Windows side, in terms of being able to configure the settings to get into an RDP directly?

View 2 Replies View Related

Fedora Networking :: When Try To Mount The Share To A Different Directory On The Server, Receive A 'no Such Directory' Error?

Dec 18, 2010

I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.

I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:

aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010

[code]....

View 7 Replies View Related

Debian :: Restore User Directory After Trying To Mount A SATA Drive

Jan 21, 2011

This is on Debian Lenny 5.0.7 with a LXDE desktop. Using Root Terminal I have just been trying to mount a SATA drive NTFS file system using the command: mount -t ntfs /dev/sdb1 /dev/

unfortunately the /sdb1 should of been 'sdc1', I think, and what's happened is that my username and files have been moved somewhere else. PCMan File manager has ceased to work and open applications have ceased to be able to save files.

How do I discover where they went, and how do I restore them back to the original place of debian:/home/username/ ?

I'm about 8 hours in to learning Linux/Debian and desperately trying leave behind about 15 years of Windows use for something better. I'm used to troubleshooting electronics/hardware/all manner of things but the syntax here is, at the moment, a slippery slope.

View 2 Replies View Related

Networking :: Route Eth2 TCP Packets To Tun0 With IPTABLES And IP RULE/ROUTE?

May 8, 2011

I have 3 network interfaces on my Linux Router :

Interface - Gateway - Type

Code:

br0 - 192.168.0.1 - Internet
eth2 - 192.168.1.1 - LAN
tun0 - 10.0.0.2 - VPN (via br0)

What I'd like to do is to route all TCP packets coming from eth2 to tun0 where a VPN client is running on 10.0.0.2. If I delete all default routes and if I add a new route to tun0 like :

Code:

route del default
route add default gw 10.0.0.2

Everything is fine, and everyone on eth2 can reach the Internet using the VPN access. Now the problem is that my VPN client does not allow any other protocols other than TCP. And I also want to allow VPN access only to eth2, no other LAN nor the router itself. use iptables to filter any TCP packets and mark them, so they can be sent to tun0, while any other packets can reach the Internet via br0 (192.168.0.1). I found on the Internet that we can mark packets before they get routed. Using the following commands :

Code:

iptables -t mangle -A PREROUTING -j MARK --set-mark 85 -i eth2 -p tcp --dport 80
ip route add table 300 default via 10.0.0.2 dev tun0
ip rule add fwmark 0x55 table 300

First of all, --dport 80 never work... :/ I wanted to filter TCP 80 packets coming from eth2, but none of them seems to be HTTP packets... oO (very strange...). Nevermind, I decided to forget about the --dport option. I use the "iptables -L -v -t mangle" command to see how many packets are marked, and it is working fine, all TCP packets coming from eth2 are marked. Now the problem is that none of them are routed to tun0 they are all respecting the "route -n" rules... and not the "table 300" rule I have created.

View 4 Replies View Related

Software :: Limit Mount Points Of SSHFS To Just User's Home Directory

Apr 21, 2010

We recently had a serious loss of data because of SSHFS mounting. A user in our group mounted the entire home directory of our server (/home). This was so they could easily move between user folders to read/write data from other people involved in the same project. They then deleted several folders that were not in there home directory.

Now I know this is a bad idea and that there should be a dedicated "projects" folder where everyone collaborates and does their stuff. Such a folder/system exits but I can't make them use it. My question: Is there anyway to configure SSHFS such that the only thing the user's can mount is their home directory? Obviously this won't fix the problem since they can sym-link to other folders but I've got to start somewhere. Perhaps there's a better solution (one that doesn't involve me nagging users about proper form).

View 4 Replies View Related

Ubuntu :: Mount Ext To Directory In Windows 7?

Aug 25, 2010

I know that it is possible to mount ext filesystems from windows using either extfsd or extIFS drivers. What I want to do is, after mounting it to a drive letter with the driver, to further mount it to, for example, the "my documents" directory. The thing is, disk management in windows 7 won't recognize the ext partition so it won't let me mount.

View 3 Replies View Related

Networking :: Route-eth - Adding A Static Route?

Apr 29, 2009

I would like to add a static route, however I do not understand what is meant by the Address setting below

GATEWAY2=10.241.58.62
NETMASK2=255.255.255.224
ADDRESS2=10.241.57.32

Does this mean any addresses beginning with 10.241.57.32 are routed over the gateway 10.241.58.62 an address range

View 3 Replies View Related

Red Hat / Fedora :: Mount Windows Directory On Machine (5)

Jan 22, 2010

How to mount windows directory on Linux machine (Red Hat 5)?

View 2 Replies View Related

Networking :: Definition: "a Process That Replaces A Series Of Related, Specific Routes In A Route Table With A More Generic Route"

Oct 21, 2010

I got this definition:"a process that replaces a series of related, specific routes in a route table with a more generic route." honestly I found it not so clear.. I want to know if this definition is correct and also more details about this subject..

View 1 Replies View Related

Ubuntu Networking :: Unable To Mount Location / Failed To Mount Windows Share

Jul 26, 2010

I have a Dell Inspiron 1720 running Ubuntu v10.04 with a wireless card.My desktop is a Dell Optiflex running WinXP.The desktop is connected via ethernet cable to a Linksys wireless router. Certain folders on the desktop are set for sharing. Up until early last week I was able to access the desktop folders from the laptop with no issues.Suddenly I am now getting this error "Unable to mount location Failed to mount Windows share" whenever I try to access the desktop folders from the laptop.I suspect an upgrade is the culprit, but not sure.

View 3 Replies View Related

General :: Mount A Specific Directory On Server To A Local Windows Machine?

Jan 20, 2011

I have a directory on my server at /home/dave/www/images/site (ext3) which I want to mount directly to my Windows computer so that I can transfer data easily via command line tool. Is that something possible?

View 4 Replies View Related

Networking :: Unable To Mount Location: Failed To Mount Windows Share

Mar 21, 2010

i'm trying to connect to the three other machines in my house but am having quite a hard time doing so. i've never had a problem in the past with ubuntu, but, with 9.1 and windows 7, things have gotten a bit harder. i'm running 9.1 and my roommates are running windows 7. i've installed, set up and configured samba and i can see the computers on my network, but any time i try to access either of the drives, it says unable to mount location: failed to mount windows share.

View 4 Replies View Related

Ubuntu Networking :: Sharing Folders From It To Windows - Error: "Unable To Mount Location" "Failed To Mount Windows Share"

Jun 28, 2011

I have a computer running Ubuntu 10.10. I am using it to share many hard drives connected to it. I am using Samba. I have successfully shared many folders to one Windows user. I am attempting to share other folders within the shared folders to another user as read only but have not had any success. When I attempt to connect to one of the shares from another computer running Ubuntu 10.10, logged into an Administrator account with the same username and password which I setup on the Samba share I get the error: "Unable to mount location" "Failed to mount Windows share"

View 3 Replies View Related

Ubuntu Networking :: Error - "route: Netmask Does Not Match Route Address"

Jan 25, 2011

Having trouble getting my Netgear WNA1000 working thru wireless router. Have tried lots of suggestions from other threads to no avail. Someone suggested that th routing table isn't set correctly, so have been trying to use the follwing to make the proper entry in the routing table: sudo route add -net 192.168.0.1 netmask 255.255.255.0 dev wlan0

Result: error message stating with:
"route: netmask does not match route address"

followed by "Usage" instructions which tell me to do what I just did. Any ideas on how I can populate my routing table with correct entry for my wireless card? Not to complicate matters, but I temporarily turned off encryption on my router to eliminate that as a possibility until I get connected. So maybe it'still trying to connect via encrypted mode - do I need to turn off encryption on my (client) end?

View 2 Replies View Related

Ubuntu Networking :: Samba And External Drive - Unable To Mount Location - Failed To Mount Windows Share - Dialog Box

May 25, 2010

I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop
ame of folder"

My smb.conf file looks like this:

That folders I cannot access are Music and Videos.

View 9 Replies View Related

OpenSUSE Network :: User Permissions And Auto-mount On Windows Drive

Feb 11, 2010

I'm running OpenSuse 11.2. I've got it running mostly the way I want and it connects to my wireless internet no problem. I have a external hard-drive on my Windows machine setup as a share folder. I can mount the drive with:

Code:

mount //10.13.23.2/D /home/james/mnt/win However when I do mount like this it doesn't give my any read/write privliages on the drive. Also on a slightly different issue but still mounting related I have my HDD partitioned into four main drives (not including swap etc). They are my Windows drive, a seperate storage partition formatted for Windows, my main linux drive and a seperate parition for linux storage.

I want to have my Windows drive, my Windows storage drive and my linux storage drive all mounted on boot. I tried adding these to fstab, and they mount fine but again I have no read/write permissions. My fstab looks like this:

Code:

/dev/disk/by-id/ata-WDC_WD2500BEVT-35ZCT0_WD-WXE908AE4273-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD2500BEVT-35ZCT0_WD-WXE908AE4273-part6 / ext4

[code]....

Lastly I would like my Windows Share drive to mount on boot but I have been advised that I would need to write a shell script for this, to do network checks as obviously I won't always be connecting to my network.

View 6 Replies View Related

Server :: Setup User Authentication And Internet Accounting Like ISA And Active Directory In Windows?

Mar 8, 2011

setup user authentication server and internet accounting server like ISA and Active Directory in Windows?

View 4 Replies View Related

General :: Copy Files From Directory Of One User To Directory Of Another User?

Apr 15, 2011

Is it possible to copy files from directory of one user to directory of another user in linux?

View 7 Replies View Related

Server :: NFS Mount Failed - No Route To Host

Dec 1, 2010

At nfs client end unable to mount nfs server.
mount: mount to NFS server '10.7.70.178' failed: System Error: No route to host.

View 5 Replies View Related

Networking :: NFS User Home Directory?

Jan 16, 2011

iam learning to setup a NFS server with fedora14. I have gone through couple of materials for this topic. I have a doubt. Say if i have user1 till user5 on my NFS server with their home directory under the /home and the /home directory is shared. If user1 logs into a client machine then will he be able to see home folders for the other users or just his own home folder. Because in the /etc/exports file there was an option saying "subtree" and according to my understanding this means that the subdirectories under /home will also be shared. Does that mean all the users should be able to see all other users home directory and its contents but not read/write?? Correct me if iam wrong.

View 1 Replies View Related

Ubuntu Networking :: Mount A Remote (ftp/ssh) Directory Locally

Jan 15, 2010

If you use Nautilus then you can just use the "Connect to server" from the file menu. However if you file manager does not support connecting to servers (like Thunar ) then you can use sshfs.

Code:
sudo apt-get install sshfs
You should create a directory as your mount point, say
Code:
mkdir /media/Server

[Code]....

View 1 Replies View Related

Networking :: Lockdown User To Home Directory With SSH

Mar 10, 2011

I am having problems setting up SFTP on a Red Hat server to clamp users down to their home directory. I have created the user, removed /bin/bash login shell and replaced with the below in the passwd file. The user can login by sftp but can browse around the server and download any files apart from other users file. Have also assigned the user over to the sftp user group.

Code:
SFTPUser:x:515:515::/home/SFTPUser:/usr/libexec/openssh/sftp-server
Added following section to file - /etc/ssh/sshd_config

Code:
Match Group sftp
ChrootDirectory %h
ForceCommand internal-sftp
AllowTcpForwarding no

View 7 Replies View Related

General :: Networking 2 Boxes - Error: "unable To Mount Location Failed To Mount Windows Share"

Mar 27, 2011

im trying to get a network setup i followed the instruction via gentoo wiki samba what i have done

[Code]...

then i did chmod 777 to the shared folders on both machines went into nautilus it sees the folder but it will not mount the folder showing the error msg:"unable to mount location failed to mount windows share" ive been searching unbuntu forums opensuseforums and google for an answer to this issue but as of right now anything that i have tried to do has failed and nothing seems to be working.

View 12 Replies View Related

Fedora Networking :: Unable To Mount Specific Directory Via CIFS?

Aug 19, 2011

I have a bootable utility toolset that I put together with Fedora 14, one of its primary functions is to map a user designated share via script and access information from it. The command that I used, that functioned perfectly, in Fedora 14 was:

Code:
sudo mount -t cifs -o user=provided.account.name //file-server.mydomain.com/share/images /mnt/source

[code]...

View 3 Replies View Related

Networking :: How To Create SSH User Without Access To Root Directory

Aug 7, 2009

I need to create an SSH user that can only access the directory I would specify for them. For example, I've been able to execute the following:
useradd -d /home/me/directory_for_this_user someuser

So when someuser logs in they get into this directory. Problem is that once they log in they can simply execute:
cd /
and navigate through all other directories which is a security risk.

How I could limit someuser's access to only /home/me/directory_for_this_user and its subdirectories and nowhere else in the system?

View 1 Replies View Related







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