On 22 fév, 23:03, jimsgib...@gmail.com (Jim Gibson) wrote:
> On 2/21/10 Sun Feb 21, 2010 7:13 AM, "akabou" scribbled:
>
> > Hello, everybody
>
> > I have a csv file with firstname, lastname, group
>
> Group name or group number?
>
>
>
> > a
On 22 fév, 23:03, jimsgib...@gmail.com (Jim Gibson) wrote:
> On 2/21/10 Sun Feb 21, 2010 7:13 AM, "akabou" scribbled:
>
> > Hello, everybody
>
> > I have a csv file with firstname, lastname, group
>
> Group name or group number?
>
>
>
> > a
Hello, everybody
I have a csv file with firstname, lastname, group
and need to create user and group if it doesn't exist.
But the problem is that i must not use useradd ou groupadd.
I must read user from csv, and then check if user exist, and if group
exist.
i've started like this, but i don't