Linux-Misc Digest #766, Volume #26 Tue, 9 Jan 01 22:13:02 EST
Contents:
Re: Chown problem ([EMAIL PROTECTED])
Re: Linux on a 64MB flash disk (Hartmann Schaffer)
Re: Converting filesysetem (reiserfs,ext2,ext3). ([EMAIL PROTECTED])
Re: Linux on a 64MB flash disk ("Bret Berger")
disk space ([EMAIL PROTECTED])
Need help, redhat print server ([EMAIL PROTECTED])
Tips from Compaq/Linux users? (net name)
Re: CD-RW (Dances With Crows)
Re: SCAM ALERT! ===> Re: $$$ MAKE A LOT OF MONEY EASY $$$ ([EMAIL PROTECTED])
Re: Chown problem (Joachim Feise)
Re: Printing is sooooo slow... (Michel Catudal)
Help w/ scanner (Cubic Decimeter)
Re: Any way to get a Linux system to do PPPOE? (bullwinkle)
Re: problems compiling 2.4.0 kernel ([EMAIL PROTECTED])
Re: MP3 to wav or audio cd (Dances With Crows)
Re: multisession disks (It was working!!) (Dances With Crows)
Re: disk space (Dances With Crows)
Re: changing linux OS form 7.0 to 6.2 (Michel Catudal)
Re: ppp problem with ISP (Glitch)
Re: Login name and Pass word` (David)
Re: tar questions (David)
Help in reading ELF file (code included) (Anastasia)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: Re: Chown problem
Date: Wed, 10 Jan 2001 01:03:08 GMT
In article <3a56e4b5$[EMAIL PROTECTED]>,
"Andrew Chan" <[EMAIL PROTECTED]> wrote:
> I want to change a file's owner to andrew.chan. But if I type chown
> andrew.chan abc, it will recogize the user as andrew and group as chan
since
> there is a period between the name and the firstname. Chown delimits user
> and group using period. So how do I put a username with a period in
between?
Interesting. You must have an old chown. A dot to delimit user and
group violates the standards probably for this very reason. The chown
with slackware 7.1 only allows a : as a delimiter. You can just use
the UID instead of login to get around the problem.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Hartmann Schaffer)
Subject: Re: Linux on a 64MB flash disk
Date: 9 Jan 2001 20:16:14 -0500
In article <u6G66.20106$[EMAIL PROTECTED]>, Rufus Smith wrote:
>
>Svend Erik Nissen wrote in message <93epkf$8du$[EMAIL PROTECTED]>...
>>
>>"Nils M. Lunde" <[EMAIL PROTECTED]> wrote in message
>>news:93entu$ugp$[EMAIL PROTECTED]...
>>> Hello!
>>>
>>> I'm about to install Linux on a PC/104 card with a 64MB flash disk.
>>> Most of the Linux distributions I've seen requires a lot more than 64MB,
>>so
>>> I'm wondering if anyone have suggestions on a Linux distribution I can
>>use.
there are several min distributions (linuxrouter, toms rescue boot disk)
that can be used to build your system on (they fit on a 1.4mb floppy). you
could also give linux from scratch a try.
> ...
>>Well - one suggestion could be an 'embedded' Linux.
>>Look at LynuxWorks BlueCatLinux
depends on what you want to do with it. many of the embedded distributions
have been built with special application areas in mind.
> ...
>You're probably looking at what a reasonable desktop system would
>need including many optional modules, documentation, etc...
>
>If you are just running a Linux application and don't need the full
>bells and whistle add-ons that go in a distribution, you can make
>do with a lot less.
true, but most major distributions are set up to install on reasonably
large desktop systems. i was recently trying to trim down redhat 6.2 to fit
into 64mb, and it was a major struggle, mainly due to how the packages were
put together, but also due to a few stupidities in the rpm system. debian
slackware should be better, but with your disk size constraints i would start
with one of the mini distributions and add what you need.
>I saw an IBM technology demo at the Embedded Linux conference and
>they were running a version of Linux (I think even with X-windows, but
>don't quote me) in 8Mb on a "wristwatch".
i bet they started with some minidistribution
hs
------------------------------
From: [EMAIL PROTECTED]
Reply-to: [EMAIL PROTECTED]
Subject: Re: Converting filesysetem (reiserfs,ext2,ext3).
Date: Wed, 10 Jan 2001 01:19:19 GMT
>>>>> "Eric" == Eric <[EMAIL PROTECTED]> writes:
>> Are there any tools out there which allow one to convert a
>> filesystem from one format to another without losing data. Similar
>> to the kind of thing Partition magic does?
Eric> That's a nice feature of PM you describe. It's a great tool,
Eric> but I doubt it is capable of doing this. (Unless you have a
Eric> spare partition, in which case it just requires copying)
Eric> And, No there's no such tool. A PM like tool is GNU parted, but
Eric> it cannot convert FS's either.
For transitions between ext2 and ext3, there's only limited
modifications needed:
<http://olstrans.sourceforge.net/release/OLS2000-ext3/OLS2000-ext3.html>
"And one of the most important goals for the whole project was to
provide absolute, total, complete backwards and forwards
compatibility between EXT2 and EXT3. You can take an existing EXT2
filesystem, throw a journal file onto it, and mount it as
EXT3. There, you have a journalled filesystem. This laptop, I
installed Red Hat 6.2 on it, it formats all of these partitions as
EXT2. I've added a couple of journal files and now it's all running
EXT3." -- Stephen Tweedie
It's not terribly likely that there will be such a tool for the
transition of ext2 <--> ReiserFS; the formats differ _substantially_,
and the effort of writing such a "translator" and then the effort of
_making it robust_ would be considered better spent on making ReiserFS
_better_.
Someone that has set up a system to be so fragile that they haven't
the means to back up and recover a filesystem or two really has a much
bigger problem than that of merely running out of disk space; they are
running a serious risk of losing _everything_ to a power surge or a
disk "head crash."
Microsoft eventually realized that risking peoples' data by letting
them create "compressed partitions" [ala "DoubleSpace" and such] was a
downright awful idea; I see _no_ reason to run down that unfortunate
road by trying to do in-place FS conversions.
Such a conversion qualifies as a Spectacularly Dangerous Operation
that commends itself to making sure you do a backup first. Only a
complete idiot _wouldn't_ do a backup first. And given _that_
stipulation, since there _is_ a backup, it makes a whopping lot more
sense to set up the new filesystem by pulling in the data from the
backup than to try to do something dangrous in-place.
--
(reverse (concatenate 'string "ac.notelrac.teneerf@" "454aa"))
<http://www.ntlug.org/~cbbrowne/>
Windows NT: Recommended by people who put buggy software in control of
lethal weapons.
------------------------------
From: "Bret Berger" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.embedded
Subject: Re: Linux on a 64MB flash disk
Date: Tue, 9 Jan 2001 18:21:56 -0700
www.linuxrouter.org
"Nils M. Lunde" <[EMAIL PROTECTED]> wrote in message
news:93entu$ugp$[EMAIL PROTECTED]...
> Hello!
>
> I'm about to install Linux on a PC/104 card with a 64MB flash disk.
> Most of the Linux distributions I've seen requires a lot more than 64MB,
so
> I'm wondering if anyone have suggestions on a Linux distribution I can
use.
>
> -Nils Magne
>
>
------------------------------
From: [EMAIL PROTECTED]
Subject: disk space
Date: Wed, 10 Jan 2001 01:15:16 GMT
Hi,
While installing linux RH6.2, I left 2 Gb of space unused from
a 4Gb disk. ( Why? from my HP-UX experience it is possible to
add a new logical volume and add the unused space. )
How do I add another partition to the disk and use the 2Gb unused
space without re-installing Linux?
Also how do I increase the swap? ( I just increased the RAM to 96MB. )
Thanks a lot.
SKP
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: Need help, redhat print server
Date: Wed, 10 Jan 2001 01:34:04 GMT
I like to make my RH6.2, a print server. It needs to print directly
to a printer HP8100 on the network without going through a NT print
server that we are currently using. Please explain step by step how
do perform this task?. Maybe this can be accomplished by making the
RH6.2 box as print server.
J
Sent via Deja.com
http://www.deja.com/
------------------------------
From: net name <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux.suse
Subject: Tips from Compaq/Linux users?
Date: Tue, 9 Jan 2001 20:39:28 -0500
Just got done reading a rather lengthy thread on the troubles people
have using other than OEM os's with compaqs. I know compaq is a junk
machine, especially the presarios, but I am stuck with mine for now.
Has anyone successfully used linux on a presario 1610? If so,
what flavor of linux was it? Any tips on the install? For someone on
a budget with one of these presario dinosaurs, a slow hard drive and
only 16MB ram, what version of linux would you suggest. Or, should
I just forget about it and stick with that other piece of crap, windoze?
Thanks.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: CD-RW
Date: 10 Jan 2001 01:48:37 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 09 Jan 2001 23:05:22 GMT, [EMAIL PROTECTED] staggered into the
Black Sun and said:
>I've a Dell Precision 420 workstation running redhat 6.2. It comes with
>an internal CD-RW (Sony CRX100E-DL). Could anyone provide some info as
>to how do I write to it?
http://linuxdoc.org/HOWTO/CD-Writing-HOWTO.html ?
^^^^^^^^^^^^^^^^^^^^^^^^^^
The ^ed portion of that URL is the first or second place you should go
when you think, "How do I do <FOO>?" Abbreviated directions follow:
0. Boot system with "linux hdX=ide-scsi" X being the IDE interface the
CD-RW is attached to. a for primary master, b for primary slave, etc.
1. As root, "modprobe ide-scsi sg"
2. As root, "cdrecord -scanbus" and you should see a list of SCSI
devices that includes your CD-RW.
3. If everything works, modify lilo.conf and /etc/rc.d/rc.local so that
steps 0 and 1 are done automagically when you boot the system.
Search comp.os.linux.hardware and this NG via
http://deja.com/home_ps.shtml for my name and keyword "CD-R" for a
reasonable amount of info regarding CD-R(W) setup/use/problems under
Linux.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: SCAM ALERT! ===> Re: $$$ MAKE A LOT OF MONEY EASY $$$
Date: 10 Jan 2001 02:14:55 GMT
My IPS has supported a SPAM filter for years. I set it up in the BASH
shell once and every time I get a SPAM I e-mail the whole thing, with
headers, to my ISP and they take care of it.
All SPAM addressed to me goes into a SPAM file in my mail directory on
my IPS. It's amazing, some months I collect 500k of junk mail.
> Philip wrote:
> >
> > Can't you block this ISP e-mail at your server or mailbox?
>
> I am not in charge of my news server. This is Usenet news, not e-mail.
> Furthermore, it does not go into a mailbox on my machine.
>
> Like other noise, it is best controlled at the source. Since it is
> illegal to assassinate the spammers, their ISPs must keep them in
> solitary by cutting off their Internet access. Responsable ISPs do this.
> >
> > Jean-David Beyer wrote:
> >
> > > Matthew Lybanon wrote (in part):
> > > >
> > > > Anybody who is thinking of participating in this scam should take a look
> > > >
> > > > at this website first:
> > > >
> > > > http://www.usps.gov/websites/depart/inspect/chainlet.htm
> > > >
> > > > Since the U.S. Postal service gets into the act (you are supposed to
> > > > mail something, right?), this is relevant. The following quotation from
> > > >
> > > > that site is particularly relevant:
> > > >
> > > > "Do not be fooled if the chain letter is used to sell inexpensive
> > > > reports on credit, mail order sales, mailing lists, or other topics. The
> > > >
> > > > primary purpose is to take your money, not to sell information.
> > > > "Selling" a product does not ensure legality. Be doubly suspicious if
> > > > there's a claim that the U.S. Postal Service or U.S. Postal Inspection
> > > > Service has declared the letter legal. This is said only to mislead you.
> > > >
> > > > Neither the Postal Service nor Postal Inspectors give prior approval to
> > > > any chain letter."
> > >
> > > Well, I have complained to his ISP each time one of these spams comes
> > > up. And he spams them to comp.mail.sendmail as well, so I complain to
> > > his ISP about those, too. His isp does not seem to take this spamming
> > > seriously. They send me a polite form letter in both English and French
> > > saying they will take care of it. But they do not. So I started sending
> > > my complaints to the next level above his ISP. They may have to cut off
> > > the spammers ISP from the Internet to get their attention.
/*
======================================================================
=========
Spaceman Spiff
Defender of the Universe
Phoenix, AZ -- The Valley of the Sun ;-)
OS/2 -- DOS -- Linux
======================================================================
==========*/
------------------------------
From: Joachim Feise <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Chown problem
Date: Tue, 09 Jan 2001 18:13:41 -0800
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> In article <3a56e4b5$[EMAIL PROTECTED]>,
> "Andrew Chan" <[EMAIL PROTECTED]> wrote:
> > I want to change a file's owner to andrew.chan. But if I type chown
> > andrew.chan abc, it will recogize the user as andrew and group as chan
> since
> > there is a period between the name and the firstname. Chown delimits user
> > and group using period. So how do I put a username with a period in
> between?
>
> Interesting. You must have an old chown. A dot to delimit user and
> group violates the standards probably for this very reason. The chown
> with slackware 7.1 only allows a : as a delimiter.
Not true. Slackware-current (past 7.1) allows both dot and colon.
See the man page for chown.
-Joe
------------------------------
From: Michel Catudal <[EMAIL PROTECTED]>
Subject: Re: Printing is sooooo slow...
Date: 9 Jan 2001 20:23:08 -0600
"Andr�" a �crit :
>
>
> I'm using 150x150 dpi. My printer is a Deskjet 870Cxi, so it supposed to
> be fast.
>
It should zip thru real fast
> Any ideas?
As an other poster said http://linuxprinting.org/ could be useful.
--
Tired of Microsoft's rebootive multitasking?
then it's time to upgrade to Linux.
http://www.netonecom.net/~bbcat
We have all kinds of links
and many SuSE 7.0 Linux RPM packages
------------------------------
From: Cubic Decimeter <[EMAIL PROTECTED]>
Subject: Help w/ scanner
Date: Tue, 9 Jan 2001 21:24:02 -0500
Reply-To: [EMAIL PROTECTED]
OK, I'm sure scanner questions get asked around here 500 time a day, but I
have one, and I need help. As in the subject line, I have a Mustek 600 III
EP Plus parport scanner, that I picked up for 15 bucks. I wasn't sure if it
was supported in Linux or not, but for the price, I couldn't pass it up.
Turns out it is supported. I installed SANE 1.0.3 from my Mandrake distro
CDs, but still nothing. Everything I have seen on the web about the SANE
Mustek backend is in command line language, which I am very new at. Is
there a newbie-ized way of setting up this scanner?
Any and all help would be appreciated.
Cubic Decimeter
------------------------------
From: bullwinkle <[EMAIL PROTECTED]>
Subject: Re: Any way to get a Linux system to do PPPOE?
Date: Wed, 10 Jan 2001 02:30:10 -0000
Rluby wrote:
>
>
> I have used Roaring Penguin PPPoE software with linux successfully with
SNET
> DSL. SNET is an SBC subsidiary.
>
> ymmv. etc.
>
>>Greetings from Bullwinkle
>>You can find Roaring Penguin's PPPoE at:
>>http://www.roaringpenguin.com/pppoe/
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: problems compiling 2.4.0 kernel
Date: Wed, 10 Jan 2001 02:18:53 GMT
In article <93cgvm$h1g$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> I've compilied the 2.4.0 kernel, but I can't get it to recognize my
> ethernet adapters. I tried compiling them (it's an Etherlink III and
a
> Linksys DEC Tulip) as modules and direclty into the kernel, but
whenever
> the system boots up I get a failed on initializing ETH0 and EHT1, and
> when I try to ifconfig them, it says unknown device.
>
> i'm running linux mandrake 7.1
>
> does anyone have any suggestions?
>
> thanks.
Welcome to "how much more testing could it possibly need". The patches
between test11 and 2.4.0 release break the tulip driver. I dont know if
using the older driver will work or what, I'm just going to go back to
test 11. I'm really pissed about this, as pissed as one can be with
free software.
Assume it's the combination of 3com and tulip... That's the most common
two cards in anyone's computer. Every DSL firewall is set up like
that. Let's test *the* most common fucking system, guys! Assume it's
just the tulip driver. WTF were those last minunte goddamned changes
before testing??? WTF are we gonna release THE STABLE RELEASE with the
MOST IMPORTANT network driver with TOTALLY UNTESTED changes.
Oh sure linus, how much longer could we let people keep testing the same
code. Not.
Yeah that's how i wanted to spend my afternoon, sitting through FSCK 5
times before deciding it wasn't even options that were causing it.
Cripes.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: MP3 to wav or audio cd
Date: 10 Jan 2001 02:32:00 GMT
Reply-To: [EMAIL PROTECTED]
On 9 Jan 2001 19:25:53 GMT, Bill Unruh staggered into the Black Sun and said:
>In <[EMAIL PROTECTED]> [EMAIL PROTECTED]
>(Dances With Crows) writes:
>>mpg123 -y -w crud.wav crud.mp3
>The man page does not mention any -w option. for mpg123. Is this an
>undocumented feature?
Not quite, it's just not in the man page. mpg123 --help tells you what
it's about. One of these days they'll have to sync the documentation.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: multisession disks (It was working!!)
Date: 10 Jan 2001 02:32:01 GMT
Reply-To: [EMAIL PROTECTED]
On 9 Jan 2001 10:04:21 -0800, [EMAIL PROTECTED] staggered into
the Black Sun and said:
>Apperently, and this is in no documentation that I can find,
>the ide-scsi device does not work with multisession disks created
>with cdrecord.....not entirely sure, but I seem to remember using
>one created with EasyCD just fine...that would be really odd.
>I put the disk in a different drive and it worked just fine...one
>that is not emulating a scsi device.
That's not the case, at least with my cheap CD-RW and kernel 2.2.18.
The only problem that I've seen happen frequently wrt multisession discs
is that some drives will not recognize the session you just wrote to the
disc until you eject and re-mount the disc. Why this happens, I have no
idea, but I've seen it with 2 different models of CD-RW.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: disk space
Date: 10 Jan 2001 02:32:02 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 10 Jan 2001 01:15:16 GMT, [EMAIL PROTECTED] staggered into the
Black Sun and said:
>While installing linux RH6.2, I left 2 Gb of space unused from
>a 4Gb disk. ( Why? from my HP-UX experience it is possible to
>add a new logical volume and add the unused space. )
>How do I add another partition to the disk and use the 2Gb unused
>space without re-installing Linux?
fdisk, create a new partition in the unused space, mke2fs that
partition, and then mount that partition on a mountpoint somewhere
(adding the correct entry to /etc/fstab of course.) If this is a
personal machine and you have a lot of stuff in /home, make this new
partition your /home partition, if you need lots of space in /usr, make
it your /usr partition, et cetera. Or make a few partitions and
distribute the space around where it will do the most good. (
/usr/local , /home/yourself , /tmp , /var , ...)
Or use Linear Append Mode to "append" the partition onto your existing
partition. This requires a bit more fiddling, and I'm not really sure
how to go about doing it, but do a Google search and see what you get.
The LVM stuff you mention is a fairly recent addition to Linux. Again,
do a Google search, though there is an LVM-HOWTO that may be slightly
out of date since kernel 2.4.0 is out.
>Also how do I increase the swap? ( I just increased the RAM to 96MB. )
The old rule ("swapsize = 2*RAMsize") is not really relevant. The new,
more complex rule is "RAM+swap = 1.5*(Largest working set of the largest
program you use)." If you have changed the programs you run
dramatically, you might need to devote 64M of the unused 2G you
mentioned to another swap partition, but I seriously doubt that's the
case.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: Michel Catudal <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: changing linux OS form 7.0 to 6.2
Date: 9 Jan 2001 20:40:18 -0600
Don a �crit :
>
> Here's a question that I doubt I'll get a positive response but here's
> hoping.
>
> I'm using RedHat Linux 7.0 and NOT liking it. Many problems trying to
> run Perl modules that don't seem to function in 7.0
>
> I've verified that they function on a 6.2 platform.
>
> My question is, can I downgrade from 7.0 to 6.2 without losing
> everything? If not, what suggestions are there for doing so
> efficiently.
>
> Thanks,
> Don
Try to upgrade to SuSE 7.0, works great, one of the best distributions I've had
in years. SuSE 6.3 and 6.4 had some unstability problem and the locale didn't
work very well. This version works great. I have no problems with perl.
--
Tired of Microsoft's rebootive multitasking?
then it's time to upgrade to Linux.
http://www.netonecom.net/~bbcat
We have all kinds of links
and many SuSE 7.0 Linux RPM packages
------------------------------
Date: Tue, 09 Jan 2001 21:50:17 -0500
From: Glitch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: ppp problem with ISP
hi,
thanks for responding. I'll go do some research on setting it up and
then i'll reboot into Linux and see what I can come up with.
i'll let u know how things go.
brandon
John-Paul Stewart wrote:
>
> Glitch wrote:
> >
> > Mark Addinall wrote:
> > > Make sure your pap-secrets file is set up with
> > > your fully qualified username and password.
> > >
> > > >
> >
> > i use kppp, do i still have to setup my pap secrets file? if so maybe
> > that is the problem but i dont think it is, but i could always be wrong.
>
> YES!!! You haven't followed the instructions properly.
> Peter T. Breuer has been right. The problem is not pppd,
> it's YOU. Setting up pap-secrets is REQUIRED. Kppp is just
> a fancy frontend to pppd. It doesn't replace it. It
> (basically) gives you a graphical dialog for input instead
> of command line parameters. It just calls pppd with the
> appropriate params. Now, go fix pap-secrets!
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: Login name and Pass word`
Date: Wed, 10 Jan 2001 02:49:12 GMT
Wayneq wrote:
>
> Hello i have Linux RedHat install along with Win98 it has been a long time
> sence I have messed with Linux and I have for got my Login name and
> Password, it comes up in Xwin I think, how do I change or find out what my
> Login name and Password is ?? I know a real Dumby.....
> thanks for the help, their is not anyone around me to help.
At the lilo prompt enter "linux 1" when it gets to the bash prompt it
will be in root. Enter "passwd" and then enter new password for root.
Then you can go to run level 3 or 5 with the command "init 5" or 3
depending which runlevel you want. Then as root you can change the user
passwords.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 98.990% of seti users. +/- 0.01%
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: tar questions
Date: Wed, 10 Jan 2001 02:53:09 GMT
[EMAIL PROTECTED] wrote:
>
> Hi all,
>
> first sorry for my name, is just for anti spam and privacy reason.
> second sorry if this group is wrong, couldn't find a better one.
>
> Questions:
> 1. is there any newsgroup specially for backup programs, special under
> linux?
>
> 2. where can i get the latest version of gnu tar, in SuSE 7.0 i have
> 1.13.17, often 1.13.18 is mentioned, on gnu.org i can only find 1.13,
> somewhere else i saw 1.13.18 for alpha.
>
> 3. i want tar to collect the daily incremental backups on one tape (for
> each day) - that works -; when this tape is full tar should rewind and
> restart the job. anyone any suggestion how to do this? - for those of
> you who want to know why, we'd like to combine hardware-stress-saving
> and a longer history in changed files by doing one weekly full and
> daily
> differential backups. one tape can hold three full or plenty diff.
> backups. to have automated run the above routine is best i can think
> of.
>
> 4. i'd like a (email) notification when the tape is overwritten, how?
>
> 5. how can i have the tape labeled and checked during the day -
> automatical - so that in the night there would be the right tape in the
> drive? (email to user when tape is not changed until 12 o'clock).
>
> 6. is there any possibility to get qfa or a file list with block
> position for manual direct file access?
>
> 7. is there a common possibility to add crc checksums to an archive or
> the files within, to be able to check correctnes or to overcome faults?
>
> any suggestions to use other backup tools are welcome, tar looked fine
> for us because it's free, widespread, and simple.
I use the backup scripts at the link below which use cpio and afio.
ftp://sunsite.unc.edu/pub/linux/system/backup/backup-1.03.tar.gz
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 98.990% of seti users. +/- 0.01%
------------------------------
From: Anastasia <[EMAIL PROTECTED]>
Subject: Help in reading ELF file (code included)
Date: Wed, 10 Jan 2001 02:56:14 GMT
Hello. I've been trying to write a simple ELF parser with the help of
the ELF format specification document (code is below) I've created a
simple "Hello World" executable file to read called "hello" (code is
also below). The following code reads it's ELF header and iterates
through the different program headers. They are 6 of them (according to
ELFheader.e_phnum once I read the ELF header). The problem I have is
that if we are to assume that each header is of size
<ELFheader.e_phentsize>, the following output
shows overlapping between header 2 and 6.
start 52 -> end 84
start 244 -> end 276
start 0 -> end 32
start 1184 -> end 1216
start 1248 -> end 1280
start 264 -> end
296
Can anyone see what I'm doing wrong?
Thanks.
--
Quoth the penguin, "Pay No More."
a
****** PARSER CODE *******
/* elfparse.cpp - A simple ELF parser (tentative and so far incomplete)
#include <linux/elf.h> /* ELF header definitions */
#include <string.h> /* strncmp() */
#include <stdio.h> /* printf */
#include <unistd.h> /* read() and close() */
#include <fcntl.h> /* O_RDONLY and open() */
#define O_BINARY 0
int main()
{
/* Open a.out file */
int file = 0;
if ((file = open("hello", O_RDONLY | O_BINARY)) == -1)
return -1;
/* Read ELF header - Integrity is assumed here - I have code that
checked this */
Elf32_Ehdr ELFheader;
read(file, &ELFheader, sizeof(ELFheader));
/* Go to program ELFheader offset */
lseek(file, ELFheader.e_phoff,SEEK_SET);
/* Iterate each program header */
for (int i=0; i<ELFheader.e_phnum; i++)
{
Elf32_Phdr progHeader;
read(file, &progHeader, sizeof(progHeader));
printf("start %d -> end %d\n", progHeader.p_offset,
progHeader.p_offset + ELFheader.e_phentsize);
}
/* Close object file */
close(file);
}
********** HELLO WORLD CODE *************
#include <stdio.h>
int main()
{
char message[] = "Allo tout le monde";
printf("%s\n", message);
return 0;
}
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************