Search Results

Search: Posts Made By: nighter
Forum: Programming 07-15-2008
7,810
Posted By nighter
I had to write my own function that removes from...
I had to write my own function that removes from /etc/security/passwd.
Cause could not find any solution to that in the api :-(
Forum: Programming 07-14-2008
7,810
Posted By nighter
Thanks! but i already use those functions to...
Thanks! but i already use those functions to update the shadowfile in
my code and it works!

My problem is that i need to delete an user entry from the shadow file, and putuserpw() dosent work...
Forum: Programming 07-14-2008
7,810
Posted By nighter
userpw.h AIX ( delete entry from the shadow password database )
HI i need to delete an entry in /etc/security/passwd.
can't find a way to do it with userpw.h api ( AIX ).

the passwd file i delete like this.
Write all entrys to passwd file except the one we...
Forum: Programming 07-14-2008
7,073
Posted By nighter
Problem solved!
Problem solved!
Forum: Programming 07-03-2008
7,073
Posted By nighter
Now i got a bit thurder. But have a differnet...
Now i got a bit thurder. But have a differnet problem.
In end of the shadow file it writes "GjgGToqZ1:14063:0:99999:7:"
dont understand why!




#include <stdio.h>
#include <errno.h>...
Forum: Programming 07-03-2008
7,073
Posted By nighter
/etc/shadow update password entry! ( getspent? )
Hi i just whant to update an password entry in /etc/shadow.
But dosen't get it to work. Something is wrong! in this code.

What i try do do is if user kalle exist in shadow.
I whant it to...
Forum: Programming 07-03-2008
9,433
Posted By nighter
wrong button it was intended to be a new threat.
wrong button it was intended to be a new threat.
Forum: Programming 07-03-2008
9,433
Posted By nighter
/etc/shadow update password entry (putspent?)
Hi i just whant to update an password entry in /etc/shadow.
But dosen't get it to work. Something is wrong! in this code.

What i try do do is if user kalle exist in shadow.
I whant it to...
Forum: Programming 07-03-2008
9,433
Posted By nighter
Actaully it was not that who where the problem! ...
Actaully it was not that who where the problem!
But now it works! Don't understand why. But it do.
Forum: Programming 06-30-2008
9,433
Posted By nighter
Whant to write an entry in /etc/passwd (putpwent)
Hi i try to use the function putpwent to write a simple
entry in "/etc/passwd" putpwnet returns 0 as it works but
notething writes to /etc/passwd. What have i missed?

My os
--------...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 10:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy