search for: logindata

Displaying 2 results from an estimated 2 matches for "logindata".

Did you mean: logdata
1999 Dec 27
2
Suggestion: login.c->record_login()
...aining all the information we have to functions that handle exactly one of utmp, utmpx, wtmp, wtmpx, lastlog, or whatever else comes along. *Then* we could use #ifdef to call the right code. One way might be: #ifdef LINUX /* Linux: Do the business with PAM <cough> */ set_pam_entry (struct logindata l); /* ... whatever else Linux needs ... */ #endif /* LINUX */ #ifdef HPUX /* HPUX: Do things the hard way * no lastlog, utmp *and* utmpx, wtmp */ set_utmp_entry (struct logindata l); set_utmpx_entry (struct logindata l); set_wtmp_entry (struct logindata l); #endif /* HPUX */ etc... It's s...
2006 Jul 03
2
XML Builder - xml header...
...or some reason, i am getting an extra: <?xml version = "1.0"?> in my xml file.. i am using a file called: lastLogins.rxml and the code looks like: xml = Builder::XmlMarkup.new xml.instruct! :xml, :version=>"1.0", :encoding => ''ISO-8859-1'' xml.loginData do @lastLogins.each do |login| xml.entry do xml.user(login.user) xml.timestamp(login.timestamp) end end end this ends up inserting both headers: <?xml version = "1.0"?> <- from some mystery location.. and: <?xml version="1.0&quot...