Log in

No account? Create an account
Linux Community's Journal
[Most Recent Entries] [Calendar View] [Friends View]

Thursday, September 23rd, 2004

Time Event
Symbollockly linked libs
Which do you prefer?


lrwxrwxrwx 1 root root 17 Sep 23 06:07 libpng.so.2 -> libpng.so.*
lrwxrwxrwx 1 root root 17 Sep 23 05:56 libpng.so.3 -> libpng.so.*
-rwxr-xr-x 1 root root 151084 Aug 17 19:36 libpng.so.*

Or this:

lrwxrwxrwx 1 root root 17 Sep 23 06:07 libpng.so.2 -> libpng.so.3
lrwxrwxrwx 1 root root 17 Sep 23 05:56 libpng.so.3 -> libpng.so.*
-rwxr-xr-x 1 root root 151084 Aug 17 19:36 libpng.so.*

Is either more correct or bound to cause problems? Or is either just as useful?
Feed not the troll
Instead file a TOS complaint with LJ. This is not the first time this person has made hate posts in this community.

Moderator, please leave the trolls post up long enough for LJ to review it.

User migration.
I am trying to migrate some users from a BSD system to a linux system. The BSD system keeps the shadow password info in a berkley db file (/etc/spwd.db) and linux keeps it in a plain text file (/etc/shadow).

Are their any existing command line utilities to dump the db file so I can migrate it to the linux system, or am I doomed to reissuing passwords for all of the users?
A follow up on my earlier post... I was able to get the passwords migrated.

An the BSD system I did a vipw and saved it out to a temporary file (/tmp/passwd-tmp). I copied that file to the linux system and did the following:
cat passwd.tmp | awk -F : '{print $1":x:"$3":"$4":"$8":"$9":"$10}' > passwd.new
cat passwd.tmp | awk -F : '{print $1":"$2":"$3":0:99999:7:::"}' > shadow.new

This assumes no expirations on passwords.

Then edit out all the system accounts from both files so you just have the accounts you want moved.

finally on the linux system do a vipw. You will first edit the public password file so append the passwd.new file to the end (go to the end of the file and do ":r passwd.new". Do a :wq, and the say yes to editing the shadow file and append the shadow.new file to the end.

I've only tested a couple accounts, but they seem to work file. You might have to change some pathings for home dirs and shells, but that should be easy.

As usually, the only guaranty I provide is, "It worked for me."
Ok, I need some more help with this dhcpd setup for wireless networking. I know the wireless PCMCIA card is working fine. Where I'm running into an issue with with the config file for dhcpd.

When I try to pull an IP from the router to my laptop using the command dhcpd wlan0, I get the following message...

"Wrote 0 leases to leases file.

No subnet declaration for wlan0 (
** Ignoring requests on wlan0. If this is not what
you want, please write a subnet declaration
in your dhcpd.con file for the network segment
to which interface wlan0 is attached. **"

Here's what I have for a dhcpd.conf file in /etc

ddns-update-style none;
subnet netmask; {
# default gateway
option domain-name-servers;
default-lease-time 21600;
max-lease-time 43200;

Any idea what I'm doing wrong?
Gmplayer . . . we hatses it we does . . .
This is what I get when I open gmplayer. I think that will explain why I hate it as of now.

Anyone know what the hell is wrong with it or how I can go about fixing it?

The image is linked below because apparently I STILL have not located a website that will remote load (if anyone knows of one please let me know bewcause I'm getting sick of opening and closing accounts everywhere only to be constantly dissapointed).


Thoughts? Help?


Current Mood: stupified
One more question for today...

I have a mail system behind a firewall (running NAT), with a whole in the firewall to let mail through. But when I send mail out the host name of the mail server does not match the reverse lookup of the ip the receiving system thinks the mail is from (it sees the firewall IP).

This causes the recieving host to think the mail might be forged.

What do I set in the sendmail.mc to to force sendmail to say it's form the firewalls hostname, so recieving hosts think it's all good?
Linix / Online Poker
Does anyone know of an online poker site that supports a linux (or wed) client?


<< Previous Day 2004/09/23
Next Day >>
About LiveJournal.com