Hi, If you are using debian, you can edit /etc/adduser.conf, this sets the defaults for the adduser command.
Not sure if other dists use adduser or /etc/adduser.conf for that matter.. :( If you are using useradd, then you must use the -s to specify the default shell. Cheers, Shane On Tue, 2004-10-19 at 22:07, Voytek wrote: > OK, adduser call useradd, so, I'll try passing it an option '-s /bin/false' > > # ./useradd > usage: useradd [-u uid [-o]] [-g group] [-G group,...] > [-d home] [-s shell] [-c comment] [-m [-k template]] > [-f inactive] [-e expire ] [-p passwd] [-M] [-n] [-r] name > useradd -D [-g group] [-b base] [-s shell] > [-f inactive] [-e expire ] > > > -- > Voytek -- ------------------------------------------------- Shane Machon GCUX Proprietor LinSec Consulting Ph: (02) 9979-1222 Fax: (02) 9979-1499 Mob: 0414 992097 Eml: [EMAIL PROTECTED] Web: http://www.linsec.com.au 'Specialists in Linux and Security Solutions' -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
