create users from template


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting create users from template
# 1  
Old 10-31-2007
create users from template

Create users from template file

Last edited by rijeshpp; 11-02-2007 at 10:43 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash/awk and for loop to create a template

Source File: google.cz http://czechrepublic.google.com/ http://czechrepublic.google.cz http://czechrepublic.google.com/ http://brno.google.cz http://brno.google.com/ Fail Code root@arisvm ~/g] $ cat trya rm -f ss for i in a.txt do #b=`cat $i|awk '{print $1}'` #c=`cat $i|awk '{print... (4 Replies)
Discussion started by: invinzin21
4 Replies

2. Red Hat

Create an unconfigured VMware host from a template that is set to do firstboot --reconfig

I have an Oracle Linux 7.1 vsphere host built. It's be preconfigured with our security configurations. What I would like to do is unconfigure this host. Then set the host to do firstboot --reconfigure. how do I do that using /etc/sysconfig/firstboot? I've tried setting ... (10 Replies)
Discussion started by: os2mac
10 Replies

3. Shell Programming and Scripting

Create multiple users with individual passwords to users

hi, i am new to shell scripts i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies

4. Shell Programming and Scripting

Create users remotely

Hello Forum, I just wrote a bash script to create users remotely from a file. When I run the script localy, it work nice. But when I run it using rsh it stops. My script is: #!/bin/bash 1|cat /root/usuarios.txt | while read line; do 2| /usr/sbin/adduser $line 3| echo... (4 Replies)
Discussion started by: cachorroyayo
4 Replies

5. Shell Programming and Scripting

Script to create EVIM template with SAS extension

I write lots of SAS programs and would like to create a script that allows me to have a template each time I create a new program file. Specs: I use EVIM for my editor. I run SAS in batch mode. We use RedHat 6. I don't use c shell. I want a script that will do the following: >... (3 Replies)
Discussion started by: starbecks
3 Replies

6. Programming

Perl script to create latex template.

Hi, I have XML file and I extracted some tags and stored in hash, my data as look like this $var1={ 'stud.xml'={ '24'=>'<address> <streetname="xxxx"/> <housenum="138"/"> ... (9 Replies)
Discussion started by: veerubiji
9 Replies

7. Shell Programming and Scripting

Create new users

Hi , i would like to create a new user over unix ,which are these commands to used and which are the directories to handler? Thank you (3 Replies)
Discussion started by: dimitris
3 Replies

8. Solaris

How to create users in NIS

How to create users in NIS server in solaris Thanks in Advance (6 Replies)
Discussion started by: durgaprasadr13
6 Replies

9. Solaris

Can't create users in /home

Hi Friends,, I installed solaris 10 in vmware just now.I got a simple problem while i want to create users in /home directory.It is saying "cannot create ".So i checked the permission and then i find that the perm to user(root) is r-x.So i tried to change it to rwx using chmod but again i got a... (4 Replies)
Discussion started by: sdspawankumar
4 Replies

10. UNIX Desktop Questions & Answers

How to create users on HP UX????

I new to unix and I'm using a HP UX and I'm logging in as user: root. I wish to create new users by using the 'useradd' command. When I keyed in' useradd -u 101 -g group john', the reply was 'Group group specified with -g does not exist'. I've read the man page on useradd and I still don't... (8 Replies)
Discussion started by: mascotlee
8 Replies
Login or Register to Ask a Question
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)