LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-26-2008, 11:19 AM   #1
maheshkodamati
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Rep: Reputation: 0
Create user accounts from shell script?


i want to setup a password for an account in linux.i dont want to setup in command line,but i want to write a shellscript for it.so that if anyone can give their username,they can setup their password.I tried useradd -p username and passwd commands for it.but i cannot setup it.can anyone help for me.
please............
 
Old 02-26-2008, 11:46 AM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by maheshkodamati View Post
i want to setup a password for an account in linux.i dont want to setup in command line,but i want to write a shellscript for it.so that if anyone can give their username,they can setup their password.I tried useradd -p username and passwd commands for it.but i cannot setup it.can anyone help for me.
please............
maheshkodamati, you have blatantly disregarded my kind request to stop adding unrelated questions into your threads. If you keep this type of behaviour up you will simply make it much harder to get any help here at LQ. And eventually, you will lose your privileges as the Mod Team isn't gonna go around moving your posts into proper locations for ever. Consider this your first (and hopefully last) official public warning regarding this matter.

Last edited by win32sux; 02-26-2008 at 11:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking to Create User Accounts Using Batch Load Script wlue Linux - Newbie 3 12-17-2007 01:51 PM
Request : set passwords for many users [user accounts exist] using a shell script bv_uma Linux - Software 3 08-19-2006 09:01 AM
Need script to create many accounts at once Nex321 Linux - General 2 08-13-2005 03:58 PM
Create Limited User Accounts epihammer Mandriva 3 05-18-2004 02:52 PM
Create many user accounts kelper Linux - Software 7 09-06-2003 06:03 AM


All times are GMT -5. The time now is 07:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration