[Sunhelp] useradd ...

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


Try this


# useradd -u 1403 -g 10 -d /export/home/chatrane -m chatrane 


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


Good day,

Here is an example...

# useradd chatrane -u 1403 -g 10 -d /export/home/chatrane -s c

UX: useradd: ERROR: invalid syntax.
usage:  useradd [-u uid [-o] | -g group | -G group[[,group]...] | -d dir |
                -s shell | -c comment | -m [-k skel_dir] | -f inactive |
-e expn
        useradd -D [-g group | -b base_dir | -f inactive | -e expire ]
#


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

> Are you getting an error?
> 
> Jean-Marc Beaudoin wrote:
> 
> > 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
> 
> 
> 
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 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