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
vxusertemplate(1M)														vxusertemplate(1M)

NAME
vxusertemplate - create and administer user templates SYNOPSIS
vxusertemplate -d file [-f] create [template [template ...]] vxusertemplate [-f] create template_name [description=description] [rules=rules] [capability=capability(var=value,...)[,capability...]] vxusertemplate delete template vxusertemplate help [keywords | options | attributes] vxusertemplate list vxusertemplate print template [template ... ] DESCRIPTION
The vxusertemplate utility provides a command line interface for the creation and administration of user-defined or user templates that may be used with the Veritas Intelligent Storage Provisioning (ISP) feature of Veritas Volume Manager (VxVM). The operations that can be performed by vxusertemplate are selected by specifying the appropriate keyword on the command line. See the KEY- WORDS section for a description of the available operations. KEYWORDS
create Creates one or more user templates, whose definitions can be read from a definitions file or entered on the command line. delete Deletes a user template. help Displays information on usage, keywords, options and attributes. list Lists all user templates. print Prints detailed information about one or more user templates. OPTIONS
-d file Specifies a file that contains user template definitions -f Forces an operation that is not usually allowed by vxusertemplate. This option must be specified if the user template definition differs from the existing definition in the configuration database. EXAMPLES
Create the user templates ut1, ut2 and ut3 from the definitions in the file ut1.txt: vxusertemplate -d ut1.txt create ut1,ut2,ut3 Delete the user template myreliabletemplate: vxusertemplate delete myreliabletemplate List all user templates: vxusertemplate list Print details of the user template mytemplate: vxusertemplate print mytemplate EXIT STATUS
The vxusertemplate utility exits with a non-zero status if the attempted operation fails. A non-zero exit code is not a complete indicator of the problems encountered, but rather denotes the first condition that prevented further execution of the utility. SEE ALSO
vxtemplate(1M), vxvoladm(1M) Veritas Storage Foundation Intelligent Storage Provisioning Administrator's Guide VxVM 5.0.31.1 24 Mar 2008 vxusertemplate(1M)