Dear Gurus,
Can the /etc/security/user file be edit manually in AIX.
I would like to change the histsize in the default. Currently is set to 0.
Please advise whether i can just edit it manually, whether it would cause any harm?
thank You Very much. (0 Replies)
Hi all,
I'm trying to edit a file using ed on an iphone. I am trying to edit a conf file and have managed to get to the directory where the default.conf file is located, however, when I type ed default.conf all i get is a number and then a blank line and a question mark which is why I am... (1 Reply)
Hi,
I need to edit a text file which is like this..
-- D3341000600 AGEC901164 XYZ SE0109 1RNVX AH 2009-01-19 2009-01-11 2009-01-21
-- D3341000600 AGEC901164 XYZ SE0109 1RNVX AH 2009-01-19 2009-01-11 2009-01-21
-- D3341006000 AGEC921472 ... (4 Replies)
I have a string that looks like this
username|field1|field2|field3
the data has a delimiter of "|"
how can i edit field1, keeping the rest of the data the same
also how can i edit field2 and 3. (3 Replies)
I want to edit my /etc/security/user, But they are so many.
For example for my user : a1,a2,a3
i want to add this text.
loginretries = 0
minalpha = 0
minlen = 0
minage = 0
For example.
a1:
admin = false
sysad:
login = false
rlogin = false
... (3 Replies)
I keep having problems when exicuting this file. It always gives me the error message "36: Syntax error: Unterminated quoted string"
If someone could help me edit this it would be much appreciated.
#!/bin/sh
#
# This will continue adding numbers
# untill the total is greater than 1,000
#... (5 Replies)
Hi,
I have text file which is genrated by some external system(not sure of what is the edirot used)
I copied to my Solaris machine and did vi
found some strange text like below in one line.
Ren\351 Erich
I wanted to find all places that contain \351, in vi I am unable search unsing... (2 Replies)
I wrote this script to create and edit a large number of websites based on a template site and a collection of text files which have the relevant strings in them delimited by colons. I run it and the shell doesn't produce any errors, but when it gets to the for loop where it actually has to edit... (2 Replies)
I am prompting a user to enter a file to open in vi and if the file exists and is a readable ordinary file, otherwise create that file. Also protect that so the user can not open in vi a binary file or a directory.
could i use the command file to find out if the file is ordinary text file... (7 Replies)
Below is a simple script to prompt for user input while suggesting an editable default value at the prompt:
shortname=user1
read -e -i $shortname -p "Please enter the username you would like to add: " input
USERNAME="${input:-$shortname}"
Please enter the username you would like to add:... (3 Replies)
Good morning all, I have a machine running IRIX and I need to edit a text file on the terminal that is literally thousands of lines. Does anyone know the most efficient way to edit portions of files like these? Obviously simply using the vi command isn't going to work since I get a too many lines... (1 Reply)
Hello all.
I need to rearrange a very long text file with the following format.
The number of lines in each block is variable, but is between 1 and 10.
Any hints what command could I use for this?
Thank you.
SAMPLE 2600
15 3453 159 3970 486 4327 760 4498
... (3 Replies)