9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Help,
I have been encountering a strange problem.
When I run a shell script, I do expect the output number of lines to be 12000 and it runs fine on one my linux w/s.But it just terminate at line 2704 on another linux machine.
I have put 'nedit text.file' at the last part of the script,... (5 Replies)
Discussion started by: Indra2011
5 Replies
2. HP-UX
I am new for HPUX OS and want to pursue my career in HPUX Administration.
I could not able to get following information from HP.com site, that why I need an assistance to know that - can I install HPUX 11i V3 OS on old HP B2000 & B1000 workstations (these workstation are 4 to 5 year old) or not,... (5 Replies)
Discussion started by: girish.batra
5 Replies
3. UNIX for Advanced & Expert Users
Hi,
I would like to change the color of the nedit editor for perl scripts.
I tried to find the .nedit file in my $HOME directory but didn't find it.
Can anyone tell where can I find the .nedit file or where can I modify the
color for perl scripts in the nedit editor ?
Thanks in... (2 Replies)
Discussion started by: Alalush
2 Replies
4. HP-UX
As per the man page, pstat_getdisk() call returns the number of instances, which could be 0 upon successful completion, otherwise a value of -1 is returned.
Please have a look at this sample program ->
#include <stdio.h>
#include <sys/pstat.h>
int main()
{
int j = 0, ret;
struct... (2 Replies)
Discussion started by: sandiworld
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I'm real novice as far as unix goes, I've been asked to help out and install HP UX on a HP RP3440 server. I have been given the CDs and a procedure. I've also been told that the CDs with the s/w is a bit old and will need to be updated. Once I have installed it, how can I verify what I need... (1 Reply)
Discussion started by: navaid
1 Replies
6. UNIX for Advanced & Expert Users
Is this a bug in ksh on HPUX 11i or is read impromperly documented?
INPUT
Thu Jan 18 09:14:52 PST : CIFS: Virus Detected - File ONTAP_ADMIN$\vol\vol0\DDD\Ventana\Strattoni\Race Stuff\Rumor.exe in share DDD accessed by client CLIENT (111.11.11.111) running as user USER is infected. The filer... (3 Replies)
Discussion started by: Jackaroe
3 Replies
7. HP-UX
how i can enable backspace or charector deletion in hpux11i shell prompt. (12 Replies)
Discussion started by: jestinabel
12 Replies
8. UNIX for Dummies Questions & Answers
I have only slight difference between remarks (gray) and code (black)
using c and c++ how cani change remark to other color ?
The option preferences/language mode/c++ doesn't help (0 Replies)
Discussion started by: eynkesef
0 Replies
9. UNIX for Dummies Questions & Answers
Hello,
My System Admin. just switched me from KSH to BASH and something happened to my "nedit" utility!
Does anyone know how to reactivate nedit by anychance?
Thanks very much!
BobK (2 Replies)
Discussion started by: bobk544
2 Replies
VIPW(8) BSD System Manager's Manual VIPW(8)
NAME
vipw -- edit the password file
SYNOPSIS
vipw [-d directory]
DESCRIPTION
The vipw utility edits the password file after setting the appropriate locks, and does any necessary processing after the password file is
unlocked. If the password file is already locked for editing by another user, vipw will ask you to try again later. The default editor for
vipw is vi(1).
When run without options, vipw will work with the password files in /etc. The -d option may be used to specify an alternative directory to
work with.
The vipw utility performs a number of consistency checks on the password entries, and will not allow a password file with a ``mangled'' entry
to be installed. If vipw rejects the new password file, the user is prompted to re-enter the edit session.
Once the information has been verified, vipw uses pwd_mkdb(8) to update the user database. This is run in the background, and, at very large
sites could take several minutes. Until this update is completed, the password file is unavailable for other updates and the new information
is not available to programs.
ENVIRONMENT
If the following environment variable exists it will be utilized by vipw:
EDITOR The editor specified by the string EDITOR will be invoked instead of the default editor vi(1). This can be used to allow a
script to non-interactively modify the password file.
PW_SCAN_BIG_IDS See pwd_mkdb(8).
SEE ALSO
chpass(1), passwd(1), passwd(5), adduser(8), pw(8), pwd_mkdb(8)
HISTORY
The vipw utility appeared in 4.0BSD.
BUGS
The mechanism for checking for password file modifications requires that the modification time of the password file changes. This means that
in a default configuration where file system timestamps are not calculated with sub-second precision, EDITOR has to run for at least one sec-
ond. Non-interactive editor scripts should invoke sleep(1) or equivalent to ensure this happens.
BSD
February 14, 2012 BSD