9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Below is my script that works fine and prints the desired output:
#!/bin/ksh
echo "$1" |
while IFS= read -r dirpath
do
echo "DIRR_PATH:$dirpath"
install_dir=$install_dir" "$dirpath
done
echo "Desired Output:$install_dir"
Output:
./loopissue.sh... (10 Replies)
Discussion started by: mohtashims
10 Replies
2. Cybersecurity
Is it possible, either by software solution or configuration, to provision a single user account that has different passwords depending on what group of servers it is attempting to connect to?
We have a dev, sit, uat, and production environment. They want to be able to set passwords in dev for... (2 Replies)
Discussion started by: Blackacid
2 Replies
3. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
4. UNIX for Dummies Questions & Answers
hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies
5. SCO
I am running SCO on a Netfinity system and two crons are started on bootup, but only after the system is brought down hard. i.e. running haltsys, reboot, or by a power outage. Has anyone seen this before and know a resolution to stop it? (0 Replies)
Discussion started by: ertzman
0 Replies
6. UNIX for Dummies Questions & Answers
I understand that Unix and it's counterparts are OSs, but would it be possible to just install them to a single user account? I'm using a family computer, whose other users want nothing more complicated on the computer than Internet Explorer, but I want to install Ubuntu so I can easily host my... (6 Replies)
Discussion started by: migigicoko
6 Replies
7. AIX
Hi,
I have a query that suppose the first or last name of the user changes and we need to change its userid for aix too. Then in that case how do we handle this scenario??I guess we can't change the user id so we should re-create the new id and associate all the data of the old id. But I donno... (1 Reply)
Discussion started by: tintin@10
1 Replies
8. Shell Programming and Scripting
Hi,
Can someone let me know how I can acheive the following.
I have ~ delimited file and I need to convert into something like SQL insert statements.
SrcFile :
1~sjdsdj~asasas~
2~aaaaa~qwqwqwq~qwq
.....
I tried
AWK -F"~" '{print "INSERT INTO XX VALUES("$1 " ,\' "$2" \' , \' "$3 }'... (3 Replies)
Discussion started by: braindrain
3 Replies
9. UNIX for Dummies Questions & Answers
System = SCO UnixWare 7.1.1
Using the following command...
ap -dgv > users.ap
... I should be able to dump all 250 user profiles to the file "users.ap" and display the results for each account as it is added to the file. The problem is that I only get the following output:
UX:ap: INFO:... (0 Replies)
Discussion started by: rm -r *
0 Replies
convuser(8) System Manager's Manual convuser(8)
NAME
convuser - convert user profile information between BASE and ENHANCED formats
SYNOPSIS
/usr/tcb/bin/convuser -a [-c] [-i] [-n] [-u] [-R] [-U uid] [-M] [-T template] [-[qv]] [users]
/usr/tcb/bin/convuser -b [-T template] [-[qv]] [users]
/usr/tcb/bin/convuser -d [-n] [-M] [-[qv]] [users]
/usr/tcb/bin/convuser -H
FLAGS
-a Converts from BASE to ENHANCED authentication format. This option is incompatible with the -b and -d options. If none of -a, -b,
or -d have been supplied, then -a is implied by any of -c, -i, -n, -u, -R, or -U.
-b Converts from ENHANCED to BASE authentication format. This option is incompatible with the -a and -d options. The conversion in
this case is bring any compatible passwords from the extended profile back to the BASE profile.
-c Causes the conversion for -a to create new extended profiles only. If the -c option is given, existing extended profiles will
remain unchanged.
-d Removes any extended profiles which do not still have corresponding BASE profiles.
-i Cause the conversion for -a to invalidate the encrypted password field in the BASE profile if the change to the ENHANCED profile is
successful.
-n Cause the -a and -d conversions to include NIS passwd.byname map entries in the list of BASE profiles for consideration.
-q Cause non-error output to be suppressed.
-u Cause the -a conversion to leave the migrated passwords still usable. The default is to pre-expire them.
-v Cause more verbose reports of progress to be given.
-M Work on NIS master map files rather than the local profiles. This option works on NIS master hosts only.
-R Cause newly-created extended profiles to be written only to the /tcb/files directory tree (v4 only).
-T template
Causes the creation of new extended profiles to use user template as the template for the account default values. Causes the con-
version for -b to consider only accounts with template as the associated account template.
-U uid Causes newly-crated extended profiles with UID values less than uid to be written to the /tcb/files directory tree (v4 only).
-H Cause an extended usage message to be given and no other processing to be performed.
DESCRIPTION
The convuser utility is used to provide migration between BASE and ENHANCED security levels, as well as to provide support for the use of
existing account-creation scripts. The most common uses are to clean up dangling extended profiles (those without corresponding BASE pro-
files) after the removal of the base profiles, and to create new extended profiles to correspond to newly added base profiles.
EXAMPLES
To remove dangling profiles:
# convuser -d
# convuser -Md To finish the addition of new accounts on a system using NIS to supply the extended profile information:
# convuser -iu
# convuser -Miu To finish the addition of new accounts on a system using NIS to supply the extended profile information:
# convuser -iun
RELATED INFORMATION
Files:
prpasswd(4), authcap(4)
Security delim off
convuser(8)