linux_users_problem

1 view
Skip to first unread message

manu balakrishnapillai

unread,
Apr 24, 2006, 2:21:27 AM4/24/06
to mai...@yahoo.com

 




text2.txt

Sam Albuquerque

unread,
Apr 28, 2006, 4:38:11 AM4/28/06
to Linu...@googlegroups.com
Check the home directory you have set in the script. It's common to all users?..

I guess you understood the error..

On 24 Apr 2006 06:21:27 -0000, manu balakrishnapillai <manu...@rediffmail.com> wrote:

 









---------- Forwarded message ----------
From: "santosh kumar" <santho...@hotmail.com>
To: manu...@rediffmail.com
Date: 
Subject: FW: hai sir-doubt-sorry to disturb you



>From: "manu  balakrishnapillai" < manu...@rediffmail.com>
>Reply-To: "manu  balakrishnapillai" <manu...@rediffmail.com>
>To: "santosh kumar" <santho...@hotmail.com>
>Subject: hai sir-doubt-sorry to disturb you
>Date: 13 Apr 2006 06:44:54 -0000
>

_________________________________________________________________
Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
http://server1.msn.co.in/profile/shahrukh.asp


sir,
its me manu.. Am very sorry to disturb you... I know call will be a burden
in office and so am mailing....


i was trying to create users in linux and thru GUI i succeeded... if i wanna
create 1000 users, it will be a huge task when we use the gUI.. so itried it
in shell program.... the users got created but when i login using that user
id and password its not working... "login incorrect" message am getting...

the following is the shell progarm... please go thru it and help me



#########################################
#program
#set -x



echo "enter the no: of users"
read a
for((i=1;i<=$a;i++))
{
useradd -g group -d /home/pg1a -p casapg$i -s /bin/bash pg1a$i
}
#end of program
# -g [group]
# -d [home directory]
# -p passwd
# -s default shell



hope u can help me....


ur's
Manu







--
Verify my RHCE certificate online at http://www.redhat.com/training/certification/verify/?rhce_cert_display:certno=803005430616715&rhce_cert_display:verify_cb=Verify
Google Mail Rocks..

manu balakrishnapillai

unread,
May 2, 2006, 7:49:52 AM5/2/06
to sam.alb...@gmail.com

sir,,,


Thank u for ur information that the home directory was same for all users.. u were correct but am sorry to say that it still not working..........


manu



Reply all
Reply to author
Forward
0 new messages