07-21-2008
More info regarding SAM
Hi, can u guys plz provide some more Info regarding SAM... I am new to UNIX
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello, I need to figure out how to create a shell
script that iterates 9000 times to create users.
so far i have this:
#!/bin/sh
#Script adds multiple users into the Service manager
i=0
for i in 1 * 9000
do
./insuser /WideSpan/config/vipclient.conf $i $i password 0 Org1 UserGroup1... (2 Replies)
Discussion started by: xeniya
2 Replies
2. Shell Programming and Scripting
Create users from template file (0 Replies)
Discussion started by: rijeshpp
0 Replies
3. Solaris
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
4. Solaris
How to create users in NIS server in solaris
Thanks in Advance (6 Replies)
Discussion started by: durgaprasadr13
6 Replies
5. Shell Programming and Scripting
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
6. Shell Programming and Scripting
I wants to create 3 users and set password for the users in 400 servers. I can run this script without error. If wants to set the password in the same command it is not working. Like that i have to create 3 users
#!/usr/bin/ksh
for server in `cat /tmp/servers`
do
echo "servername =... (5 Replies)
Discussion started by: G0kulakrishnan
5 Replies
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
Hi, guys. I need help on some expect problem.
#!/usr/bin/expect
set user
set password
set newuser
spawn telnet x.x.x.x
expect login*
send “root\r”
expect Password*
send “123546\r”
send "useradd $newuser\r"
send "exit\r"
interact
I can add 1 user using expect script, but how do I... (1 Reply)
Discussion started by: alhazerd
1 Replies
10. Shell Programming and Scripting
Hello,
I have problem to write script which can collect users "username" and the time that each user has been created in our machine and store these data in file database.txt
I have searched a lot and found we can see the exact time we create user with:passwd -S username also list user will... (3 Replies)
Discussion started by: nimafire
3 Replies
LEARN ABOUT NETBSD
usermgmt.conf
USERMGMT.CONF(5) BSD File Formats Manual USERMGMT.CONF(5)
NAME
usermgmt.conf -- user management tools configuration file
SYNOPSIS
usermgmt.conf
DESCRIPTION
The usermgmt.conf file defines the default values used by the user management tools, useradd(8) and friends.
Options in this file can be set by manually editing /etc/usermgmt.conf or using the -D option to useradd(8).
base_dir sets the base directory name, in which new users' home directories are created when using the -m option to useradd(8).
class sets the default login class for new users. See login.conf(5) for more information on user login classes.
expire sets the default time at which the current password expires. This can be used to implement password aging. Both the expire and
inactive fields should be entered in the form ``month day year'', where month is the month name (the first three characters are
sufficient), day is the day of the month, and year is the year. Time in seconds since the epoch (UTC) is also valid. A value of
0 can be used to disable this feature.
group sets the default primary group for new users. If this is '=uid', then a uid and gid will be picked which are both unique and the
same, and a line will be added to /etc/group to describe the new group. It has the format:
group gid | name | =uid
homeperm sets the default permissions of the newly created home directory if -m is given to useradd(8). The permission is specified as an
octal number, with or without a leading zero.
inactive sets the default time at which new accounts expire. A value of 0 can be used to disable this feature. Also see the expire field.
password specifies an already-encrypted default password.
preserve If this value is one of 'true', 'yes', or a non-zero number, then the user login information will be preserved when removing a
user with userdel(8).
range specifies the uid boundaries for new users. If unspecified, the default is ``1000..60000''. It has the format:
range starting-uid..ending-uid
gid_range specifies the gid boundaries for new groups. If unspecified, the default is ``1000..60000''. It has the format:
gid_range starting-gid..ending-gid
shell sets the default login shell for new users.
skel_dir sets the default skeleton directory in which to find files with which to populate the new user's home directory.
FILES
/etc/usermgmt.conf
/etc/skel/*
/etc/login.conf
SEE ALSO
login.conf(5), passwd(5), user(8), useradd(8), userdel(8), usermod(8)
HISTORY
The usermgmt.conf configuration file first appeared in NetBSD 1.5.
BSD
December 31, 2009 BSD