[Sunhelp] useradd ...

Jarrett m Carver AFcarjm at dia.osis.gov
Thu Jul 22 12:46:52 CDT 1999


The -s option for shell needs something like /bin/csh.

Jean-Marc Beaudoin wrote:

> 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



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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."

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-









More information about the SunHELP mailing list