<quote who="Greg">
>
> hi, have a look in /etc/skel, this is the default home when you
> add a user, anything you want included/excluded set one up here,
>
> when you run adduser or useradd or whatever it is, it's just a script
> that calls other shit, maybe you can define no shell there or look
> at the options for calling the script, from what i recall, thats how
> i did it last time.

Greg,

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
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to