what is the exact path to the directories? can you give me a few examples?
thanks
jack
-Original Message-
From: Jyotishmaan Ray [mailto:[email protected]]
Sent: Sunday, January 04, 2009 11:36 PM
To: [email protected]
Subject: RE: Perl Script Needed To Delete All The Files Stored
Dear All,
I am a new bie in perl scripting language.
I have this problem :
I have around 500 students directories created on a server where they
(students) have their own program files etc.
Now the priblem is to delete all these files of those students whose roll no.
starts with
s08-1-
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: [email protected]; 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"
>
>
Your script is making a call to an external ldapsearch executable.
Therefore any problems you are having are related to your CGI
environment and not related to Net::LDAP ('cause you're not using it!)
which is what this list if for.
Paul.
-Original Message-
From: Chandrakant Bagade [mailto
On 21/9/04 9:43 am, Chandrakant Bagade <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I have made on perl script(attached) which do ldapsearch.
> When I run that script through perl command it works,but when I called
> it through some programme to view it in browser it never works.My OS
> Win-2000.Any T
14 matches
Mail list logo