|
| ||||||||||
| Tags: administrator, mount, network, network share, sharing |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Mount a network share without being administrator
I would allow a non-admin user to access a Windows network share. It must be mounted after boot because the wi-fi is not activated quickly enough. I do not want to make this user administrator, and the more I want to avoid any password in the clear. With an administrator account, I get to ride a good network share from a terminal with the command Code: sudo mount-t cifs / / 192.168.0.1/UnPartage / media / MyShare-o = MONUS user, iocharset = utf8 Code: / media / MyShare / / 192.168.0.1/UnPartage smbfs utf8, user, noauto 0 0 Code: mount-c / media / MyShare Problem 2: Nothing happens when I try from my administrator account (no message, no editing). Code: sudo mount-c / home / MONUS: MyShare |
|
#2
| ||||
| ||||
| Re: Mount a network share without being administrator
Hi Quote:
Quote:
|
|
#3
| |||
| |||
| Re: Mount a network share without being administrator
Hello 1. Firstly, when I man mount I get this: -a Mount all filesystems (of the given types) mentioned in fstab. But there is no indication on the relationship between noauto and -a. But hey, if I ask a question here, it is because the aid does not solve my problem. 2. if, with an administrator account, I mount / media / MyShare I get: error: improperly formatted UNC name. / media / frigate does not begin with \ \ or / / No ip address specified and hostname not found 3. if I'm a non-administrator account, it is as already stated: mount: only root user can do this So, this is not what I want. Any more help will be appreciated. |
|
#4
| ||||
| ||||
| Re: Mount a network share without being administrator
Hi I had not seen your property line in / etc / fstab Code: / media / MyShare / / 192.168.0.1/UnPartage smbfs utf8, user, noauto 0 0 Code: / / 192.168.0.1/UnPartage / media / MyShare smbfs utf8, user, noauto 0 0 |
|
#5
| |||
| |||
| Re: Mount a network share without being administrator
Hi I have progressed a bit. So I corrected the / etc / fstab according to your instructions But if I do that Code: mount / media / frigate Code: mount error: permission denied or not superuser and mount.cifs not installed SUID Code: sudo mount / media / MyShare Quote:
Code: sudo mount-t cifs / / 192.168.0.1/UnPartage / media / MyShare-o user = MONUS, iocharset = utf8 |
|
#6
| ||||
| ||||
| Re: Mount a network share without being administrator
Hi, I think you can try this command, Not sure but just try it and see the results Code: smbmount / / server / share / localdir-o username = user, password = pass, uid = 500, gid = 500 |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Mount a network share without being administrator" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apple mac book pro: Mount smaba share under Linux | Nammed Khuri | Portable Devices | 8 | 24-02-2011 09:23 AM |
| How to mount samba share in Linux Redhat? | Mishraji | Operating Systems | 4 | 13-11-2010 01:32 AM |
| Ubuntu failed to mount windows share | _Gentoo_Nile_ | Operating Systems | 3 | 14-08-2009 09:41 PM |
| backup SBS 2008 on remote share / network share | LAMONT D | Small Business Server | 2 | 30-05-2009 01:19 AM |
| Mount NFS-share on Windows Server 2003 x64 | jens.wannenmacher@gmail.com | Windows Server Help | 0 | 15-04-2008 03:35 PM |