Linux-Misc Digest #121, Volume #25 Thu, 13 Jul 00 06:13:02 EDT
Contents:
Settine passwords from a script (Atika Mustafa)
Re: GNU tar question multiple volumes (B'ichela)
Re: Settine passwords from a script (Juergen Leeb)
Re: Kernel too big (Edward Lee)
What do I need to play VCD on my Linux box? (XWinger)
Re: IP aliasing to a different network (Lilia Vogt)
Re: Settine passwords from a script (Prasanth A. Kumar)
Problems with a new ZIP-drive (Thorsten Lange)
Re: Which one to use ([EMAIL PROTECTED])
Re: DDS compression (Elliot)
Avermedia Tv 98 Capture ("Mimo")
What's lost+found ("Chew GH")
Re: Incorrect Kernel Version in System.map (Akira Yamanita)
winlinux2000 boot
Re: xwindows with EGA (Valentin Guillen)
----------------------------------------------------------------------------
From: Atika Mustafa <[EMAIL PROTECTED]>
Subject: Settine passwords from a script
Date: Thu, 13 Jul 2000 06:00:06 GMT
I have installed RedHat Linux 6.1. I have to create 150 user accounts
with their passwords. The accounts are numbers in sequence so I have
created them by making a simple script using a counter and
the 'adduser' utility. Now I have to set their passwords.
I was thinking of doing this: generate a random string, set the
password of the user (userid can easily be formed through a simple
counter) and write both info in a file for reference.
Is their any utility to set password from commandline . Something like
below that can be written in a script:
# $userid is available
# $pass is generated
adduser $userid # and other required switches
password $userid $pass
echo $userid $pass>>file
Thanks
Atika
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (B'ichela)
Subject: Re: GNU tar question multiple volumes
Date: Thu, 13 Jul 2000 02:09:24 -0400
Reply-To: [EMAIL PROTECTED]
On 12 Jul 2000 05:36:45 GMT, Krzys Majewski <[EMAIL PROTECTED]> wrote:
>Still better, and worse:
>
>From the info page:
>
>To check for discrepancies in an archive immediately after it is
>written, use the `--verify' (`-W') option in conjunction with the
>`--create' (`-c') operation. When this option is specified, `tar'
>checks archive members against their counterparts in the file system,
>and reports discrepancies on the standard error. In multi-volume
>archives, each volume is verified after it is written, before the next
>volume is written.
I cannot RESTORE from a multi-volume archive! I get the first
volume. but TAR does not seem to see the second volume as a
continuation of the first! heres an example (its simple but it
illistrates the point)
tar cvMf /dev/st0 /
ok now it makes the tape. sees tape end. asks for next tape. (from
what I hear the people using disks run into the same problem)
now I got a set of tapes made.
since I want to see whats on the tape(s) I type
tar tvMf /dev/st0
volume 1 works fine. for this lets say /usr/share/lib/stupid continues
on tape 2. After I read the first tape and insert the second as
requested I get
usr/share/lib/stupid does not continue on this tape. Insert volume 2.
Thing is,, THAT IS VOLUME 2!!!! Because of this, I cannot backup my
system using TAR and multiple tapes! How do I get around this? I have
not tried restore yet, but I HAVE tried --compare.. Same problem!
Heres a script I wrote that does NOT work with multivolumes
cd $1
tape=/dev/st0
standout=`tput smso`
normal=`tput rmso`
#the following is to try to get --multi-volume to work right its calculated as
# size in K. We want MB so its Size * 1024k
tapelen="--tape-length=122880"
label="back up system `date +%y%m%d%H%M`"
labelnew=`echo ${label} | tr " " "_"`
option="--multi-volume\
--totals\
--verbose\
--preserve\
--label=$labelnew\
${tapelen}"
echo The following options will be used
echo "The following directory of : $standout`pwd`$normal and all subdirs"
echo "Will be backed up to device: $standout$tape$normal"
echo "with the following options : "
echo -n $standout
echo $option | fmt -w `tput cols`
echo $normal
echo if these are appropate hit enter to start
read yes
tar --create --file=$tape $option .
echo Ready for the Compare phase. put first tape in the drive
echo and hit \<enter\> to begin
read yes
echo running compare phase
tar --file=$tape $option --compare
This thing works GREAT as long as my backups are one tape or less!
I tried it with Tar 1.12 and Tar 1.14 with the same dreaded
result! Am I missing something?
--
B'ichela
------------------------------
From: Juergen Leeb <[EMAIL PROTECTED]>
Subject: Re: Settine passwords from a script
Date: Thu, 13 Jul 2000 08:14:48 +0200
Dies ist eine mehrteilige Nachricht im MIME-Format.
==============28B2B2271E9F4324E0E12B16
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
there must be a command like passwd.
with it users change their password.
Maybe it is more flexible and has a quited mode.
please, let me know if it solve your problem
juergen leeb
Atika Mustafa schrieb:
>
> I have installed RedHat Linux 6.1. I have to create 150 user accounts
> with their passwords. The accounts are numbers in sequence so I have
> created them by making a simple script using a counter and
> the 'adduser' utility. Now I have to set their passwords.
>
> I was thinking of doing this: generate a random string, set the
> password of the user (userid can easily be formed through a simple
> counter) and write both info in a file for reference.
>
> Is their any utility to set password from commandline . Something like
> below that can be written in a script:
>
> # $userid is available
> # $pass is generated
>
> adduser $userid # and other required switches
> password $userid $pass
> echo $userid $pass>>file
>
> Thanks
> Atika
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
==============28B2B2271E9F4324E0E12B16
Content-Type: text/x-vcard; charset=us-ascii;
name="juergen.leeb.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Visitenkarte f�r Juergen Leeb
Content-Disposition: attachment;
filename="juergen.leeb.vcf"
begin:vcard
n:Leeb;Juergen
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Juergen Leeb
end:vcard
==============28B2B2271E9F4324E0E12B16==
------------------------------
From: Edward Lee <[EMAIL PROTECTED]>
Subject: Re: Kernel too big
Date: Wed, 12 Jul 2000 23:25:38 -0700
What we need is 32 bits BIOS to load 32 bits OS, if competition exists.
Unfortunately, I know of exactly 1 big BIOS maker, after the merger of the big
2. Well, the DOJ fell asleep on the merger.
Victor wrote:
> Is i386 ready for update or what?
> Oo, how I wish they would move on to something better.
>
> "Villy Kruse" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > On 11 Jul 2000 20:22:48 GMT, brian moore <[EMAIL PROTECTED]> wrote:
> > >On Sun, 09 Jul 2000 03:04:43 GMT,
> > > Victor <[EMAIL PROTECTED]> wrote:
> > >> Ooh, I see. So the problem is with the compression routines that zImage
> > >> uses? Ok. bzImage suits me just fine as well, I was just curious why it
> > >> failed. They should update the output make menuconfig makes because the
> > >> instruction it gave was make zImage.
> > >
> > >No, it's not the compression. ('bzImage' means 'Big zImage', and has
> > >nothing to do with 'bzip2'.)
> > >
> > >It has to do with the way the memory map of an x86 CPU is at boot.
> > >That fancy new 800MHz P3 still boots up the same as a 4.77Mhz 8088 for
> > >"compatibility" reasons. The 'zImage' uncompresses the kernel into "low
> > >memory" (ie, < 640k), the 'bzImage' uncompresses it into "high memory"
> > >(ie, > 1M). [The area between 640k and 1M is used by your video card,
> > >the BIOS, any bios 'extensions' like SCSI controllers, etc.]
> > >
> >
> >
> > Just an ajustment to this description. The bzimage is loaded chunk by
> > chink into low memory and moved to high memory. While running the loader
> > in real mode the high memory is not accessible, but there is a bios call
> > which can move chunks of bytes from low to high memory. Once the bzimage
> > is fully loaded the loader switches into protected mode and now it has
> > access to all installed memory. The problem this solves is that even
> > the compressed kernel dos not fit into low memory int its entirety.
> >
> >
> >
> > Villy
------------------------------
From: XWinger <[EMAIL PROTECTED]>
Subject: What do I need to play VCD on my Linux box?
Date: Thu, 13 Jul 2000 06:30:06 GMT
Hi, everyone. Could anyone tell me what I need to do to my Linux box to
make it play VCD's? I tried out one software from
http://www-plateau.cs.berkeley.edu/mpeg/index.html
but it does not seem to recognize VCD files with file extension ".dat"
If the VCD player says that it only plays MPEG-1 videos, what file
extension should those files have? Do I have to use some special software
to read the data from the CD-ROM drive or I can just mount it as usual?
Thanks for your help in advance.
XWinger
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Lilia Vogt <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: IP aliasing to a different network
Date: Thu, 13 Jul 2000 08:48:43 +0200
Thanks to everybody who answered my posting!!!
I found out that the problem was the ARP cache of the router. The addresses
I was using were previously assigned to another machine and the router had
the wrong MAC address.
Regards, Lilia
Lilia Vogt wrote:
> I need to give several IP addresses (aliases) to the same NIC. It works
> if the alias addresses are on the same network, but it doesn't work of
> the alias address is on a different network than the main IP.
>
> What I did is:
>
> ifconfig eth0:0 <alias IP> netmask <mask>
> route add -net <alias IP network> netmask <netmask> dev eth0:0
>
> If I try to ping the alias IP address on the box itself, it works.
> However, it is not reachable from the network.
>
> All help will be greatly appriciated!!!!
------------------------------
Subject: Re: Settine passwords from a script
From: [EMAIL PROTECTED] (Prasanth A. Kumar)
Date: Thu, 13 Jul 2000 06:50:34 GMT
Atika Mustafa <[EMAIL PROTECTED]> writes:
> I have installed RedHat Linux 6.1. I have to create 150 user accounts
> with their passwords. The accounts are numbers in sequence so I have
> created them by making a simple script using a counter and
> the 'adduser' utility. Now I have to set their passwords.
>
> I was thinking of doing this: generate a random string, set the
> password of the user (userid can easily be formed through a simple
> counter) and write both info in a file for reference.
>
> Is their any utility to set password from commandline . Something like
> below that can be written in a script:
>
> # $userid is available
> # $pass is generated
>
> adduser $userid # and other required switches
> password $userid $pass
> echo $userid $pass>>file
>
> Thanks
> Atika
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Use the '--stdin' option of the 'passwd' command.
--
Prasanth Kumar
[EMAIL PROTECTED]
------------------------------
From: Thorsten Lange <[EMAIL PROTECTED]>
Subject: Problems with a new ZIP-drive
Date: Thu, 13 Jul 2000 09:20:38 +0200
Hello,
some days ago I bought a new Iomega Zip Drive for parallel port. My old
and now crashed Zip drive has been running fine with a 2.0.35 kernel.
The new drive is not detected with 2.0.35 ppa and with 2.2.14 ppa and
imm.
Can somebody help?
Thanks
Thorsten Lange
--
Thorsten Lange
EMail [EMAIL PROTECTED]
http://thola.de/
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Which one to use
Date: Thu, 13 Jul 2000 00:34:23 -0700
On or about Wed, 12 Jul 2000 10:36:29 -0700, conduit <[EMAIL PROTECTED]> scrivened:
> Hi, I am looking to re-experience installing
> linux on my computer.
> After two years i think it is time to try
> a different distribution. I am looking at either
> Slack, SuSE, or Debian.
> Now i know there must be some
> opinions out there.
> So join in on the debate.....
> Which is best ??
After 2.5 years of RH, I found Debian much friendlier to my needs --
techie, like to tweak the system try out new things, keep the system up
to date.
RedHat and Mandrake have pretty good reps at the office for
straightforward installations and configuration. RedHat's getting
better at the upgrade path, though rep still has them being a bit
cutting edge (you lead, you bleed). SuSE and TurboLinux have merits for
localization to Europe and Asia, respectively.
Of course, there's also FreeBSD (good general purpose Linux), NetBSD
(portable), and OpenBSD (secure). If you like cool graphics stuff, try
BeOS or Mac. If you're into high-end SMP, Solaris.
Pick any of the distros you've named. Learn it. You won't go wrong,
you may find something you like, you may change your mind later.
Initial, and transition, costs are low.
For your next question, install both KDE and Gnome, then run WindowMaker
;-)
--
Karsten M. Self <[EMAIL PROTECTED]> http://www.netcom.com/~kmself
Evangelist, Opensales, Inc. http://www.opensales.org
What part of "Gestalt" don't you understand? Debian GNU/Linux rocks!
http://gestalt-system.sourceforge.net/ K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
------------------------------
From: Elliot <[EMAIL PROTECTED]>
Subject: Re: DDS compression
Date: Thu, 13 Jul 2000 08:30:16 GMT
Bob Hauck wrote:
>
>
> On Mon, 10 Jul 2000 13:30:04 GMT, Elliot
> <[EMAIL PROTECTED]> wrote:
>
> >Does anyone know how to check if a DDS2 (or any DDS) drive is set for
> >Hardware compression? And to turn it on or off?
>
> "mt datcompression" works on my Caldera 2.3 box with an HP DAT tape.
>
>
> >the datcompression command is not implemented in the
> >version of mt I have.
>
Thanks to everyone for all the suggestions. I upgraded to the version
included in RH 6.2. It indeed uses datcompression and works fine.
Elliot
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
Reply-To: "Mimo" <[EMAIL PROTECTED]>
From: "Mimo" <[EMAIL PROTECTED]>
Subject: Avermedia Tv 98 Capture
Date: Thu, 13 Jul 2000 08:32:34 GMT
Does anybody know how to configure an Avermedia TV 98 Capture (Bt878 Chip)
to work under Linux?
Thanks a Lot
--
****************************************
PUTOSPAM
[EMAIL PROTECTED]
cambia XXX por ies para contestar
********************************************
************************* (:-)--
*************************
Linux registered user #180.670
------------------------------
From: "Chew GH" <[EMAIL PROTECTED]>
Subject: What's lost+found
Date: Thu, 13 Jul 2000 17:14:39 +0800
Though the lost+found directory does not appear to do anything to my RH 6.1
system, what's the function of this ubiquitous directory? Everytime I make a
file system on the floppy, this directory is automatically created. Why? How
could I disable the creation of this directory everytime I mkfs?
------------------------------
From: Akira Yamanita <[EMAIL PROTECTED]>
Subject: Re: Incorrect Kernel Version in System.map
Date: Thu, 13 Jul 2000 09:13:14 GMT
Michael Westerman wrote:
>
> also instrested (i deleted mine to avoid that message with out any known
> adverse effect.
I've never checked out what it was for but I found this. The page
was cached by Google which is why I'm posting it here instead of
pointing you to the URL which will expire when Google updates the
index.
=======================================================================
What is the System.map file?
Every time you compile a kernel, a list is created which holds the
address locations of important variables and functions within the
kernel being compiled. This list is saved in a file called
System.map in the top of the kernel directory source tree, usually
/usr/src/linux. We call this information the `kernel symbol table'.
What is System.map used for in kernel space?
When a protection fault occurs, the klogd daemon translates important
addresses (meaningless to us) in the kernel to thier symbolic
equivalents (meaningful to us). This translated kernel message is then
forwarded through whatever reporting mechanism klogd is using. The
fact that the addresses get translated makes it easier for us to
decipher what went wrong during the fault. A kernel developer can
determine exactly what the kernel was doing when the error condition
occurred.
To this end, upon daemon initialization during bootup, klogd will
look for a system map in 3 places, in the following order:
/boot/System.map
/System.map
/usr/src/linux/System.map
A few drivers will need System.map to resolve symbols (since
they're linked against the kernel headers instead of, say, glibc).
Note, there are actually two types of address resolution are performed
by klogd. The first is static translation, which uses the System.map
file. The second is dynamic translation which is used with loadable
modules and is not relevant here.
What else uses the System.map
Don't think that System.map is only useful for kernel oopses.
Although the kernel itself doesn't really use System.map, other
programs such as lsof and dosemu rely on an up to date kernel
symbol table.
What happens if I don't have a healthy System.map?
Suppose you have 4 kernels. You need 4 separate System.map files,
one for each kernel! Now if you see an error upon boot:
System.map does not match actual kernel
This error might appear together with a few other messages that say:
module XXXX could not be loaded because some versions do not match.
=======================================================================
------------------------------
From: <[EMAIL PROTECTED]>
Subject: winlinux2000 boot
Date: Thu, 13 Jul 2000 09:30:05 GMT
winlinux boots partially. the icon locations are all white-no pictures or
words. when i click on any of them, a window pops up with either all black
or all white boxes-nothing in them. if i pass over the close button, it
will show so i can close the box.
anyone have a cure that a dummy can understand?
thanks
olefahrt
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Valentin Guillen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp,comp.os.linux.setup
Subject: Re: xwindows with EGA
Date: Tue, 11 Jul 2000 22:03:59 -0600
Damir,
If you can do it, here's how I would proceed in attempting.
Check the documentation for your distribution of GNU/Linux to see what
the procedure is to do a TEXT-mode installation. Proceed normaly with
the installation, but you will probably need to select an advanced, or
Expert-mode setup, so that you can ensure you can select the packages to
be installed. You need to be able to ensure that you install a
Text-Mode configuration utility for configuring X.
Run the text-mode configuration, indicating during the configuration
that this is an ega video card, or alternately, specifying the video
resolution to be used as 640x400, and NOT 640x480, which is VGA mode.
Many of the popular video configuration utilities will install many
video modes with lots of timings to chose from for each resolution.
These would be immediately visible when examining the XF86Config file.
You could open up your config file and "comment out" or disable any
resolution information, except for the 640x400 lines. Also, when
specifying the maximum vertical refresh frequency, specify 60hz and for
the horizontal scan rates, indicate the range of 25~32kHz
This will cause the vid config utility to write a config file with data
for frequency rates the ega card can handle.
Regards,
Valentin Guillen
if you need to write back, remove the capitalized letters in email
address
------------------------------
** 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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************