03-01-2012
Thanks for the response.
The most important bit (that I'm having trouble with) is the one way, non-destructive, sync of usernames, numeric user ids (so that NFS mounts have no issues), passwords, and group memberships. The home directories and files are a much lesser concern.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a unix box which runs as a webserver and ftp server. I have a user account for a friend and while I trust him, I noticed that he can view directories above his own "web" folder which is his default directory.
I'm still trying to understand users/groups and privileges so bear with me if... (2 Replies)
Discussion started by: creyc
2 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
3. Shell Programming and Scripting
hi All,
cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'
Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Solaris
The system don't boot.
on the screen appears following:
press enter to maintenance (or type CTRL-D to continue)...I checked with format command.
... the slices "0-root","1-swap","2-backup" exist.
...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Discussion started by: wolfgang
16 Replies
6. Post Here to Contact Site Administrators and Moderators
Majority of the questions are pertaining file/string parsing w.r.t
sed
or
awk
It would be nice to have these two as their own sub category under shell-programming-scripting which can avoid lot of duplicate posts. (1 Reply)
Discussion started by: jville
1 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT SUSE
nfsmount.conf
NFSMOUNT.CONF(5) File Formats Manual NFSMOUNT.CONF(5)
NAME
nfsmount.conf - Configuration file for NFS mounts
SYNOPSIS
Configuration file for NFS mounts that allows options to be set globally, per server or per mount point.
DESCRIPTION
The configuration file is made up of multiple sections followed by variables associated with that section. A section is defined by a
string enclosed by [ and ] branches. Variables are assignment statements that assign values to particular variables using the = operator,
as in Proto=Tcp. Sections are broken up into three basic categories: Global options, Server options and Mount Point options.
[ NFSMount_Global_Options ] - This statically named section defines all of the global mount options that can be applied to every NFS mount.
[ Server "Server_Name" ] - This section defines all the mount options that should be used on mounts to a particular NFS server. The
"Server_Name" strings needs to be surrounded by '"' and be an exact match of the server name used in the mount command.
[ MountPoint "Mount_Point" ] - This section defines all the mount options that should be used on a particular mount point. The
"Mount_Point" string needs to be surrounded by '"' and be an exact match of the mount point used in the mount command.
EXAMPLES
These are some example lines of how sections and variables are defined in the configuration file.
[ NFSMount_Global_Options ]
Proto=Tcp
The TCP protocol will be used on every NFS mount.
[ Server "nfsserver.foo.com" ]
rsize=32k
wsize=32k
A 33k (32768 bytes) block size will be used as the read and write size on all mounts to the 'nfsserver.foo.com' server.
[ MountPoint "/export/home" ]
Background=True
All mounts to the '/export/home' export will be performed in the background (i.e. done asynchronously).
FILES
/etc/nfsmount.conf
Default NFS mount configuration file
SEE ALSO
nfs(5), mount(8),
9 Mar 2008 NFSMOUNT.CONF(5)