On Wed, Aug 20, 2008 at 12:07:02PM -0700, Jyotishmaan Ray wrote:
>
Depending on the Linux system's policies, executing a command like this:
useradd -m -d /mnt/btech -c $encrypted_password -s $shell $user
will:
- create the UID in the password database
- create a group ID in /etc/groups
- ad
From: Andrej Ricnik-Bay <[EMAIL PROTECTED]>
Subject: Re: Perl Script Needed To Create The Home Drectories.
To: "Marc Girod" <[EMAIL PROTECTED]>, "Perl-LDAP Mailing List"
Date: Wednesday, August 20, 2008, 11:33 PM
On 20/08/2008, Marc Girod <[EMAIL PROTECTED]>
On 20/08/2008, Marc Girod <[EMAIL PROTECTED]> wrote:
> But, questions like 'why is there a @ on line 4?' should be
> acceptable.
But you don't sign up for a power-sliding event and then
ask the people there what those pedals are for ... ?
> Marc
Cheers,
Andrej
--
Please don't top post, and
Instead of creating the home directory as part of a batch job you might
think of having the OS take care of it only when required.
Under linux you might think of updating
/etc/pam.d/system-auth and add this line:
session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
The users home
Would appreciate you if provide some pointers in writing a script for
creating some hundreds of home directories for each one of them.
Hi all,
May I add my grain of salt?
On Wed, Aug 20, 2008 at 3:20 AM, Vartak, Yash V <[EMAIL PROTECTED]> wrote:
> You should not expect the community to write entire stuff for you,
> the community is for programmers to help each other with genuine queries,
> and not give ready made solutions.
Gr
Ray [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2008 1:35 AM
To: perl-ldap@perl.org; Peter Karman
Subject: Re: Perl Script Needed To Create The Home Drectories.
Your script is not clear. Please provide step wise solution. I am a new bie in
perl.
--- On Tue, 8/19/08, Peter Karman
Your script is not clear. Please provide step wise solution. I am a new bie in
perl.
--- On Tue, 8/19/08, Peter Karman <[EMAIL PROTECTED]> wrote:
From: Peter Karman <[EMAIL PROTECTED]>
Subject: Re: Perl Script Needed To Create The Home Drectories.
To: [EMAIL PROTECTED], "p
Is that possible to create the home directories-
/mnt/btech/rollno
--- On Tue, 8/19/08, Jason A. Kates <[EMAIL PROTECTED]> wrote:
On 08/19/2008 11:46 AM, Jyotishmaan Ray wrote:
> Dear All,
>
> I am a new bie in perl. I have to create the home directories of 424 students
> in a server machine.
>
> The path of the home directory would be :-
>
> /mnt/btech/formatted-rollno.
>
> where formatted-rollno ="s08-1-5-097"
>
>
Dear All,
I am a new bie in perl. I have to create the home directories of 424 students
in a server machine.
The path of the home directory would be :-
/mnt/btech/formatted-rollno.
where formatted-rollno ="s08-1-5-097"
And the input file contains all the rollnos of 424 students.
A sampl
11 matches
Mail list logo