3

I am developing an application suite where users will need to connect to a server and depending on their account type they will be given some services. The server will run Linux. Can you please suggest me some user management API which I can use to develop the server program? By user management I mean user authentication and other related functionalities. I prefer to work in C++ or python, but any other language should not be a problem. Please note that this application suite is not web based.

Due to security issues, I do not want to give each user a separate account on the linux server.

Thanks, Akshey

Jon Seigel
  • 12,251
  • 8
  • 58
  • 92
Akshey Jawa
  • 447
  • 1
  • 9
  • 19
  • 1
    LDAP maybe could be a solution? – kazanaki Mar 30 '10 at 10:57
  • For authentication purposes use challenge/response algorithms in conjunction with salted hashes to prevent passwords from being transmitted over the network. – Robert Mar 30 '10 at 17:39
  • I think more details are needed. What are you trying to achieve, are you developing a web application? Are you trying to let users login via ssh to a server? – Unknown May 31 '10 at 11:45

3 Answers3

0

http://web.mit.edu/Kerberos/ Not a drop in solution, but not quite sure what you're looking for.

goldsz
  • 348
  • 2
  • 7
0

Django is a python framework that provides all these services. It's very modular too, so you only have to use the components that what you want/need.

Its default admin tools provide authentication and authorization. Includes Users, Permissions, Groups, and message queueing.

If you don't want something as high level as a web front end. Twisted provides an authentication/credentials module. (http://twistedmatrix.com/documents/current/core/howto/cred.html)

jkyle
  • 2,002
  • 1
  • 18
  • 23
0

You should check out PAM.

For security, you should only do this over SSL so that the user's password is not sent over the wire in cleartext.

R Samuel Klatchko
  • 74,869
  • 16
  • 134
  • 187