That was quick :-) Besides some 20 Out of office replies I got two very valuable ones....thanks to Ric Anderson and Warren Brennan! The defaults are stored in /usr/include/userdefs.h and can be modified via /usr/sadm/defadduser Thanks guys! ---- Peter Matzer Unix Sirfrfpingur SUN Enterprise Engineer - SCSA, SCNA EJS hf., Grensasvegi 10, 108 Reykjavmk http://www.ejs.is * Smmi: 563-3000 * eMail: peter@ejs.is --- The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. > -----Original Message----- > From: Peter Matzer > Sent: 22. mam 2003 17:12 > To: sunmanagers@sunmanagers.org > Subject: useradd defaults! > > Hi everybody, > > I was wondering if anybody knows where the default values for > the useradd command are stored? If you run useradd with -D, > you get the following output and those values would be chosen > if you don4t specify them in the useradd command: > > root@sunny / # useradd -D > group=other,1 project=,3 basedir=/home > skel=/etc/skel shell=/bin/sh inactive=0 > expire= auths= profiles= roles= > > I4m teaching the Admin I course for Solaris 9 at the moment > and of course one of the students was asking this :-( I first > thought it would be in /etc/skel, but that4s not true. > > Anybody an idea? > > Thanks in advance, > Peter > > > ---- > Peter Matzer > Unix Sirfrfpingur > SUN Enterprise Engineer - SCSA, SCNA > EJS hf., Grensasvegi 10, 108 Reykjavmk > http://www.ejs.is * * Smmi: 563-3000 * * eMail: peter@ejs.is > > --- > The information in this email is confidential and may be > legally privileged. It is intended solely for the addressee. > Access to this email by anyone else is unauthorized. If you > are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in > reliance on it, is prohibited and may be unlawful. _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu May 22 13:27:39 2003
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:14 EST