Your browser does not seem to support CSS. If images appear below, please disregard them.
toggle
May
S M T W T F S
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
Topic Options
Rate This Topic
#16846 - 09/25/02 04:51 AM /etc/gtmp and /etc/ptmp
Joined: Mar 1983
Posts: 55
Skull Offline
UGN Elder
Skull Offline
UGN Elder

Joined: Mar 1983
Posts: 55
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 03:41 PM Re: /etc/gtmp and /etc/ptmp
Joined: Mar 2002
Posts: 197
Predator Offline
Member
Predator Offline
Member

Joined: Mar 2002
Posts: 197
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 06:20 PM Re: /etc/gtmp and /etc/ptmp
Joined: Mar 2002
Posts: 626
hKzKnight Offline
Member
hKzKnight Offline
Member

Joined: Mar 2002
Posts: 626
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 03:44 AM Re: /etc/gtmp and /etc/ptmp
Joined: Mar 1983
Posts: 55
Skull Offline
UGN Elder
Skull Offline
UGN Elder

Joined: Mar 1983
Posts: 55
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 06:40 PM Re: /etc/gtmp and /etc/ptmp
Joined: Mar 2002
Posts: 626
hKzKnight Offline
Member
hKzKnight Offline
Member

Joined: Mar 2002
Posts: 626
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

Member Spotlight
Gremelin

Gremelin
Portland, OR; USA
Posts: 7,194
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums46
Topics45,531
Posts80,699
Members2,157
Most Online1,567
Apr 25th, 2010
Top Posters(All Time)
UGN Security 38,695
Gremelin 7,194
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Newest Members
Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit, boa
2157 Registered Users
Who's Online Now
0 registered members (), 3 guests and 1 spider.
Latest News