Sponsored Content
Top Forums UNIX for Advanced & Expert Users NFS client-side userid mapping Post 302501129 by cjcox on Wednesday 2nd of March 2011 05:44:14 PM
Old 03-02-2011
root on the client can become whatever userid you want... so the answer is to become the desired user when accessing the NFS area (from a script, you could use su or sudo or something like that).
 

10 More Discussions You Might Find Interesting

1. SCO

nfs mapping problem

Dear all I have a SCO server with a mapping to a NFS share on a linux server. The Linux server went down and the mapping on the SCO server failed. Now when I run the df -k command on the SCO server, the NFS mapping is showing the following error: df: cannot statfs... (5 Replies)
Discussion started by: soliberus
5 Replies

2. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

3. Shell Programming and Scripting

mapping userid to an email in script

i have about 20 different users submitting a web form that executes a unix script in the background that sets EXECUTIONUSER to their unix id. i would like to use $EXECUTIONUSER to set their email address as EMAILADDR. of course their unix id does not match their email name either. for example: ... (3 Replies)
Discussion started by: crimso
3 Replies

4. UNIX for Dummies Questions & Answers

SSH using the shell on the client side -- possible?

I have identical scripts on two machines: one a laptop running Ubuntu 9.04, and the other a Windows XP desktop running Cygwin. The files I'd like to process are on the Windows machine. Running the script in Cygwin engages eight calls to an external executable and spins off who knows how many forks... (1 Reply)
Discussion started by: SilversleevesX
1 Replies

5. AIX

sftp : have to specify subsystem from client side

I have several ssh servers *running aix 5.3 and they respond to sftp requests just fine, but I have one that requires clients to specify the path to the sftp server using the -s flag which is*/usr/sbin/sftp-server I check the sshd_config across all servers and they are the same. *The other... (1 Reply)
Discussion started by: massdesign
1 Replies

6. Red Hat

Not able to mount NFS share on client side

When i tried to mount the nfs i see this error message mount -t nfs 192.168.20.194:/remote/proj1 /nfsmount mount: 192.168.20.194:/remote/proj1 failed, reason given by server: Permission denied and the /etc/exports file in the host side looks like this /remote/proj1 ... (12 Replies)
Discussion started by: srinathk
12 Replies

7. Programming

acknowledgement in client side with JMS and AMQP

Hi guys, I have two questions about acknowledgement in client side with JMS and AMQP: 1. what happens if we set CLIENT_ACKNOWLEDGE in producer side in JMS? 2. if basic.publish finishes executing and there is no exception thrown, this means message has been received in message server? or we... (0 Replies)
Discussion started by: majid.merkava
0 Replies

8. AIX

Kdb - vscsi disk mapping from AIX 5.3 CLIENT side

If you're familiar with vscsi mappings thru a VIO Server, you are probably aware, on an AIX 6.1 Client LPAR, that: print cvai | kdbcan provide useful information to you.... like VIO Server name & vhost #. But, "cvai" does not appear to be part of the Kernel Debugger in AIX 5.3. My question is... (3 Replies)
Discussion started by: The Doctor
3 Replies

9. AIX

AIX NFS Server and NFS Client

Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies

10. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
info(4) 						     Kernel Interfaces Manual							   info(4)

NAME
info - diskless client configuration information file DESCRIPTION
The file is a POSIX shell sourceable file which contains parameter definitions used at boot time. Typically, it will be an empty file and default values will be used for all parameters. Following is the list of parameters which can be defined in the file: Specifies the IP address of the client's private root server. If this is not specified, the client's private root server defaults to the boot server. Specifies the pathname to the client's private root on the private root server. If this is not specified, the client's private root path defaults to Specifies the NFS mount options to mount the client's private root from the private root server. If this is not specified, the mount options default to Specifies the NFS mount options to mount the client's directory from the boot server. If this is not specified, the mount options default to Specifies whether NFS should be configured as primary swap. (NOTE: In order to swap to NFS, a diskless kernel must be configured with tunable parameter set to 1.) If a diskless machine has a local swap disk and swap to NFS is not desired, the parameter should be set to the value of 1 and the diskless kernel should be configured without setting to 1. If this parameter is not specified in the file and the kernel tunable parameter is set to 1, then NFS will be configured as primary swap. If not set, this parameter defaults to a value of 1, and results in the removal of all swapfiles above the configured swap minimum (swap is specified in the client's when a disk- less client boots. This ensures that extraneous swapfiles at boot time are removed, thus freeing disk space. If is set to 0 in the file, removal of extra swapfiles is disabled. This may result in faster boot times due to the time savings in creating additional swap files. The file resides in the same directory as the client's kernel () on the boot server and is retrieved at boot time using command. By default, when a diskless client is created, an empty file is placed in the client's kernel directory. This ensures that all parameters revert to their default values (see above). If the file is not present, this is an error. EXAMPLES
An example file is shown below: FILES
info(4)
All times are GMT -4. The time now is 10:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy