General :: Mount NFS As Remote User?

Mar 16, 2010

I have debian as an NFS client. I would like to mount a remote NFS with a specific user permissions (to specify the remote user account)

View 2 Replies


ADVERTISEMENT

General :: Mount Remote Devices Locally?

Jan 22, 2011

I was wondering if you can 'share' devices in Linux by overlaying the devices nodes? For instance, is it possible to use SSH (FS) + bind to selectively bind devices locally?

View 1 Replies View Related

General :: Log A User In A Remote Computer Using Ssh?

Jun 9, 2010

I want to connect to a server via ssh and log in (remotely) a user in X11 (gdm).A little context: I need to install a wine application in 30 computers, but wine require X11, there is nobody loged there, so wine does not work properly. I want to remotely login in display=:0.0 a user so this user receive the window (it only start and close), there i need to ()neThere is no one logged on there. I need to start a graphical app there (wine installer) but I cannot because it needs a display with X11 (to open a wineconsole).

Resumen: Is it posible to log a user remotely on X11 My config: every computer have fedora 10 and gnome. Clarification: I do not want to do X-forwarding, I want to show the window on the remote computer, not mine. I want to log the user on the remote computer. If I go (fisicali) to the computer, the user should be logged on.

Update: I asked to gdm developers, but I had no answers... I'm starting to think there is no way. The only option I can think is to config autologin, restart gdm, and get the config normal again (all by script) But I have to read a lot for that and is not so important, I prefer to log in manualy 30 times.

View 6 Replies View Related

General :: How To Mount Remote Filesystem For / Home Directory

Oct 17, 2010

have a Debian server which I use to hold my home directory for my user account. I used to use Windows 7 and connect to my /home/username directory via Samba which worked great. I could access all of my files as if they were sitting on my local PC, but they were actually sitting on my Debian server.

Now I have decided to give Ubuntu 10.10 a try (looks promising so far!).One thing I'm not sure how to do is to mount my home directory from my server! I am able to open an sftp connection to my server, but not able to access them natively as they were /home/username on my local machine.I'm assuming I need to mount my home directory somewhere in my fstab before it starts up, but which protocol should I use? I'm used to using windows networking, but am trying to get more into linux.Should I use NFS?

View 2 Replies View Related

General :: Mount Remote Samba Share In Fstab?

Nov 19, 2009

Server: Ubuntu Server Edition 8.04
/currently firewalled to only allow client ip
Client: Ubuntu Desktop 8.04
/currently firewalled to only allow server ip

Same userid and groups set up on on both. I have taken two linux courses and can maneuver around fairly well, but am still pretty newbie at all this. We have loaded Samba on a server and created a Samba share. I AM able to access that share via Windows Vista, but have not been able to successfully mount the share on the Ubuntu desktop via the fstab file. I have tried the following ways: serverip:/path/shareddirectory /net ext3 user,sync 0 0 and the samba way..

//serverip/sharename /net smbfs username=x,password=x

After modifying fstab, I reboot. No luck since that either way.Only ONCE after modifying it samba way, I was prompted to enter credentials, but after login I was unable to view the files on the server. From this point on either way, if I run commmand 'mount -a' the response is "Special device serverip:/path/sharedirectory does not exist" Also! I am able to ping client-to-server, but not server-to-client.

View 3 Replies View Related

General :: Remote Desktop Without Disturbing Local User Or Other Remotes?

Jul 13, 2011

I would like to know how can I have remote desktop to a Linux Box without any disturbance of local user or others who logged in like me .I mean exactly like remote desktop in windows 2003 or 2008 which every users who logged in remotely has it's own desktop without any disturbance of others. and is this possible to do it from fedora to ubuntu and vice versa .

View 2 Replies View Related

OpenSUSE Network :: Root User Has Access To Remote Folders/files Of Any User?

Jan 21, 2010

Prelude: OpenSUSE 11.2 (2.6.31.8-0.1-desktop), installed Novell client 2.0 SP2 (novell-client-2.0-sp2-sle11-i586.iso).

I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or
have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.

View 3 Replies View Related

General :: How To Mount Remote Samba Share From Local Host With Multiple Groups

May 6, 2010

I am using mount.cifs to mount a remote samba share (both client and server are Ubuntu server 8.04) like this:mount.cifs //sambaserver/samba /mountpath -o credentials=/path/.credentials,uid=someuser,gid=1000.I mounted a user from local system with username and password with mount.cifs but the problem is that the user is part of multiple groups on the remote system and with mount.cifs I can only specify one gid. Is there a way to specify all the gids that the remote user has?

Mount the remote samba with multiple groups on the local system?Browse the mount from 1) with the terminal since I want to pass some files from samba as arguments to local programs.which runs through gvfs; but the newer gnome does not write to disk the ~/.gvfs anymore so I can't browse it in terminal. And the last solution would be NFS but that means that I have to synchronize the uids and gids on the local system with the ones from the server.

View 1 Replies View Related

General :: Remote Mount Of Nfs Gives Permission Denied Error - FUSE File System?

Apr 6, 2011

I have created a new file system (fuse) which works fine and is mounted in the local host. I want to be able to mount it from another host. I added it to /ect/exports: /mnt/ltfs *(rw,sync) And restarted nfs. Then from my client host I type:

mount -t nfs myHostName:/mnt/ltfs /mnt/data1

Where /mnt/ltfs is on my local host and /mnt/data1 is on the client host. Note that this is a "FUSE" file system so here is it's local "mount" output: ltfs on /mnt/ltfs type fuse (rw,nosuid,nodev,default_permissions,allow_other) Note thet this is of type "ltfs" but I am told that it should work like its a nfs. ltfs uses fuse under the covers.

View 1 Replies View Related

General :: Call Putty/plink To Start A Remote SSH Script With User Input?

Jan 18, 2010

Execute putty to start a script on a remote linux server which requires user input The remote script does a read -p "Please enter name" NAME I can use plink to execute a script over SSH, the following attempts and problems are shown below :- Note the -load ns is to load a session that doesnt exist, ie ensure no defaults are used

1) plink.exe -load ns <ip_addr> -l <user> -pw <password> <script path/name> Problem) Doesn't allow/show user input, ie its non-interactive.

2) Add -t to allocate a pty :- plink.exe -t -load nc <ip_addr> -l <user> -pw <password> <script path/name> so now the user input can be seen, but I get Ctrl+H (^H) when backspace is pressed, ok if the user doesnt make a mistake!

3) Use putty instead with a saved session putty.exe -load "SavedSession" Get a new window opened, not a biggy, but not as nice. (b) saved session cannot be easily moved. (c) Get password prompt, cannot provide password like with plink, I know I know, use keys, but this is a closed, private network, and its easier not to bother with keys!I would like the SSH to execute in-line, that is from within the batch file/command line shell I am in, not prompt for username/password, run the linux script and allow prompts and delete/backspace to work.

View 5 Replies View Related

General :: Make User In Remote LDAP Server To Be Used To Authenticate Local System?

May 13, 2010

How can I make the user in remote LDAP server to be used to authenticate Local Linux server ?

View 5 Replies View Related

General :: Can't Mount Ecryptfs As User

Dec 16, 2010

I've setup an ecryptfs folder which I can easily mount/umount as su.

Inspite of adding a `user' option in fstab I'm unable to mount the folder as normal user: mount secret

Code:
Passphrase:
Error attempting to evaluate mount options: [-22] Invalid argument
Check your system logs for details on why this happened.
Try updating your ecryptfs-utils package, and/or

[Code]....

View 2 Replies View Related

General :: CD / DVD Disk Won't Mount When I Am Only A User - Fix This?

Jul 17, 2011

I am truly sorry if this has already been answered, but I don't think the question was asked in EXACTLY THE SAME WAY, maybe?

I installed Slackware 13.37 on my Dell desktop pc (I don't think that the model information is relevant in this case...), and I was able to insert CD's and DVD's which would then be mounted AUTOMATICALLY so that I could then browse the contents etc. I can STILL do this, whether or not I am logged-in as "root" or as a "normal" user...

Now here is my problem : I JUST installed Slackware 13.37 on my Toshiba notebook (a Satellite 210, in this case) TODAY. Now, I can insert the same CD's / DVD's into the drive and have them automount as the "root" user, but when I log in as a simple user, I get errors telling me that they can NOT BE MOUNTED! The messages on quite long and complex, but I can paste an copy into a secondary post if that will help. For my part, what the error message says is a lot of gibberish!

I have examined the user information on both my desktop AND laptop computers to see if there were any major differences, and there are NONE EXCEPT FOR ONE : My "user" account on my desktop is user # 1000, while on my notebook it is 100. The DEFAULT offered in both cases was 1000 when I created the accounts, but I did not see
why the next user in the list should be over 999 higher than the last one listed, so on the notebook I did not accept the default offered, and instead choose to use # 100. Was that wrong? Why does Slackware start the first created user at such a large user number?

I did NOT do anything to allow the automount of optical disks as a user on my desktop pc (at least, not to my knowledge...) that I have not done on the notebook!

View 4 Replies View Related

General :: Call Putty / Plink To Start A Remote SSH Linux Script With User Input

Jun 27, 2011

Seemingly simple question, which yields slightly undesired results. Execute putty to start a script on a remote linux server which requires user input The remote script does a read -p "Please enter name" NAME I can use plink to execute a script over SSH, the following attempts and problems are shown below :-
Note the -load ns is to load a session that doesnt exist, ie ensure no defaults are used

1) plink.exe -load ns <ip_addr> -l <user> -pw <password> <script path/name> Problem) Doesn't allow/show user input, ie its non-interactive.

2) Add -t to allocate a pty :- plink.exe -t -load nc <ip_addr> -l <user> -pw <password> <script path/name> Problem) Ok, so now the user input can be seen, but I get Ctrl+H (^H) when backspace is pressed, ok if the user doesnt make a mistake!

3) Use putty instead with a saved session putty.exe -load "SavedSession" Problem) (a) Get a new window opened, not a biggy, but not as nice. (b) saved session cannot be easily moved. (c) Get password prompt, cannot provide password like with plink, I know I know, use keys, but this is a closed, private network, and its easier not to bother with keys!

So ideally, I would like the SSH to execute in-line, that is from within the batch file/command line shell I am in, not prompt for username/password, run the linux script and allow prompts and delete/backspace to work.

View 1 Replies View Related

General :: Mount And Umount As User Without Fstab?

Jul 19, 2011

I am writing this software that creates virtual block device nodes almost like loop does. I need to allow non-superusers to mount and umount filesystems from these devices. I don't know the names of the block device nodes beforehand so i can't use fstab entries to add "user" or "owner" flags there.

Currently i solve this by providing a small suid helper tool that verifies that this is indeed "my" block device the user is trying to mount and then just call /sbin/mount or /sbin/umount to do the job. This is definitely better than setting a suid bit for the whole program but not really perfect.

View 1 Replies View Related

General :: /bin/mount Mounts Point As A Different User ?

Dec 11, 2010

I have a directory, /root/backup, that I mount and run a bunch of rysnc scripts against to backup my box. I'm running into a very recent problem where when I run this command:

A directory that once looked like this:

Goes to this:

It changes from root to www (another user on my system) and I have no idea why.

When I look at the /mount/procs file, I see this:

So it looks like the uid is correct...

I believe this is what is causing my rsync scripts to fail (they only copy over directories and not the files in those directorys and I get a lot of permissions failed errors)

All of this is run as root in cron jobs

As a note, here is a sample rsync command:

View 4 Replies View Related

General :: Creating A New User In A Mount Point Other Than /

Oct 20, 2010

In my machine, there are 2 mount points - / and /userdata. From the root user, I want to create an oracle user at the /userdata mount point, i.e the home of the oracle user should be mounted on /userdata.

View 7 Replies View Related

General :: Unable To Mount Ext Hdd As Normal User?

Nov 24, 2010

I am unable to mount my ext hdd as normal user ,i am using xfce Unable to mount "80G Volume":

Rejected send message, 1 matched rules; type="method_call", sender=":1.23" (uid=1000 pid=2776 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1908 comm="/usr/sbin/hald))

View 6 Replies View Related

General :: Auto-mount A Vfat Partition As User?

Nov 1, 2010

I have a vfat partition under RedHat RHEL5 that I currently must mount manualy after each boot. I would like it to auto-mount but I cannot find a way to do this without it becoming ro except for root. My other partitions auto-mount just fine. I have tried the vfat as a separate partition and as a VLM logical drive (as it currently is).

The fstab statement:

"/dev/VolGroup00/LogVolDos /dos vfat noauto,users 0 0"

allows me to mount it as a user. The statement:

"/dev/VolGroup00/LogVolDos /dos vfat defaults 1 2"

is what I use for other VLM partitions, but for the vfat it seems to only allow root access. Manually mount this partition is OK, it's just that I have sometimes forgotten and then it is not included in backups. What do I need to do to make the vfat auto-mount as accessible for a user?

View 4 Replies View Related

Networking :: Unable To NFS Mount .ERROR - Mount: RPC - Remote System Error - Connection Timed

May 6, 2010

Unable to mount NFS server on the client.

Getting the following error.

mount: RPC: Remote system error - Connection timed out

View 3 Replies View Related

General :: Permissions - Mount Device With Specific User Rights?

Aug 8, 2011

How can I mount a device with specific user rights on start up? I still have some problems figuring it out. I would like to mount the divide with uid=1000 and gid=1000. My current entry to the /etc/fstab/ file looks like this:

dev /var/www vboxsf rw, suid, dev, exec, auto, nouser, async, uid=1000

View 1 Replies View Related

General :: Script To Alert About Mount Point Space Via Sendmail To User?

Mar 19, 2010

i'm in search of Script that sends a mail to the user if the mount point goes beyond 80% of its full space.
send mail is configured in the system so that it can communicate with mail server.

View 1 Replies View Related

General :: Permissions - Manually Mount A File System Read/write As A Normal User?

Oct 6, 2010

I want to simply mount an ext4 file-system onto a normal mount point in Ubuntu (/media/whereever), as read-writable for the current logged-in user, i.e. me.

I don't want to add anything into /etc/fstab, I just want to do it now, manually. I need super-user privileges to mount a device, but then only root can read-write that mount. I've tried various of the mount options, added it into fstab, but with no luck.

View 3 Replies View Related

General :: Grant Regular User To Locally Mount Partitions And Shutdown The Machine Without A Password?

May 28, 2011

What I'm trying to do is to grant my regular user to locally mount partitions and shutdown the machine without a password. Here is what I've done to /etc/sudoers:

Code:

Host_Alias LOCAL = localhost
Cmnd_Alias SHUTDOWN = /sbin/shutdown
Cmnd_Alias MOUNT = /bin/mount, /bin/umount
<my_username> LOCAL=(root) NOPASSWD: SHUTDOWN, MOUNT
%wheel ALL=(ALL) ALL

My user is a member of wheel group and I want to type the password for each sudo command except for shutdown and mount. However I am asked for a password whenever I execute "sudo mount [...]" or "sudo shutdown [...]".

View 4 Replies View Related

Red Hat / Fedora :: Trying To Mount Remote Dir - Getting Error

Sep 2, 2010

I am still a linux novice of sorts, trying to get a remote directory mounted on a CentOS 5 (essentially Red Hat) server here from another CentOS 5 server.

# mount 192.168.0.112:/mnt/tmp /tmp/tim
mount: wrong fs type, bad option, bad superblock on 192.168.0.112:/mnt/tmp,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

And when I do dmesg | tail on this machine:
# dmesg | tail
device eth1 entered promiscuous mode
device eth1 left promiscuous mode
device eth1 entered promiscuous mode
device eth1 left promiscuous mode
device eth1 entered promiscuous mode
device eth1 left promiscuous mode
device eth1 entered promiscuous mode
device eth1 left promiscuous mode
FS-Cache: Loaded
FS-Cache: netfs 'nfs' registered for caching

From the 192.168.0.112 remote server:
# cat /etc/exports
/mnt/tmp 192.168.*.*

I had just edited the /etc/exports file on the remote location earlier today, I assume I don't need to restart NFS or anything like that do I? Is it something obvious like you can't mount a remote /mnt directory?

View 1 Replies View Related

Ubuntu :: Where Does Nautilus Mount Its Remote Connections

Jul 20, 2010

Meaning: When I use the Connect to Server feature with SSH or FTP, is there a mount point for the remote location? I checked /media and /dev and didn't see anything that looked like my connection. And when I keep hitting the UP arrow in Nautilus I just end up in / on the remote location.

View 5 Replies View Related

Ubuntu :: Can't Mount Remote Shared Drive

Jul 26, 2010

I'm trying to mount an external drive that's in use on another server so I can copy it's contents to it's new home. When I try to mount it with:

[code]...

I add the |demsg | tail and I get a message saying that smbfs is depreciated use cifs, so i look up what that is and how to use it. Then I try

[code]...

View 2 Replies View Related

Security :: SSH Works But Remote Mount Fails

May 1, 2011

I've added my public key to the remote machine's authorized_keys file, and I can ssh over without password. But when I try to mount the remote share using sshfs it -always- asks for my user's password. I have set sshd_config|PasswordAuthentication no
... and when I mount the share as root it says, "read: Connection reset by peer". My mount is being done as user, so it shouldn't be a root authentication problem:
sshfs#bill@droog://media/droogfuseuser,noauto,gid=6,umask=007,cache=no,ServerAliveInterval=15,reconnect,allow_other,comment=sshfs 0 0
I can't mount as user because /dev/fuse is not suid, and I'd rather not set it such.

View 10 Replies View Related

Debian :: Remote User In Apache

May 12, 2015

I've installed Debian 6.0.7 with apache, php, mysql and phpmyadmin. We have a server with active directory and ldap where all the Windowsclients log on.

I want to view the username of the users visiting the Debianserver with $_SERVER["REMOTE_USER"] so I can give them personalized settings.

Tried installing the NTLM module from sourceforge but that didn't work, winbind also didn't work ...

View 1 Replies View Related

Debian :: Retrieve Remote User

Jun 1, 2015

I have a server using ldap. I installed Debian with an Apache webserver with PHP and MySQL support.This server will be used for intranet so I want to know what the REMOTE_USER variables is.Looking at the phpinfo does not give any reference to the REMOTE_USER. REMOTE_ADDR is no problem but does not give me the user using the computer.I've installed libapache2-authenntlm-perl with apt-get and adjusted my /etc/apache2/sites-enabled/000-default file with the following:

Code: Select all<Directory "/var/www/intranet">
    PerlAuthenHandler Apache2::AuthenNTLM
    AuthType ntlm,basic
    AuthName mycompany
    require valid-user
    PerlAddVar ntdomain "server.domain.be server"
    PerlSetVar defaultdomain server.domain.be
    PerlSetVar splitdomainprefix 1
</Directory>

where server is my servername and domain is my domainname.The problem after reloading apache2 is that I get the following message: This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.When I delete the AuthType, AuthName and require line it loads the webpage but without the REMOTE_USER variable.

It is not ment to ask for a password or username, just to get the username used to log in in the Windowsenviroment that visits the webpage on this Debian.

View 3 Replies View Related







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