Greg,

'adduser' is a link to useradd (binary):

# ls -l adduser
lrwxrwxrwx    1 root     root            7 Jun 27  2003 adduser -> useradd


can I smply 'rm adduser';
then, create 'adduser' script that calls 'useradd -s /bin/false' ?

... I'm not creating mischief deleting links in /usr/sbin...?

or, should I leave the link alone, and, create script elsewhere to call it ?


<quote who="Voytek">
>
> <quote who="Greg">

> 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
>


-- 
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