Displaying 1 result from an estimated 1 matches for "scottypasswd".
1999 Apr 11
0
pam_smb authentication
...e already set up, and using vi, eliminate all info except the
user
names with:
:1,$s/:.*// # From line 1 to end, find the string colon plus 0 or more
# characters, and subsitute nothing.
Eliminating the root accounts and a few others (those in the first 10
lines or so), I save this file as "scottypasswd". Then I use the
bash shell "for" loop to handle everything:
for name in `cat scottypasswd`; do
/usr/sbin/adduser ?p "* -d "/nologin" ?s "/bin/false" $name
done
Aside from some issues for making NT Domain browsing work, this allows
mail and Web browsin...