close Warning: Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 30 and Version 31 of servers/setup-condensed


Ignore:
Timestamp:
Jul 14, 2009, 2:54:00 PM (13 years ago)
Author:
hank
Comment:

work on server setup how-to

Legend:

Unmodified
Added
Removed
Modified
  • servers/setup-condensed

    v30 v31  
    1313 * /FILES/ Primary Ext3 Bootable = No (leave all other defaults)
    1414
     15
     16=== Primary User - sf ===
     17Add sf user with sudo privileges during install
     18
    1519=== Install SSH Deamon ===
    1620{{{
     
    3034{{{
    3135/etc/init.d/ssh restart
    32 }}}
    33 
    34 === Add nologin to restrict fileusers ===
    35 {{{
    36 echo "/usr/sbin/nologin" >> /etc/shells
    37 useradd -s /usr/sbin/nologin fileuser
    3836}}}
    3937
     
    264262Copy config files from version control.  smb.conf.master, recycle.conf, smbusers
    265263
    266 == Permissions on /FILES/ ==
    267 AS root:
     264== Users and Permissions on /FILES ==
     265'''Add nologin to shells'''
     266{{{
     267echo "/usr/sbin/nologin" >> /etc/shells
     268
     269}}}
     270
     271'''Add fileuser with nologin'''
     272{{{
     273useradd -s /usr/sbin/nologin fileuser
     274passwd fileuser
     275< fileuser passwd selected by firm >
     276}}}
     277
     278
     279'''Create fileusers group'''
    268280{{{
    269281addgroup fileusers
    270 adduser hank fileusers
    271 adduser ryan fileusers
     282adduser sf fileusers
     283adduser fileuser fileusers
    272284adduser www-data fileusers
    273 
    274 adduser matt
    275 adduser matt fileusers
    276 
    277 chown -R root /FILES
     285}}}
     286
     287'''Set up appropriate permissions on /FILES'''
     288{{{
     289chown -R fileuser /FILES
    278290chgrp -R fileusers /FILES
    279291chown -R 660 /FILES