Ubuntu :: Mounting Network Share To Prompt For Password
Apr 30, 2011
I was wondering if there is a way to mount a network CIFS share manually to allow it to prompt for password. I've been Googling around and found a couple options. One was to store your credentials in a file and then add the fstab entry to look at the file. I'm not particularly fond of the idea of storing my credentials in a plain text file though, even if I put file permissions on it.Is there a way to mount the share so that it prompts for credentials. The share isn't always online so I want to mount it manually.
View 6 Replies
ADVERTISEMENT
Sep 21, 2009
I have set up my samba server. I tested from my windows side, all the public ones works fine except the [homes]. Here is my [homes] setting:
Code:
[homes]
comment = Home Directories
browseable = yes
writable = yes
The homes is suppose to let each user see his/her own home directory. But I tested at the windows side, I found that windows doesn't even prompt me about username or password, it just directly give me "not accessible" error. How do I config so my windows side at least prompt me about username/password?
View 12 Replies
View Related
May 26, 2010
i using policy kit to restrict removable mounting to prompt for root password, but on 11.2, I am unable to do so.i read out, ver 11.2 not longer using hal and policykit, rather sth like freedesktop.org policy.
View 9 Replies
View Related
Oct 6, 2010
We have a computer here with stuff on it we all use. If I load up my Windows XP VM and open it through My Network Places it loads up just fine. In Ubuntu Nautilus complains that it cant mount the share. If I do:
sudo mount -t cifs //tech1/e /mnt/tech1
it asks for a password. There is no password.
View 5 Replies
View Related
Oct 8, 2010
I have 2 Ubuntu machines: a desktop in my bedroom, and a laptop.
I have my music shared on my desktop machine, and can access it through the network menu item in the nautilus manager, but I want the files from the share to be mounted on the disk so I can access it through the commandline.
If I right-click the shared folder in Nautilus, it says its location is smb://rob/music
If I do:
mount -t smbfs //rob/music /mnt/music, it tells me that it cant locate rob.
So I try "ping rob" and that doesn't work.
I can't make a hosts entry for rob which happens at this moment to be 192.168.0.8, because my router assigns different IP addresses to various machines at different times, and I cant seem to find a way to make static maps from MAC address to ip address.
So, how come nautilus can see my samba share on the machine "rob", but the mount commands cannot?
View 7 Replies
View Related
Jan 1, 2011
I have a network PC running Win7 that u use for storage of all my media; movies, music and pictures.I can connect and use the share just fine using the "connect to server" option under places menu.I think i need to modify the fstab file but I am not familiar enough with it to do this.Have searched other threads for help but I am doing something wrong.HP Laptop running Ubuntu 10.10 connecting to a win7 share through a router.
View 9 Replies
View Related
Jan 26, 2010
We recently moved to a new home and I am trying to get my home file/print server set up again. Thanks to swerdna's excellent website, I got my server box (just upgraded from 11.0 to 11.2) running Samba and serving my shares over the network, and my "client" machines can access them without a problem.However, I'm not having much luck setting up CIFS mounts on my Linux desktop. I have my all-purpose user added to the Samba auth list (via smbpasswd), and configured my client as swerdna's howto's specify, and I can access the files just find. However, when I try to mount the shares with this command:
Code:
mount -t cifs -o username=klein,password=klein //192.168.1.70/sharedmedia /home/zak/SharedMedia/
I get the following error:
[code].....
View 2 Replies
View Related
Aug 12, 2011
I want to setup a SSL encrypted WebDAV share on my OpenSUSE 11.4 server that is accessible from the internet. Everything is working fine when using Windows XP or Linux clients, but a connection with Windows 7 is not possible ("the selected folder is not valid").
I already searched for a solution to this problem I tried several setups:
- with and without encryption
- with Basic authentication
- with Digest authentication
- without authentication
I did not have success so far. Is there any solution to this (except not using Windows 7)? Or can anyone confirm that this should be working (and maybe my configuration is messed up)?
View 1 Replies
View Related
Nov 18, 2010
I need to mount a windows share on my OpenSUSE 11.3. I get it using the mount.cifs command (by itself or using cifstab), but only root can rw file. I try the uid/gid parameters (also using forceuid) and the file_mode/dir_mode parameters, but I get the same behavior: all files and directory with rwxr-xr-x permissions and root/root (user/group). I read the whole section FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS in man mount.cifs but nothing works.
View 9 Replies
View Related
Feb 14, 2010
I have searched for days on this problem and no one seems to have the fix. Everyone else seems to go off on tangents.I have 3 computers. One runs XP pro, one runs Windows 7 Ultimate x64, and one runs openSUSE 11.2.The two windows machines can share files between each other with no problems.On suse I setup samba correctly. When I go to Computer -> Network on suse, I then go into Samba Shares. Then I see my workgroup name. I click to go in and I can see all 3 of my PC's listed here.When I click on my XP pro machine,am prompted for a user name and password. I put it in and I gain access perfectly.
When I click on my Windows 7 machine, I am prompted for a user name and password. I enter it in and it prompts me again for the user name and password. It will not let me in.I have changed all of the settings in 7, I have disabled the firewall, I have changed the security policies, I have changed the encryption strength.Simply Samba is nolaying well with Windows 7. I cannot believe that I am the only one with this problem
View 3 Replies
View Related
Apr 2, 2011
Q: How can I allow my users to mount a cifs share without an entry in fstab in OpenSuse 11.4?
I have an answer myself. Until OpenSuse 11.2 I could mount my samba shares by making mount.cifs and umount.cifs setuid root. Today I installed OpenSuse 11.4. Unfortunately mount.cifs isn't anymore allowed to be setuid due to security concerns. Security is not an issue in my case, so I copied the mount.cifs and umount.cifs from 11.2 to make it work again:
1. Download cifs-mount-3.4.2-1.1.3.1.x86_64.rpm from this repository (I use 64 bit):
"http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/"
2. Extract the files mount.cifs and umount.cifs from the rpm and copy them to /sbin
3. Make them setuid root:
Code:
linux-y5qw:~ # chmod u+s /sbin/mount.cifs
linux-y5qw:~ # chmod u+s /sbin/umount.cifs
4. Mount your cifs shares as a normal user:
Code:
martin@linux-y5qw:~> /sbin/mount.cifs //192.168.2.2/data /home/martin/data/ -ousername=martin
Password:
View 1 Replies
View Related
Feb 23, 2011
I am new to using Ubuntu 10.10 that was installed by a friend of mine, but he didn't give me a password for administrator and now when I try to install VLC I am blocked by a password prompt. To make things worse I can't use F1 key, esc key, tab key, 1key (I copy and paste 1 from other pages when I need it). I am at a loss here and all I want is to change the administrator password without validating the current password first.
View 2 Replies
View Related
Jan 29, 2009
I've tried Ubuntu, Arch, and most recently Fedora but the SUSE GNOME environment blows everything else away!
The only problem (so far) is that Network Manager requires you to enter your password every time you login to unlock the password keyring. I want to disable this.
I think some distros disable the prompt by using the login password to unlock the keyring, but I use auto-login (if that makes a difference).
View 4 Replies
View Related
Jun 22, 2011
Is there a way to getting around not having to put in the user password everytime my Wireless connects, or Install software, etc? I changed the user role to Administrator under users from the control panel (x Windows user )
View 4 Replies
View Related
May 12, 2011
I am attempting to mount an NFS share that has been setup on a Windows Storage Server 2008 (R1). Initially, I could not even mount the share, though it would show up using "showmount -e <server_ip>". After adding the "ANONYMOUS LOGON" user to the NTFS permissions and granting the "Full Control" permission, I was able to successfully mount the share and read from it. However, I cannot write to it. The NFS share is set to allow anonymous access, UID 0 and GID 0. The appropriate host is listed in the NFS Share Permissions with Read-Write permissions, and ANSI encoding. Root access has also been allowed. I also tried granting the "Everyone" user full control in the NTFS permissions as well. See screenshots and console quote for clarification if needed.
View 1 Replies
View Related
Nov 12, 2010
I click on the corresponding checkbox in users and groups but but it doesn't do anything. I also want to disable password prompts in general. Also when I try using Computer Janitor it says it could not complete and to check if other package managers are open, but none are.
View 9 Replies
View Related
May 11, 2011
My Ubuntu desktop crashed last night after I accidentally bumped into the CPU box. Right after I bumped into it, it restarted automatically ... then it ran disk integrity check, also automatically ...
The issue is that I can NOT log into it. There is no way that I could enter my password. Though I could telnet into it using my laptop (I have set up telnetd into this desktop before).
I am trying to search for similar issues in this forum but I could not find one that is really like this.I have all 5 years of work in the hard drive.
The two images below shows the issue it had done.
This is my login screen (note: whenever I click "nd-desktop", it doesn't give me prompt for password.
Uploaded with ImageShack.us
This is just the screen it gives me when I click "nd-desktop" above. Also, take note there are no usual options below that could change my preferred desktop etc.
Uploaded with ImageShack.us
View 9 Replies
View Related
Aug 23, 2011
Can I disable the password prompt after I come out of suspend. I remember a setting in the last release but I can't find it in 11.04. Is this setting still there? Where can I find it?
View 4 Replies
View Related
Apr 19, 2010
I'm writing a script which will log into a list of servers if they have public/private keypairs set up. If a server doesn't, I want the script to move on to the next server rather than wait at a password prompt.I'm using OpenSSH version 5.1p1 Debian-5, OpenSSL 0.9.8g 19 Oct 2007 on both client and server.I'm using this command: Code: ssh root "at" "IP" -o PasswordAuthentication=no KbdInteractiveAuthentication=no I had to write "at" instead of the symbol, as I'm not allowed to "post URLs to other sites after you have made 15 posts or more."This works for most servers, but not all (on some of them the script halts at a password prompt). I suspect those servers may run an older version of SSH which doesn't support the options I'm providing
View 3 Replies
View Related
Jan 12, 2010
Hi, I have a server at my home which is a Ubuntu 9.1 which is setup as a NFS server using NFS v3. I am also using DYN DNS to access my home server remotely from another location using SSH. Everything works good, I can sucessfully log in to my server from my laptop via SSH, however my problem mounting my NFS share which consists of appx. 300 mp3 files. My question is:
1 How Do I Tunnel a NFS share through a SSH tunnel?
2 Is there any other configuration? needed to be done to the router?
3 is there anything needed to be configured to the server or my laptop?
4 Manual mounts is fine for me I don't care about automounting.
I just want to be able to mount the NFS share via the SSH Tunnel and play my music and access other files from my server.I just need the steps to set up this connection.
View 2 Replies
View Related
Jul 20, 2010
In Nautilus, I can find the share under Network which I want to mount. When I double-click on the desired folder, I was prompted for a username, domain and password. However, I could not log in; there was no error messages, but Nautilus kept prompting me for my username etc..It would seem like I've entered the wrong details, but I've used a Mac OS to access the share using the same wired network and I had no problems doing so.So what could be the problem? Am I missing some setting? Or is the Windows share setting denying access to Linux systems?
View 9 Replies
View Related
Aug 4, 2010
I have been looking into how to get Nautilus to emulate the windows "map network drive" feature.
I have found several howto's that use various command line utilities to try to do this, however they tend to be like trying to use a sledgehammer to fix small dents.
When I connect to a share server, Nautilus puts a directory on my desktop that only Nautilus seems to be able to see and use. I would like to be able to access this directory with non-Nautilus applications.
View 5 Replies
View Related
Oct 28, 2010
I have a server, with a static IP of 192.168.1.17, that is running Ubuntu lucid sever edition and that exports some shares per NFS. Here is its /etc/exports:
Code:
/media/Share00 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
/media/Share01 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
/media/Share02 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
/media/Share03 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
[Code]....
However, autofs does not work: the /msrv directory appears and disappears when I start and stop autofs; but when I enter "cd /msrv" followed by "cd Share05" in the terminal, I get the "bash: cd: /msrv/Share05: No such file or directory" message after the second command.
View 9 Replies
View Related
Jan 4, 2010
presently my laptop requires a password when the screensaver has been activated(equivalent to the lock screen function). However, when I move the mouse to activate the password prompt, the screensaver freezes (all movement stops) and the password prompt is not visible. It's definitely there - if I type my password, then it brings me back to my desktop. However, if I mistype the password, or accidentally hit the mouse button so that somewhere other than the invisible password field is brought to focus, then entering the password becomes impossible, and I have to do a hard restart (ugh). I'm running an HP Pavilion dv5 laptop, with Ubuntu 9.10.
View 1 Replies
View Related
Jul 12, 2010
A while ago, I removed the Ubuntu One entry from my Startup Applications because it was annoying having to activate the keyring every time I booted up/logged on. Now, I am prompted for a password once I start Firefox (mind that it's only the first time I run Firefox after boot/login). I'm assuming it's Ubuntu One because of the sequence of events, but feel free to correct me if you think otherwise. How can I stop this?
Running standard Ubuntu 10.04.
View 2 Replies
View Related
Oct 15, 2010
I have set up my account twice in Evolution mail. Both times when I activate, no prompt for password comes up, as a result, no connection to my gmail. Supposed to prompt the first time, right?
View 2 Replies
View Related
Oct 27, 2010
i need to knw is the a way to configure the ubuntu desktop to prompt for a password when relogin after the screen is locked?
it asks for a username and password a at the login prompt if i relogin after logging out out but when i lock the scree by pressing ctrl +alt + l and try to relogin it will not ask for a password , it just let me log in automatically to the pc , i think this is a security issue cos anyone else can login to my pc without prowiding credentials
View 2 Replies
View Related
May 14, 2010
delay the retry response from SSH (for, say, 10, 20 or 30 seconds) when a bad password is tried by a whacker? I mean, when I'm getting hit by 10 or more break-in attempts, is there some way to make SSH delay the next try from the site that's trying?I seem to remember something about this but haven't been able to find it and, so far, reading the SSH documentation hasn't been
I have DenyHosts running (that puts entries in /etc/hosts.deny after a few tries to break in) and I completely block China, Korea and a few others that are a constant annoyance with IPTABLES but I do get hit pretty much every day and would like to discourage the bastards as much as possible (the hits are a second or so apart which tells me they're automated and I figure delaying the response will discourage 'em).For example, here's the overnight entries from /var/log/messages (the "refused connect" are from /etc/hosts.deny entries generated by DenyHosts):
Code:
May 13 03:49:50 fubar sshd[30255]: refused connect from 200.49.226.12 (200.49.226.12)
May 13 03:51:27 fubar sshd[30256]: refused connect from 200.49.226.12 (200.49.226.12)
[code]....
View 12 Replies
View Related
Mar 21, 2010
I have a command line that mounts the disk of my mobile
Code:
It works, but there is a problem with it. Every folder and file has root:root ownership, so I am unable to change anything. Even when I change permissions manually, it does not work.
Now, I want to move this to fstab but have no idea how an fstab line should look like. Obviously, I want to also have rw access to the disk.
View 7 Replies
View Related
Jun 8, 2010
I cannot mount my windows share automatically with fstab and have the files be R/W. They are only mounted as read-only.I have tried several dozen commands in the fstab file with many mount points and different users. The share is on a Windows 2000 server, but NOT a domain controller.Thing is, using the Places|Connect To Server|Windows Server menu selection, it works fine. And when I use that, the share shows up on the desktop. However, in some programs I cannot see the share in the open/close dialog boxes. I can however go to /mnt/server to see them if I mount them in fstab. The files just open as "read only" that way however.Have tried... on last line of fstab mount command.....rw option, +777 option, using IP address of server, using server name.
Same result (as fstab) if I do a manual mount command, then a mount -a. Mounts Ok, just as "Read only".
ex: sudo mount -t smbfs //192.168.1.xxx/sharename /media/server -o username=xxxxxx,password=xxxxxxxxThis has been the case with Ubuntu 8.04 until my current one, 9.10. Ubuntu (if you are listening) really needs to make this easier. It truly is basic network stuff that for some reason is rather difficult to do. Read only access is not actual network access and my other option (having to manually connect via the drop-down menu) each time I boot up is a pain.What is different about that "connect to server" option on the menu that makes it work? It'd be great if there was a check box there that said "remember this connection". Then all would work fine.
View 3 Replies
View Related