09-04-2001
in a file type out all the usernames you want. one per line The password portion i am lost on. sorry.
USERLIST=/path/to/your/list
for i in `cat $USERLIST`;do
useradd ...........
done
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
ftp -n -v <<EOF
verbose
open 3.57.40.79
user infodvlp pr0gram
ascii
lcd /home/a501420038/GLA/Success_Load/
cd /ftp/SrcFiles/csg/InstruAsia/
get AU_Success_Log.txt
close
quit
EOF
Please help on this, this gives the out put "AU_Success_Log.txt?" As question mark in the last what will... (1 Reply)
Discussion started by: a501420038
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am writing somescripts to shut down some services in Korn Shell. Some of the services are under different owners. For example when I want to shutdown NXserver I need to be "root", but when I shut down the webserver I need to be under a different user.
Manual I would use "su root" and... (1 Reply)
Discussion started by: bonekrusher
1 Replies
3. OS X (Apple)
Hello everyone,
Not sure if this is the right place, but OS X isn't your standard Unix, so I figured here would be best. I am looking at creating a script that will be interactive that admins can run to create users.
Now, 10.4 uses netinfo database and netinfo manager to handle it's users. ... (3 Replies)
Discussion started by: tlarkin
3 Replies
4. Shell Programming and Scripting
hi all
how to create and remove desktop icons or icons from shell scripts? (1 Reply)
Discussion started by: kkpal
1 Replies
5. Shell Programming and Scripting
Experts,
I am newbie in shell scripting. I want to write Bash shell scripts corresponding to windows bat files. I have installed cygwin at c:\cygwin and i am trying to crate the sh file using vi editor. i am not able to understand how to use linux/unix convention for the code. following is my... (1 Reply)
Discussion started by: rajuchacha007
1 Replies
6. UNIX for Dummies Questions & Answers
I am looking to do something where if I created a file named backup,or whatever it would print a name like “backup_Apr_11_2011”. Thanks citizencro (1 Reply)
Discussion started by: citizencro
1 Replies
7. UNIX for Dummies Questions & Answers
I am trying to show the number of dead accts or false shells running and include a count at the end. Does anyone know how to go about this? Thanks - citizencro (3 Replies)
Discussion started by: citizencro
3 Replies
8. Shell Programming and Scripting
Hi friends you can solve my question about make 3 shell scripts?
Thanks for all! (1 Reply)
Discussion started by: dakota
1 Replies
9. 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
10. Shell Programming and Scripting
This is a script to filter the users out of etc/passwd and etc/group. So if you want to migrate of restore a server you can use this script from a backup to restore and make the same users on you had..
Please feedback and comments.
#!/bin/bash
prompt_list () {
# haal uit de argumenten de... (5 Replies)
Discussion started by: dannyvdberg
5 Replies
LEARN ABOUT DEBIAN
net::hotline::privatechat
Net::Hotline::PrivateChat(3pm) User Contributed Perl Documentation Net::Hotline::PrivateChat(3pm)
NAME
Net::Hotline::PrivateChat - Private chat object used internally by Net::Hotline::Client
SYNOPSIS
use Net::Hotline::PrivateChat;
$pchat = new Net::Hotline::PrivateChat;
$pchat->subject("Issue 1: Monkey beards");
$pchat->reference(0x313337);
...
DESCRIPTION
Net::Hotline::PrivateChat is a simple class for storing and retrieving private chat information, You should never have to create your own
Net::Hotline::PrivateChat objects when using Net::Hotline::Client. Getting and (to a lesser extent) setting attributes is all that should
be necessary.
CONSTRUCTION
new REF, USERLIST, SUBJECT
Creates a new Net::Hotline::PrivateChat object with the reference REF, userlist USERLIST, and subject SUBJECT, where REF is a number,
USERLIST is a reference to a hash of Net::Hotline::User objects keyed by socket number, and SUBJECT is a string. Any missing arguments
will be set to undef.
METHODS
All the Net::Hotline::PrivateChat methods are simple attribute get/set routines. If given an argument, they set an attribute. In all
cases, they return the current value of the attribute.
reference NUM
The private chat reference number.
subject TEXT
The subject of the private chat.
userlist HASHREF
The list of users in the private chat.
AUTHOR
John C. Siracusa (siracusa@mindspring.com)
COPYRIGHT
Copyright(c) 1999 by John Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
perl v5.10.1 2002-11-27 Net::Hotline::PrivateChat(3pm)