[nflug] Samba Authentication & User Accounts

Darin Perusich Darin.Perusich at cognigencorp.com
Thu Aug 7 08:51:05 EDT 2008


If you maintain your user accounts in a LDAP/NIS repository adding the 
following to /etc/passwd will disable shell access to the system for 
those accounts but not local accounts.

+::::::/sbin/nologin


Robert Wolfe wrote:
> Hi all!
> 
> I am in the process of implementing a Samba solution to replace our aging 
> Windows 2000 Server file server (for more space, reliability and backup 
> purposes).  However, on of the design specifications is that the users should 
> not have any shell access to the machine, nor must they have user home 
> directories.  How would I begin to go about setting up the Samba server in 
> this manner and how would I need to go about controlling which people are in 
> what groups and what groups have access to what folders?
> 
> Any help or a starting point on this would be greatly appreciated.

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
Phone: 716-633-3463
Email: darinper at cognigencorp.com


More information about the nflug mailing list