Sponsored Content
Top Forums UNIX for Advanced & Expert Users "sudo su -" showing lot of information on OpenLDAP Post 303030926 by Neo on Tuesday 19th of February 2019 09:30:26 AM
Old 02-19-2019
Please provide full system details.

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

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

2. UNIX for Dummies Questions & Answers

Unable to use the Sudo command. "0509-130 Symbol resolution failed for sudo because:"

Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks! When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error: exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Discussion started by: Chloe123
1 Replies

3. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

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

4. Solaris

missing "nisdomainobject.schema" openldap on solaris 10

Hello I am setting the following openladp on solaris 10 (amd64 8/11), i have Berkeley DB installed (db-4.4.20.tar.gz) and openldap (2.4.26). All is going quite well however i don't have "nisdomainobject.schema" for solaris, i know you could download this at one point. Does anyone have a copy... (0 Replies)
Discussion started by: Carlt23
0 Replies

5. Linux

Showing "permission denied" when trying to login in - Montavista Linux

Hello friends, I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other login, I am having only problem with root and some other user login. I am using an telnet... (2 Replies)
Discussion started by: sanoop
2 Replies

6. UNIX for Advanced & Expert Users

Showing "permission denied" when trying to login in - Montavista Linux

Hello friends, I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other login, I am having only problem with root and some other user login. I am using an telnet... (7 Replies)
Discussion started by: sanoop
7 Replies

7. Shell Programming and Scripting

Expect: spawn id exp5 not open while executing "expect "$" { send "sudo su -\r" }"

Hi All, i am trying to ssh to a remote machine and execute certain command to remote machine through script. i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as expect: spawn id exp5 not open while executing "expect "$" {... (3 Replies)
Discussion started by: Siddharth shivh
3 Replies

8. Shell Programming and Scripting

Explaining behaviour of sudo bash "$0" "$@";

I've found this script part on the stackoverflow: if ; then sudo bash "$0" "$@"; exit "$?"; fi I realized that sudo bash "$0" "$@"; is the only needed for me. But the strange thing happens when I move this line outside the IF statement: sudo bash "$0" "$@"; stops the... (9 Replies)
Discussion started by: boqsc
9 Replies

9. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

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

10. Solaris

Ipadm showing "/?" in ADDROBJ on S11 local zone

Hi! I have a Solaris 11 local zone, everything is running fine, BUT, when I issue an "ipadm show-addr" from inside the local zone I get the following: root@xxxxxxx:/var/opt# ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/? inherited ok 127.0.0.1/8... (2 Replies)
Discussion started by: rtmg
2 Replies
catopen(3C)															       catopen(3C)

NAME
catopen(), catclose() - open and close a message catalog for reading SYNOPSIS
DESCRIPTION
The function opens a message catalog and returns a catalog descriptor. The specifies the name of the message catalog being opened. A con- taining a slash specifies a path name for the message catalog. Otherwise, the environment variable is used (see environ(5)). If specifies more than one path, returns the catalog descriptor for the first path on which it is able to successfully open the specified message cata- log. If does not exist in the environment, or if a message catalog cannot be opened for any path, uses a system-wide default path. The default is affected by if the value of is If the value of is zero, the default is affected by the environment variable See environ(5) for details. If is invoked from or programs with owner root, the environment variable is not directly used to locate message catalogs. Instead, the paths which are available both in the configuration file and environment variable are considered to locate message catalogs. See nlspath(4) for details. Example: If the environment variable is set to: and the configuration file has an entry: only path is considered for locating catalog files. This feature is provided only for backward compatibility for those or root programs which are depending on the environment variable. All new or root programs should not depend on the environment variable and should only use absolute path names. A message catalog descriptor remains valid in a process until the process closes it or until a successful call to one of the functions. A change in the setting of the category may invalidate existing open catalogs. A file descriptor is used to implement the message catalog descriptor and the close-on-exec flag is set for the message catalog descriptor (see fcntl(2)). If is zero, the environment variable is used to locate the catalog. If is the category is used to locate the message catalog only if a successful call to has been made prior to the call to The result of setting to any other value is undefined. The function closes the message catalog a message catalog descriptor returned from an earlier successful call to RETURN VALUE
Upon success, returns a message catalog descriptor. Otherwise, returns a value of (nl_catd)-1 and sets to indicate the error. Upon success, returns zero. Otherwise, returns -1 and sets to indicate the error. ERRORS
fails without opening a message catalog and sets for the last path attempted under any of the following conditions: A component of the path prefix denies search permission, or read permission is denied for the named file. The maximum number of file descriptors allowed are currently open. The length of the specified path name exceeds bytes, or the length of a component of the path name exceeds bytes while is in effect. The system file table is full. The named catalog does not exist or the path is null. A component of the path prefix is not a directory. can be used to provide default messages when called following a failed (see catgets(3C)). returns its parameter if it is passed an invalid catalog descriptor. fails if the following is true: is not a valid open message catalog descriptor. WARNINGS
When using does not provide a default value for AUTHOR
and were developed by HP. FILES
Include file containing native language types. Message catalog default path for core HP-UX products only. SEE ALSO
fcntl(2), catgets(3C), setlocale(3C), nlspath(4), environ(5), thread_safety(5). STANDARDS CONFORMANCE
catopen(3C)
All times are GMT -4. The time now is 09:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy