Not sure what unix you're running, over here, uid_t is 32bit.

Penned by Robert on 20090827 20:52.31, we have:
| On Thu, 27 Aug 2009 13:23:18 -0400
| "Morris, Roy" <rmor...@internetsecure.com> wrote:
| 
| > G'day,
| > I searched around but couldn't find a simple answer to this
| > question. I want to host a sftp server and there could be
| > thousands of accounts, although not all used at once. I was
| > wondering if there is a limit to the number of user accounts
| > I can create on a machine? I had originally thought of using
| > a database for authentication but I don't see an easy way of doing
| > that on OpenBSD.
| > 
| > thanks
| > Roy
| 
| Number of local  user accounts is liminted by the available user id's.
| Since that's a 16 bit limit and if you stick to the 'from uid 1000 up'
| rule, that'd leave you with 64536 possible accounts.
| 
| - Robert

-- 
Todd Fries .. t...@fries.net

 _____________________________________________
|                                             \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC                 \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com             \  1.866.792.3418 (FAX)
| "..in support of free software solutions."  \  sip:freedae...@ekiga.net
|                                             \  sip:4052279...@ekiga.net
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
                                                 
              37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
                        http://todd.fries.net/pgp.txt

Reply via email to