UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
August
Su M Tu W Th F Sa
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Sponsored Links
Latest Postings
Latest Reviews
Topic Options
Rate This Topic
#16846 - 09/25/02 05:51 AM /etc/gtmp and /etc/ptmp
Skull Offline
UGN Elder

Registered: 03/01/83
Posts: 55
Loc: Iowa
My machine has these files and as far as i can tell the gtmp isn't a very popular file due to its lack of listing on the internet and the ptmp is a lockfile for the yppasswdd utility. It creates the ptmp lockfile and then deletes it when its done checking everything. But should this utility crash the ptmp lock file remains intact locking the password files. Well, i'm trying to add users to my machine and it won't let me because "/etc/gtmp or /etc/ptmp lockfile may exist" so how do i combat this problem? I've tryed just removing both files but they just reappear the next time i try to go do anything with users.

Regards,

Skull,
_________________________
Trust me, if i started killing people, there'd None of you left

Top
Sponsored Links
      
#16847 - 09/25/02 04:41 PM Re: /etc/gtmp and /etc/ptmp
Predator Offline
Member

Registered: 03/01/02
Posts: 197
Loc: Belgium
hmm, do you have the nis service running (cause that does remind me off when i see yppassword (yp = yellow pages)), if this is true, stop the service.

I have no clue if this works or not, i just thought about it with the yp, but give it a try
_________________________
Never argue with fools... They will only drag you down to their level, and beat you with experience...

Top
#16848 - 09/25/02 07:20 PM Re: /etc/gtmp and /etc/ptmp
hKzKnight Offline
Member

Registered: 03/12/02
Posts: 626
Loc: LAN
Arg, sounds like it almost locked you out... Hmm well pred has a bit of a point, also try to reinstall the progs then uninstall them... LOL well the magical answer to such REINSTALL THE LINUX OS, lol I know you don't want to do that... Something went fubar, hmm well also often the files and perhaps info would be in you *nix cd or other distros. Also can try contacting the distro support. Let us know results.
_________________________
-hKzKnight
"The ghost... Was never there and you'll never see me"

Top
#16849 - 09/26/02 04:44 AM Re: /etc/gtmp and /etc/ptmp
Skull Offline
UGN Elder

Registered: 03/01/83
Posts: 55
Loc: Iowa
Well, i got it working it seems somehow. I went into gnome and loaded the gui user configuration tool there and closed it, loged out of everything, and logged back in as root. The temp lock files had vanashed. It seems my box had puked while i was trying to add a user a while back.

Regards,

Skull
_________________________
Trust me, if i started killing people, there'd None of you left

Top
#16850 - 09/26/02 07:40 PM Re: /etc/gtmp and /etc/ptmp
hKzKnight Offline
Member

Registered: 03/12/02
Posts: 626
Loc: LAN
Ya No shit, forgot about root :+|. Ya, it sucks when it pukes up... Well cool deal.
_________________________
-hKzKnight
"The ghost... Was never there and you'll never see me"

Top

Moderator:  Infinite 
Featured Member
Registered: 08/21/13
Posts: 1
Forum Stats
2146 Members
46 Forums
33865 Topics
69032 Posts

Max Online: 1567 @ 04/25/10 10:20 AM
Top Posters
UGN Security 27028
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Devo60, ali, lavos, Zanvin Green, Daktologist
2145 Registered Users
Who's Online
0 registered (), 305 Guests and 355 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!