Required help in useradd script
friends i need help in a script i want to creat a script that adds 50 users
but there is a problem i dont know how to assigne the passwords to the
users in the script if some body know's about this please give me usefull
information.
REGARDS.
ASIf
Use Expect. Search google for "expect unix".
Similar Messages
-
I just thought I may find someone here that could help me write a script I'm having trouble with.
I'm using a 'Personal Domain' name at MobileMe.
I have this Code listed below that requires the 'Formmail' free script
from my provider. I don't want to use 'Formmail', so how should I
right the Code below to allow users to click 'Submit' and then the
users own email program would open by default with my email
address in the 'To" box.
[color=red]<!-- THIS FORM IS MADE TO WORK WITH ALLWEBCO SERVERS --><!-- YOU MUST GO TO YOUR CONTROL PANEL TO INSTALL THE Formmail FREE SCRIPT -->
<form method="post"
action="http://your-domain.com/cgi-bin/formmail.cgi" target="_top"
style="margin: 0px;"><input name="recipient"
value="[email protected]" type="hidden"> <input name="subject"
value="WebSite Contact" type="hidden"> <input name="redirect"
value="http://your-domain.com/thanks.htm" type="hidden"><input
name="required" value="email,your_name" type="hidden"> <input
name="sort" value="yourname,phone,musicstyle,email,comments"
type="hidden">
<table border="0" cellpadding="1" cellspacing="0">
<tbody>
<tr>
<td>Name:
</td>
</tr>
<tr>
<td><input name="your_name" size="20" class="shadeform"
type="text">
</td>
</tr>
<tr>
<td>E-mail:
</td>
</tr>
<tr>
<td><input name="email" size="20" class="shadeform"
type="text">
</td>
</tr>
<tr>
<td>Comments/Questions:
</td>
</tr>
<tr>
<td><textarea name="comments" rows="5" cols="25"
class="textarea"></textarea>
</td>
</tr>
<tr>
<td>
<input value="Submit Form"
onmouseover="this.className='buttonon'"
onmouseout="this.className='button'" class="button"
style="width: 180px; margin-top: 5px;" type="submit">
</td>
</tr>
</tbody>
</table>
</form>[/color]
Message was edited by: StyleSupportGoogle doesn't care about your CNAME. It simply indexes your website.
action="http://your-domain.com/cgi-bin/formmail.cgi" target="_top"
Your website should have the formmail.cgi in the cgi-bin folder.
MobileMe does not support server side scripts. With or without a domainname.
One iWeb and one personal domain
iWeb is an application to create webpages. It's not a domain. All pages at MobileMe are covered by your Personal Domain. No matter what application you use to create webpages.
Have a look:
http://me.wyodor.net/
http://www.wyodor.net/
http://web.me.com/wyodor/
They're all the same. -
Need help in creating script for "Task Schedule" in Oracle E-Bussiness Suit
Hi,
I need some urgent help regarding the scripting of Oracle E-Business Suite application. I am new towards working on Oracle Applications. I have been using LoadRunner 11.0 and protocol oracle applications 11i for the scripting of the application. The problem is as follows:
Scenario- Schedule an incident to a resource.
1) Log in to the application.
2) Open Oracle Forms Page.
3) Enter the details of the incident number.
4) Right click on the incident number and then select “schedule” option.
5) Check / Select the resource listed in the new form.
6) Click on “schedule” Button.
7) Exit the oracle forms.
8) Logout from the application.
I have recorded the scenario but when I try to run the script, it fails after completing the 4th step from the scenario mentioned above. I have done all the required co-relations..
Another issue that I have noticed in the scipt is that it records a lot of requests to the AppsTCFServer.
When I check the Tree View of the script, I have found that there are around 25 requests to the AppsTCFServer recorded in the script. In the header of these requests a TCF Start/Session number gets generated randomly. This number stays the same in few AppsTCFServer request headers and then a new number gets generated and the cycle continues.
However LoadRunner does not generate this number by itself during replay. I cannot find this number in any previous responses.
In the last few days, I have tried my hands on Oracle Openscript tool to record the above scenario, but still I am getting the same problem, i.e instead of getting the correct response from the server for the AppsTCFServer requests, I am getting the message "X-session 7098.... not found - aborting ".
I get this message whether I use LoadRunner tool or the OpenScript tool.
Please help me solve this issue.
Thanks & Regards,
Soumya MukherjeeThis isn't much of a "code-sharing" site but a "knowledge-sharing" site. Code posted me may be from a questioner who has a problem / issue / error with his code. But we don't generally see people writing entire scripts as responses to such questions as yours. There may be other sites where you can get coding done "for free".
What you could do is to write some of the code and test it and, if and when it fails / errors, post it for members to make suggestions.
But the expectation here is for you to write your own code.
Hemant K Chitale -
Required Help and Documentations for following Scenarios. URGENT
Hi every one,
I require help and materials for following scenarios:
<b>1) RFC to IDOC
2) JDBC to RFC & IDOC
3) Mail to File
4) HTTP to RFC, JDBC & IDOC
5)WEB SERVICES to RFC & IDOC
6) IDOC to ABAP proxy
7) Java Proxy to JDBC</b>
my email id: <u>[email protected]</u>
urgent plzz help me...
Message was edited by:
satish cSatish,
I would suggest to go through sravyas weblogs where she has given all the links to all the scenarios:
/people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
/people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
Also check this weblogs which they have explained with some scenarios:
Following are the links to weblogs which will help to develop the basic scenarios.
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
/people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
/people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
/people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
/people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
/people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
/people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive Interfaces
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
/people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in XI30 using Trex Engine /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI : Configuring CCMS Monitoring for XI- Part I
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
/people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by SAP
Regards,
---Satish -
I need your help in calculation script: Using 9.3.1 version
In below script , I have to write same code for total 10 account members used in the same place A and all 10 accounts members are level 0 children of 1 parent.
A = A + B / C*D
I need to write a code where 10 Account members can be used during calculation in place of A.
Please can you help me on this query .. How to achieve this requirement ...
Regards
VishalUsing my Very Favorite Essbase Database In The Whole Wide World, aka Sample.Basic, I wrote the following nonsense code snippet:
FIX(@RELATIVE("Profit", 0), @LEVMBRS("Product", 0), @LEVMBRS("Market", 0), @LEVMBRS("Year", 0))
"Actual" = "Actual" + "Actual"->"Opening Inventory" / "Actual"->"Additions" * "Actual"->"Ending Inventory" ;
ENDFIXDon't focus on why you would never ever want to do the above with inventory, just look at the code.
The code does work.
Before:
100-10 New York Actual
Jan Sales 679
COGS 271
Margin 408
Marketing 94
Payroll 51
Misc 0
Total Expenses 145
Profit 263
Opening Inventory 2101
Additions 644
Ending Inventory 2066 After
100-10 New York Actual
Jan Sales 7419.164596
COGS 7011.164596
Margin 408
Marketing 6834.164596
Payroll 6791.164596
Misc 6740.164596
Total Expenses 20365.49379
Profit -19957.49379
Opening Inventory 2101
Additions 644
Ending Inventory 2066 I can't remember if your to be affected members are under a common parent or not. If the latter, use a UDA to go after the members.
Oh yes, this code violates one of my personal design considerations -- it modifies the source data so it can only be run once. That is really dangerous but the choice is yours.
Regards,
Cameron Lackpour -
Hi All....
Required help for one more query.
I have a table with data like this:
Cust_id Transaction_no
111 1
111 2
111 3
111 4
111 5
111 6
222 7
222 8
333 9
333 10
333 11
333 12
I wrote the following query :
select cust_id, ntile(3) over (order by cust_id) "Bucket" from trans_detls
The output is like this :
Cust_id Bucket
111 1
111 1
111 1
111 1
111 2
111 2
222 2
222 2
333 3
333 3
333 3
333 3
The problem is that I dont want the cust_id to overlap in buckets. That is one cust_id should be present in only one bucket.
Is this possible?
Thanks in advance.
AmeyaOr Something like..
SQL> select * from test;
ID NO
111 1
111 2
111 3
111 4
111 5
111 6
222 7
222 8
333 9
333 10
333 11
333 12
12 rows selected.
SQL> select id, ntile(3) over (order by rn) "Bucket"
2 from(
3 select id,row_number() over(partition by id order by no) rn
4 from test);
ID Bucket
111 1
222 1
333 1
111 1
222 2
333 2
111 2
333 2
111 3
333 3
111 3
111 3
12 rows selected. -
i Need some help in Java Script,
am using the following code :
<script type="text/javascript">
var newwindow;
function poptastic(url)
newwindow=window.open(url,'name','height=300,width=400,left=100, top=100,resizable=yes,scrollbars=yes,toolbar=yes,status=yes');
if (window.focus) {newwindow.focus()}
else {newwindow.close()}
// if (window.focus) {newwindow.focus()}
</script>
In HTML,
thWorld Environment
Day, June 5<sup>th</sup>,2005
Am using onmouseover event, so that when my mouse in on the link, popup is opened....and when my mouse is out of the link, the new window should b closed....
but according to the above code, the new window is opened but have to close it manually....
Is there any other way to close the popup when my mouse is out of the linkPrawn,
This is not really a good way to make friends. With the cross posting and the posting in a wrong forum anyway thing you have going.
Please kindly take your question to an appropriate JavaScript forum.
Have a happy day.
Cross post from http://forum.java.sun.com/thread.jspa?messageID=3797201 -
Required help on setting up blaze DS.
Hi,
Required help on setting up blaze DS.
I have Blex builder 3 and Blaze DS turnkey version.
Would any one help me in setting up the java application on Blaze DS.
Do i require to place Blaze DS and flex(client code) on same system.
As of now i have Blaze DS on my local system and Flex on one of test server.
Thanks in advance
Regards,
AnilThanks, one question, i have downloded Blaze DS turnkey version, could not srtart tomcat which is in Blaze DS.
Hence making use of tomcat installed on my local system which is works fine. In order to settup Blaze DS i copied required jar files from Blaze DS and flex configuration files(xml files) .
However Flex Builder3 is installed on one of test server, when i tried to create Flex project i could not validate Server location.
Is it required to have both Java server and flex builder on same system? -
I require help with my first website
As you can see from many of my recent posts, I am new to web development, and I have decided that I am going to need some help.
This forum has been a huge help, and I will continue using it, but the reality of the situation is that progress is slow as I am learning as I go, each junction I reach and require help with is holding up progress, which wouldn't be a problem if I had more spare time, but I simply don't.
Is anybody willing to help me? It would be paid work so I would need to discuss how this would work with rates etc... here are some details:
The domain is already setup, and you can see the first page I have been working on here: http://www.elliotnewman.com/index/test7.html
The closet website I can find for your reference is: http://www.jaspaljandu.com/home/
My site will initially not be quite as established as Jaspal's, but in essence the functionality will be similar. The things I know of that I will need help on are:
Setting up the ordering and payment process when a customer wants to order a print, including automated email notifications, and check out forms ( this may also require membership fields or maybe through paypal)
Setting up the interactive framing graphics - ref - http://www.markgray.com.au/gallery/limited-edition-prints/forgotten-island.php
Potentially helping to setup a blog
Work with me on integration - and updates (ie build the all the templates needed so updates and new images can be posted by myself easily)
Automation of the counts of the limited editions
Setting up links to Facebook, twitter, linkedin etc
Reviewing and testing any code that I create
Along with these points I will also need standby help with the code I am directly working on, so file sharing may have to be setup. It is also worth noting that I will supply all the graphics and the design elements for every page, I will also be very specific with briefs as I know exactly what I want to achieve.
If anybody is interested please send me a private message, I would need to see some examples of your experience, details on your availability and your rate - whether thats per day, per hour and a rough estimate on how long you think the work will take.
Also, if anybody knows somebody outside this forum that you think could help me then please also forward this on.
Apologies if this is not the best place to post this.
Elliot.Hi
In addition to Nancy s comments, reading the following line -
Along with these points I will also need standby help with the code I am
directly working on, so file sharing may have to be setup.
What you are basically after is a tutor, to guide you in what you are doing. In this respect it may be worth your while to read-up on designing web pages,as after a quick glance of the code, (from your previous post regarding the background image ) the main problem you are having is that you are not 'implementing' a consistent design/development procedure.
Try reading the following -
General tutorials on html, css, etc - http://www.w3schools.com/.
Design of web site, general - http://articles.sitepoint.com/article/principles-beautiful-web-design.
PZ
www.pziecina.com -
Hi, I have duplicate records and want to delete any 2nd duplicate row. Please help in DELETE script.
Select * from cmhrec
Sr_no code date charge Charge2 Code_ID
1 AAA 1-1-2014 24.0 24.0 5
1 AAA 1-1-2014 24.0 24.0 9
2 AAA 1-1-2014 23.0 23.0 4
2 AAA 1-1-2014 23.0 23.0 11
3 AAA 1-1-2014 26.0 28.0 12
3 AAA 1-1-2014 26.0 28.0 19
--Desired output after deleting any 2nd duplicate row.
Sr_no code date charge Charge2 Code_ID
1 AAA 1-1-2014 24.0 24.0 5
2 AAA 1-1-2014 23.0 23.0 4
3 AAA 1-1-2014 26.0 28.0 12Thank you
You can simply do this
DELETE t
FROM cmhrec t
WHERE EXISTS
SELECT 1
FROM cmhrec
WHERE SrNo = t.SrNo
AND Code = t.Code
AND Code_ID < t.Code_ID
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
I need help writing a script that finds the first instance of a paragraph style and then changes it
I need help writing a script that finds the first instance of a paragraph style and then changes it to another paragraph style. I don't necessarily need someone to write the whole thing, by biggest problem is figuring how to find just the first instance of the paragraph style. Any help would be greatly appreciated, thanks!
Hi,
Do you mean first instance of the paragraph style
- in a chosen story;
- on some chosen page in every text frames, looking from its top to the bottom;
- in a entire document, looking from its beginning to the end, including hidden layers, master pages, footnotes etc...?
If story...
You could set app.findTextPreferences.appliedParagraphStyle to your "Style".
Story.findText() gives an array of matches. 1st array's element is a 1st occurence.
so:
Story.findText()[0].appliedParagraphStyle = Style_1;
//==> this will change a paraStyle of 1st occurence of story to "Style_1".
If other cases...
You would need to be more accurate.
rgds -
I am trying to convert my prcess from DTS to SSIS. I am running this report out of SAP and then using Monarch to put into the correct form, then I am using the DTS to put it into the database on the SQL server. I am able to get all the other info to
move out having so much trouble here to get the plant number. The issuse is that it is on top on the page and it will change when a new plant is needed.
Thanks for any help
I need help wrting a script that will put that 7010 into a cloumn nnamed plant number.To convert from DTS packages to SSIS you can just open the DTS package in a new SSIS project (depends on target SSIS version by using SSDT or BIDS).
The rest is mechanics how the iteration with SAP is done and may be beyond the scope of this forum.
Arthur
MyBlog
Twitter -
it says GarageBand can’t be installed on “Untitled” because Mac OS X version 10.9.0 or later is required. help what is this
Welcome to Apple Support Communities
The most recent GarageBand version requires OS X Mavericks, so you can't install it until you upgrade Mac OS X.
You can download Mavericks from the Mac App Store free of charge. Make a backup of your files with Time Machine and check that your apps are compatible > http://www.roaringapps.com
After upgrading, open the Mac App Store and download GarageBand free of charge -
How do I enable file downloads without requiring helper applications?
Firefox is now requiring helper applications for "apt" downloads. I don't want that. I just want to download files and install by hand. How do I regain always having the option to simply download any file, of any type?
What is an APT file?
Are you getting the Open/Save/Cancel dialog, or the Save/Cancel dialog, or is Firefox attempting to open the file directly?
Firefox generally associates programs or plugins with content types instead of file extensions. This information may be gleaned from your operating system or from plugins. This information is stored in a file named mimeTypes.rdf and is maintained automatically, so it's risky (and might be fruitless) to edit the file by hand... -
[SOLVED] Require authentication before my script executes
OK I got a little bash script where I type in how many minutes my computer will poweroff.
Normally, it can be ran with regular user even the code contains command "poweroff" which requires root privilegies so, when times up, instead of poweroff, I get message: "poweroff: must be superuser"
Now, I want it to be like, when I run it (./myscript) to require authentication before the script even start like, for example Gparted requires, so if an authentication passes, my scirpt can run and have permission to do whatever it's written in it (in this case, 'poweroff').
Thanks ^_^
Last edited by broi (2012-03-24 23:38:44)(From another thread)
foppe wrote:
# Check for admin rights. If user is not an admin user, exit the script
if [ $UID != 0 ]
then
echo "You need to be root to run this script! Exiting..."
exit
fi
This snippet checks if you've sudo-ed it (or ran as root). All subsequent commands can be coded without sudo.
Maybe you are looking for
-
How to select server in which background job should run
Hi, I want to run my program as background job. I want the user to select the server, in which background job should be run, in the selection screen of my program. When it is sheduled in background the job should run in the selected server. How to do
-
Can't install iphoto 6.0.4
hello i downloaded the iphoto 6.0.4 upgrade so i could put pictures on my ipod and i got what i think is a disc image?(iPhoto604Update.dmg). when i opened it and tried to install it it said that this software cannot be installed on this mac. i am stu
-
I created a form and recieve the filled in form by email from participants. It has always worked in the past. Recently when importing data into the master form (from filled in forms in xml files sent by applicants) I am getting this error message..."
-
Hi! I'm having porblem with Invoice split. The procss I tried is as follows - Created SO for 10qty with the Customer 1234 who has all the fucntions (haven't changed the fucntion in SO). Did delivery one with 6qty and PGI later another with the remain
-
Restore Defaults Program Mapped to Up Arrow
Hello Somehow, the Creative Restore Defaults Program has gotten mapped to my up arrow key. Whenever I press the key the program runs. I have searched google and find nothing documented on this issue or how to map (or unmap) programs to keys. Any help