[Sunhelp] useradd ...

sjha at omnipoint.com sjha at omnipoint.com
Thu Jul 22 12:39:12 CDT 1999


try " useradd -d /home/user1 -m user1 "

This command is generallu used when you want to add an user with user home
directory and making user owner of his home directory.

This command will be different if you want something else .


-----Original Message-----
From: Jean-Marc Beaudoin [mailto:jmb at merlin.vipxlnet.com]
Sent: Thursday, July 22, 1999 10:56 AM
To: Jarrett m Carver
Cc: sunhelp at ohno.mrbill.net
Subject: Re: [Sunhelp] useradd ...


Thanks,

I have already looked at the man pages...but somehow there is something I
am missing here.

Can you give me an exact example (that works)?

Regards,

On Thu, 22 Jul 1999, Jarrett m Carver wrote:

> According to the man page
> 
> useradd(1M)           Maintenance Commands            useradd(1M)
> 
> NAME
>      useradd - administer a new user login on the system
> 
> SYNOPSIS
>      useradd [ -c comment ] [ -d dir ] [ -e expire ]
>           [ -f inactive ] [ -g group ] [ -G group [, group...]]
>           [ -m [ -k skel_dir ]]
>           [ -u uid [ -o]] [ -s shell ] login
> 
>      useradd -D [ -b base_dir ] [ -e expire ] [ -f inactive ]
>           [ -g group ]
> 
> For the complete description try `man useradd`
> 
> 
> Jean-Marc Beaudoin wrote:
> 
> > Good day,
> >
> > What is the exact syntax for useradd?
> >
> > Can you give me an precise ecample?
> >
> > Regards,
> >
> >                      ////
> >                     (o o)
> >   ==============oOOo=(_)=oOOo==============
> >           Jean-Marc Beaudoin, T.P.
> >             V.I.P. ExcelNet Inc.
> >           http://www.vipxlnet.com
> >           jmbeaudoin at vipxlnet.com
> >               ICQ# 44484144
> >   -----------------------------------------
> >
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> 
> 
> 
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Jarrett Carver                            DIA OSIS System Administrator
> Re:AFcarjm at dia.osis.gov                   CC:admin at dia.osis.gov
> 
> "The opinions expressed herein are not necessarily those of my employer,
>  not necessarily mine, and probably not necessary."
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> 
> 
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 

                     ////
                    (o o)
  ==============oOOo=(_)=oOOo==============
          Jean-Marc Beaudoin, T.P.
            V.I.P. ExcelNet Inc.
    	  http://www.vipxlnet.com
	  jmbeaudoin at vipxlnet.com
	      ICQ# 44484144
  -----------------------------------------


_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp






More information about the SunHELP mailing list