02-13-2017
Moderator's Comments:
|
|
Posting "Does not work" without explanation does not help you or anyone. If a command does not work for you, please show the exact circumstances you used it, and the exact error or malfunction you received. Do not paraphrase errors, or post the text as links, images, or attachments if you can avoid it: Paste the exact message, in code tags, like [code] text [/code] or by selecting the text and using the button.
Thank you.
The UNIX and Linux Forums
|
|
10 More Discussions You Might Find Interesting
1. AIX
I am in the process of updating ssa adapters, drives and enclosures and wanted to know if there are any caveats that anyone would like to share. The documentation is not very clear on the ordering of the updates.
Any tips would be appreciated. (1 Reply)
Discussion started by: chosie
1 Replies
2. UNIX for Dummies Questions & Answers
i know i can find doc's to upgrade on like thats not what im looking for im just here to ask how hard on 1 to 10 is it to do and how long would you say... please not im not a unix pro nor have any phython perl or c background but i do know html little php and basic qbasic and purebasic
... and is... (2 Replies)
Discussion started by: revolver
2 Replies
3. Shell Programming and Scripting
Hello,
I read and search through this wonderful forum and tried different approaches but it seems I lack some knowledge and neurones ^^
Here is what I'm trying to achieve :
file1:
test filea 3495;
test fileb 4578;
test filec 7689;
test filey 9978;
test filez 12300;
file2:
test filea... (11 Replies)
Discussion started by: mecano
11 Replies
4. AIX
Dear Gurus
i have read a lot written on this topic but i just wanna ask that the /etc/profile file is present but the .sh_profile in the users $HOME directory is not being updated, any guesses why???
Also that i need to get the information about the date, time, IP and the user name from which... (7 Replies)
Discussion started by: masquerer
7 Replies
5. UNIX for Dummies Questions & Answers
i've got a database setup that references user inputs to see if they are already inputted. What I am wanting to do is allow the user to update the database by typing
"update: name" where name is someone already in the database.
echo "Enter your name."
read NAME
location=`find . -name... (2 Replies)
Discussion started by: fufaso
2 Replies
6. Shell Programming and Scripting
Hi Guys, i currently facing a problem with a script i'm writing.
I have a text file with the following data
Windows in 21 days:John Goodman:29.90:30:19
I will like to know what method i can use so in order to edit the data in any of the field with ":" being the delimiter.
example if i... (5 Replies)
Discussion started by: Cheranime
5 Replies
7. Shell Programming and Scripting
Inside my csh script, I have the following command:
source ${HOME}/.login
When I execute my csh script, why do I get the following error message:
/cygdrive/c/WINDOWS/system32/export: Permission denied
This is what I have inside my .login
#!/bin/bash
export... (9 Replies)
Discussion started by: casau
9 Replies
8. Emergency UNIX and Linux Support
Hi,
I have script lyk:
nawk '{{print $1,$2,$3}}' ./$DirectoryName/AuditGroupTableTableData_$TimeStamp.txt | while read a b c
do
echo $a
echo $b
echo $c
ret=`sqlplus -s $db_user/$db_pwd@$db_sid $a $b $c <<EOF
SET HEADING OFF
SET SERVEROUTPUT ON
SET FEEDBACK OFF
DECLARE
CNT ... (42 Replies)
Discussion started by: rkrish
42 Replies
9. Shell Programming and Scripting
I can not seem to figure out how to update the attached match.txt column 2 using update.txt. However, only the text before the period in updat.txt appears in match.txt.
For example, in update.txt NM_001613.2 matches NM_001613 in match.txt, so is it possible to update the record in match.txt to... (8 Replies)
Discussion started by: cmccabe
8 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have a below requirement and need your help in this regard.
I have two timestamps in a file i.e.
TimeBefore=2014-07-10.18.06.55
TimeAfter_1=2014-07-09.05.45.12
TimeAfter_2=2014-07-09.05.40.12
When I first run the script file, it sets the 'TimeBefore' to todays date.
When I run... (5 Replies)
Discussion started by: vrupatel
5 Replies
LEARN ABOUT CENTOS
ipa-ldap-updater
ipa-ldap-updater(1) IPA Manual Pages ipa-ldap-updater(1)
NAME
ipa-ldap-updater - Update the IPA LDAP configuration
SYNOPSIS
ipa-ldap-updater [options] input_file(s) ipa-ldap-updater [options]
DESCRIPTION
ipa-ldap-updater is used to apply updates to the IPA LDAP server when the IPA packages are being updated. It is not intended to be executed
by end-users.
When run with no file arguments, ipa-ldap-updater will process all files with the extension .update in /usr/share/ipa/updates.
An update file describes an LDAP entry and a set of operations to be performed on that entry. It can be used to add new entries or modify
existing entries.
Blank lines and lines beginning with # are ignored.
There are 7 keywords:
* default: the starting value
* add: add a value (or values) to an attribute
* remove: remove a value (or values) from an attribute
* only: set an attribute to this
* onlyifexist: set an attribute to this only if the entry exists
* deleteentry: remove the entry
* replace: replace an existing value, format is old: new
* addifnew: add a new attribute and value only if the attribute doesn't already exist. Only works with single-value attributes.
* addifexist: add a new attribute and value only if the entry exists. This is used to update optional entries.
Values is a comma-separated field so multi-values may be added at one time. Double or single quotes may be put around individual values
that contain embedded commas.
The difference between the default and add keywords is if the DN of the entry exists then default is ignored. So for updating something
like schema, which will be under cn=schema, you must always use add (because cn=schema is guaranteed to exist). It will not re-add the same
information again and again.
It alsos provide some things that can be templated such as architecture (for plugin paths), realm and domain name.
The available template variables are:
* $REALM - the kerberos realm (EXAMPLE.COM)
* $FQDN - the fully-qualified domain name of the IPA server being updated (ipa.example.com)
* $DOMAIN - the domain name (example.com)
* $SUFFIX - the IPA LDAP suffix (dc=example,dc=com)
* $ESCAPED_SUFFIX - the ldap-escaped IPA LDAP suffix
* $LIBARCH - set to 64 on x86_64 systems to be used for plugin paths
* $TIME - an integer representation of current time
A few rules:
1. Only one rule per line
2. Each line stands alone (e.g. an only followed by an only results in the last only being used)
3. adding a value that exists is ok. The request is ignored, duplicate values are not added
4. removing a value that doesn't exist is ok. It is simply ignored.
5. If a DN doesn't exist it is created from the 'default' entry and all updates are applied
6. If a DN does exist the default values are skipped
7. Only the first rule on a line is respected
Adds and updates are applied from shortest to longest length of DN. Deletes are done from longest to shortest.
OPTIONS
-d, --debug
Enable debug logging when more verbose output is needed
-t, --test
Run through the update without changing anything. If changes are available then the command returns 2. If no updates are available
it returns 0.
-y File containing the Directory Manager password
-l, --ldapi
Connect to the LDAP server using the ldapi socket
-p, ---plugins
Execute update plugins as well as any update files. There is no way to execute only the plugins.
-u, ---upgrade
Upgrade an installed server in offline mode (implies --ldapi and --plugins)
-W, ---password
Prompt for the Directory Manager password
EXIT STATUS
0 if the command was successful
1 if an error occurred
2 if run with in test mode (-t) and updates are available
IPA
Sep 12 2008 ipa-ldap-updater(1)