|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Linux usermanagement
Just me again with another question
![]() Is there anyone who knows if there's a library for user/group management under linux? I don't want to do os.system() calls all the times ... Greets FraterQ Last edited by FraterQ : December 14th, 2003 at 06:37 AM. |
|
#2
|
||||
|
||||
|
I don't think so.. unless there is a library that has been coded in python, but as far as i know your best bet would be using the group executable binary
__________________
IE QUOTE | PHP Manual | Google | C/C++ Compiler | Linux Tutorials | General Stuff Game Dev |
|
#3
|
|||
|
|||
|
mm, well, i think its time to code one
![]() |
|
#4
|
||||
|
||||
|
Good idea let that be your next project
hehe |
|
#5
|
|||
|
|||
|
The next problem is, how to implement?
Is there maybe a general interface through a c-library? I don't think that i am the first with this problem.. But i don't find any relevant articles. |
|
#6
|
||||
|
||||
|
Well at the moment im a bit busy.. but who knows maybe one day i can create it before you can.. but first i need to know what is it that you exactly want?
|
|
#7
|
|||
|
|||
|
I want an easy and save access to unix passwd/shadow and groups file and functions like user.addToGroup('xy') or user.removeFromGroup('xy') ... This would be nice. Just a pwdb interface
![]() |
|
#8
|
|||
|
|||
|
Ok,
i've searched the whole night for an acceptable solution and i found a way through libshadow. I'll now try to write a class which grants access to the usermanagement through this libs. If anyone is interested and needs such a class to o leave me a message i'll try to adapt your suggestions. FraterQ |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Linux usermanagement |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|