[Samba] Linux Shell
Emannuel Silva
emsilva at eml.cc
Sat Nov 15 16:45:56 GMT 2003
Hi,
If you perform adduser with the modifiers "-s /dev/false -d /dev/null
-M" you will acomplish this.
-s default_shell
The name of the new userâs login shell. The named program
will
be used for all future new user accounts.
-d home_dir
The new user will be created using home_dir as the value
for the
userâs login directory. The default is to append the login
name
to default_home and use that as the login directory name.
-M The user home directory will not be created, even if the
system
wide settings from /etc/login.defs is to create home dirs.
Was that what you were looking for?
Where I got this info? man adduser, try it next time.
kinds regards,
Manny Silva
On Fri, 14 Nov 2003 18:09:07 -0800, "Norman Zhang"
<nzhang at arkon-group.com> said:
> Hi,
>
> I was just wondering is it possible to disable the creation of the Linux
> default files in user's home and disable shell login?
>
> Regards,
> Norman
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list