Adding an entry to /etc/passwd on Unix/Linux does not add a home directory
for that user. adduser or useradd or even linuxconf (depending on your
flavor/distribution) takes care of that, but it is a seperate act from adding
a user to /etc/passwd.
That said you do have to add the directory your
Friday, December 14, 2001, 1:37:00 AM, Daniel Falkenberg wrote:
> Could some one help me with the following code? Basically the code
> works OK except for the fact that the user $new_user (s) home dir is not
> created?
> #!/usr/bin/perl -w
> use Unix::PasswdFile;
> my $new_user = "test7";
> my
duser $user");
Agustin Rivera
Webmaster, Pollstar.com
http://www.pollstar.com
- Original Message -
From: "Daniel Falkenberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 5:53 PM
Subject: RE: Not creating home dir
> Hi all,
&g
Hi all,
I mean to do what I want I had to add the following system command is
there and easier way to do the following code add on...?
#!/usr/bin/perl -w
use Unix::PasswdFile;
my $new_user = "test7";
my $new_fname = "Test";
my $new_lname = "Account";
my $new_pass = "password";
my $pw = new U
Hello all,
Could some one help me with the following code? Basically the code
works OK except for the fact that the user $new_user (s) home dir is not
created?
#!/usr/bin/perl -w
use Unix::PasswdFile;
my $new_user = "test7";
my $new_fname = "Test";
my $new_lname = "Account";
my $new_pass = "