Sponsored Content
Full Discussion: Config file auto-updation
Top Forums Shell Programming and Scripting Config file auto-updation Post 302787313 by PikK45 on Friday 29th of March 2013 07:29:41 AM
Old 03-29-2013
@hanson: Thanks for the concern. But I was thinking to do this without a temporary file.

Space "really" matters on the server that I'm working on Smilie
 

9 More Discussions You Might Find Interesting

1. Programming

Directory updation Notification?

Hi, I'm a UNIX newbie .. so forgive me if this question sounds dumb. :) Is it possible for Unix to notify a process that a particular directory has been updated? Rather that the process constantly polling the directory ... Awaiting your replies .. Thanks, VJ (6 Replies)
Discussion started by: vjsony
6 Replies

2. Linux

gcc updation on Linux machine

Hi All, I already have gcc complier installed in my machine. Its version is : gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) I am not sure whethere it's is latest gcc version available. I want to update my gcc version. Can anyone please suggest me what is the latest and stable gcc... (1 Reply)
Discussion started by: bisla.yogender
1 Replies

3. Shell Programming and Scripting

parsing config file to create new config files

Hi, I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below. I will be using the config file as mentioned below: (config.txt) country:a,b city:1,2 type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies

4. AIX

Problem with updation of 'quota'

Hi, We have recently implemented 'quota' concept for the unix users. softlimit - 230MB hardlimit - 250MB We have applied the quota when few of users are more than the hardlimit,issue is that even though the users cleared the space, still its 'quota' was not updating properly. For some... (0 Replies)
Discussion started by: girish_satyam
0 Replies

5. Shell Programming and Scripting

to check files updation in sys time

Dear All, Pls help me on this issue. i want to write a script to check whether files updation happening in cuttent time or not. i have set of files in directory which wil update in time basis.. Requirement: If the files are updating in system time i just want to print "files are... (6 Replies)
Discussion started by: steve2216
6 Replies

6. Shell Programming and Scripting

check files updation

Hi All, Can anyone help to write the script to check files updation? i have files as mentioned below. which will be updated some time. i just want to check the last file is updating the data for last 15 mins or not. if its not updating i want to print NOT OK. if its updating data i want... (1 Reply)
Discussion started by: steve2216
1 Replies

7. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated. script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made. OS :Susi linux ver 10.3. ... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

8. UNIX for Dummies Questions & Answers

Check for updation/error/stuck of logs

Hi All, I'm a newbie in Linux Programming.:) Got some 500 processes running and I have around 20-30 logs updating for every 2mins on a server. The logs which i'm referring usually contains book name,run ids(not PID's),process name etc etc. I'm interested in finding out whether some particular... (1 Reply)
Discussion started by: Nand Kishor
1 Replies

9. UNIX for Dummies Questions & Answers

File updation on matching key

I have input file like Input.dat with below content RRD 0Z91YUn000000Lk 9000100001 103020151117 STMT151117155527001 0000 2 000000 000004 RRD 0Z91YUn00000ysj 9000100001 103020151117 STMT151117155527001 0000 3 000000 000003 RRD 0Z91YUn00001vGh 9000100002... (12 Replies)
Discussion started by: PRAMOD 96
12 Replies
rexd(1M)																  rexd(1M)

NAME
rexd - RPC-based remote execution server SYNOPSIS
log_file] mountdir] DESCRIPTION
is the RPC server for remote command execution. A is started by when a remote execution request is received (see inetd(1M)). exits when command execution has completed. If the user ID (uid) in the remote execution request is assigned to a user on the server, executes the command as that user. If no user on the server is assigned to the uid, does not execute the command. The option and security file allow for better access control (see inetd.sec(4)). For noninteractive commands, standard output and error file descriptors are connected to sockets. Interactive commands use pseudo termi- nals for standard input, output, and error (see pty(7)). If the file system specified in the remote execution request is not already mounted on the server, uses NFS to mount the file system for the duration of the command execution (see nfs(7)). mounts file systems with the and options. For more details on mount options see mount(1M). If the server cannot mount the file system, an error message is returned to the client. By default, any mount points required by are created below To change the default location, use the option. Options recognizes the following options and command-line arguments: Log any diagnostic, warning, and error messages to log_file. If log_file exists, appends messages to the file. If log_file does not exist, creates it. Messages are not logged if the option is not specified. Information logged to the file includes date and time of the error, host name, process ID and name of the function generating the error, and the error message. Note that different RPC services can share a single log file because enough information is included to uniquely identify each error. Create temporary mount points below directory mountdir. By default, creates temporary mount points below The directory mountdir should have read and execute per- mission for all users (mode 555). Otherwise, denies execution for users that do not have read and execute permis- sion. Use increased security checking. When started with the option, denies execution access to a client unless one of the following conditions is met: o The name of the client host is in file on the server. o The user on the server that is associated with the uid sent by the client has an entry in specifying the client name on a line or the client name followed by at least one blank and the user's name. For example, assume a user whose login name is is assigned to uid 7 on and executes the following command: User on must have one of the following entries in DIAGNOSTICS
The following is a subset of the messages that could appear in the log file if the option is used. Some of these messages are also returned to the client. was unable to the user's current working file system. See for more details. The path name mountdir, under which temporary mount points are created, is not a directory or does not exist. could not find command. was denied permission to execute command. The executable file is currently open for writing. was unable to execute command. does not allow execution as user The uid uid is not assigned to a user on the server. was started with the option and the remote execution request did not meet either of the conditions required by the option. The host host on which the user's current working directory is located is not running Therefore, is unable to mount the required file system (see mountd(1M)). The host on which the client's current working directory is located does not have the server on the export list for file system file_system containing the client's current working direc- tory. Therefore, is unable to mount the required file system. WARNINGS
The client's environment is simulated by but not completely recreated. The simulation of the client's environment consists of mounting the file system containing the client's current working directory (if it is not already mounted) and setting the user's environment variables on the server to be the same as the user's environment variables on the client. Therefore a command run by does not always have the same effect as a command run locally on the client. The protocol only identifies the client user by sending the uid of the client process and the host name of the client. Therefore, it is very difficult for to perform user authentication. If a user on the server is assigned to the uid sent by the client, executes the requested command as that user. If no user on the client is assigned to the uid sent by the client, returns an error. The option has been added to provide increased user authentication. However, the authentication provided is not foolproof, and is limited by the information passed by the protocol. In order to simulate the client's environment, mounts the file system containing the client's current working directory (if it is not already mounted). This mount is intended to be temporary for the duration of the command. If mounts a file system, it attempts to the file system after the command has completed executing. However, if receives a signal (see sig- nal(2)), the file system is not unmounted. The file system remains mounted until the superuser executes the appropriate command or the server is rebooted. attempt to umount the file system can also fail if the file system is busy. The file system is busy if it contains an open file or a user's current working directory. The file system remains mounted until the superuser executes the appropriate command or the server is rebooted. For more information on security issues, see Security issues and their consequences should be considered before configuring to run on a system. FILES
master pseudo terminals slave pseudo terminals master pseudo terminals slave pseudo terminals configuration file for inetd(1M) list of equivalent hosts user's private equivalence list temporary mount points for remote file systems where xxxxx is a string of alpha numeric characters. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
on(1), inetd(1M), mount(1M), dfstab(4), inetd.conf(4), inetd.sec(4). Using and Administering NFS Services rexd(1M)
All times are GMT -4. The time now is 06:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy