Sponsored Content
Full Discussion: significance of statement
Top Forums UNIX for Dummies Questions & Answers significance of statement Post 302168719 by nickcarter on Tuesday 19th of February 2008 08:28:25 AM
Old 02-19-2008
Thanks for your help

Thank you for your detailed response. I appreciate your time and it looks like I have a long ways to go before I am going to be able to write effective scripts. Would you be able to recommend textual material I could reference through this learning process ?
Thanks again
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what the significance of ~

what does this symbol ~ represent in unix for example.... If i create directories called personal and lab and lab5 and the command chmod 776~/lab5 is issued. What results would i expect to get. basically i know that chmod 776 would prevent others from executing the files in the directory but... (2 Replies)
Discussion started by: BigTool4u2
2 Replies

2. Shell Programming and Scripting

what is the significance of braces and spaces???

Hi , i have few doubts about the braces and spaces which are quite often used: for instance: when i try the belo command it will not work export variable= cat filename rather when i try the cat command without any space it works fine export variable=cat filename and... (3 Replies)
Discussion started by: ahmedwaseem2000
3 Replies

3. Shell Programming and Scripting

What is the significance of . / ?

Many scripts are executed in the following way. . /scriptname Even when the file does not have execute permission, it can be executed this way. How does this work? (6 Replies)
Discussion started by: krishmaths
6 Replies

4. Solaris

significance of library locations in solaris8...please help

this post is related to the arrangements of libraries in a solaris-8 distribution. i want to build external packages on solaris-8 i need to know why libraries are scattered in a solaris distribution among different below mentioned directories, please tell me whats the importance ?? /lib... (3 Replies)
Discussion started by: mobydick
3 Replies

5. AIX

Group significance in mkrole aix 5.3

Hello... I am getting ready to create a bunch of groups for several of our servers all of which are running Aix 5.3. We really want to keep people away from using the root login and as such the systems have been hardened using aixpert and if it is absolutely needed people must su -. There are... (1 Reply)
Discussion started by: dgaixsysadm
1 Replies

6. Shell Programming and Scripting

Significance of '{}' \;

What is the Significance of '{}' \; in UNIX? (2 Replies)
Discussion started by: Shell_Learner
2 Replies

7. Shell Programming and Scripting

Significance of forward slash(/) while specifying a directory

What is the significance of the forward slash(/) while specifying a directory? cp -av /dir/ /opt/ and cp -av /dir /opt Does effectively the same job it seems? (2 Replies)
Discussion started by: proactiveaditya
2 Replies

8. Solaris

significance of pfiles

What is the significance of pfiles? What is the use of it and how and where to use it?:wall: (2 Replies)
Discussion started by: varunksharma87
2 Replies

9. Shell Programming and Scripting

Significance of ':-' while accessing a variable

Hi I was trying to understand what ':-' means when used with variables echo ${x:-10} if Thanks (4 Replies)
Discussion started by: zulfi123786
4 Replies

10. UNIX for Dummies Questions & Answers

Significance of different shells?

I'm taking a LINUX and UNIX class and we are using bash as the shell in terminal. On my mac-book I use zsh only because my professor had a pretty cool start-up file for it. It has benefited me in becoming familiar with different shells. However, I'm having a hard time understanding the purpose... (4 Replies)
Discussion started by: syregnar86
4 Replies
setreuid(2)							System Calls Manual						       setreuid(2)

NAME
setreuid - Sets real and effective user IDs SYNOPSIS
#include <unistd.h> setreuid( uid_t ruid, uid_t euid ); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: setreuid: XPG4-UNIX Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
Specifies the new real user ID. Specifies the new effective user ID. DESCRIPTION
The setreuid() function sets the real and effective user IDs of the current process to the values specified by the ruid and euid parame- ters. If ruid or euid is -1, the corresponding effective or real user ID of the current process is not changed. Users may change the effective user ID to the real user ID; only processes with superuser privilege may make other changes. This task is normally done by the system's authentication program (for example, login), but is not done for system daemons. RETURN VALUES
Upon successful completion, a value of 0 (zero) is returned. Otherwise, a value of -1 is returned and errno is set to indicate the error. ERRORS
The setreuid() function sets errno to the specified values for the following conditions: The value of the ruid or euid parameter is invalid or out of range. The current process is not the superuser and a change other than changing the effective user ID to the real user ID was specified. RELATED INFORMATION
Functions: getuid(2), setgid(2), setregid(2), setruid(3) Standards: standards(5) delim off setreuid(2)
All times are GMT -4. The time now is 01:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy