Linux-Setup Digest #248, Volume #19 Wed, 26 Jul 00 09:13:09 EDT
Contents:
Re: Adding User Accpunts in a Script ("Gerhard W. Gruber")
Re: shortcuts ("David ..")
Where to find rescue disk with fsck ? (Hong Fang)
Re: Brother M-1509 printer (Svend Garnaes)
What is proper sysntax for combined logging? (BadBoo)
s.n.a.f.u. v0.2 ("Uncle")
Help with multi-OS/multiboot (****____****Diaper Changer****___****)
How to change font size in console mode (RH 6.2)? (rhys)
Re: GFC2206 (Michael Mitchell)
Re: how config xwindows to use kde? (Michael Mitchell)
Re: Where to find rescue disk with fsck ? (David Nordstedt)
Re: shortcuts (Lew Pitcher)
Re: shortcuts (Zebee Johnstone)
Re: Where to find rescue disk with fsck ? (Zebee Johnstone)
Re: Starting from scratch on Alpha... (Christian Weisgerber)
Re: Help with multi-OS/multiboot (Stanislaw Flatto)
----------------------------------------------------------------------------
Date: Wed, 26 Jul 2000 10:46:41 +0200
From: "Gerhard W. Gruber" <[EMAIL PROTECTED]>
Subject: Re: Adding User Accpunts in a Script
[EMAIL PROTECTED] wrote:
> I tried the following command to create just one account:
>
> useradd -G pppusers -m -p user1 user1
>
> I am getting "login incorrect" everytime i try to login as user1 with
> password "user1". I noticed that the password field in the /etc/shadow
> file displays "user1" instead of an encrypted password for the
> account "user1". I was able to login after i changed the password of
> user1 using the passwd command.
>
> The man page for the adduser says the following for the -p password
> option:
>
> "the encrypted password, as returned by crypt(3)".
It's right before you nose. The manual says you have to supply the
ENCRYPTED password. You are supplying the plain password.
So simply do
pwd = perl -e "print crypt('user1', 'xx');" and you have your password.
The actual perl statment may be wrong as I don't have a machine to try
it but if memory serves me right this would be the commandline.
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: shortcuts
Date: Wed, 26 Jul 2000 03:36:38 -0500
Martin wrote:
>
> hello,
> I don't know how to add shortcuts to my desktop or how to to configure my
> startmenu.
>
> Thanks for helping
To add a short cut to the desk top:
right click on the desktop and choose new launcher.
then fill in the blanks. where it says Command you would enter the full
path to the command something like this: /usr/bin/gtop
To add something to the menu/startmenu you would:
open the menu
then choose panel
then choose add to panel
then choose launcher.
The best thing to do is setup a user account and experiment. If you
screw up that user account you can remove it and start again without
damaging the system.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: Hong Fang <[EMAIL PROTECTED]>
Subject: Where to find rescue disk with fsck ?
Date: Wed, 26 Jul 2000 04:47:39 -0400
Hello,
One of my linux OS failed to load on boot up. I have tried to find a rescue
disk to check the file system on that machine. It seems that the /dev/hda5,
which is where the root located, has some problems. Does anyone know which
rescue disk has fsck build in? Or are there other ways to correct this
situation? Thank you.
- Fang Hong
------------------------------
From: Svend Garnaes <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Brother M-1509 printer
Date: Wed, 26 Jul 2000 10:53:36 +0200
Michael Mowbray wrote:
[snip]
> It works fine for text under MS-DOS but Windoze doesn't want to know
> about it.
Then it _can_ be made to work under Linux.
> Linux (Red Hat 6.2, kernel 2.2.14.something I think) will print to it
> but the command
>
> # echo 012456789 >/dev/lp0
>
> resulted in every second character being lost. I set up a printer
> (rather than dump to the raw device) and replaced the default input
> filter script (which resulted in no output) with a simple c program
> that duplicates each letter input to it. For the trivial 'echo'
> example
>
> # echo 0123456789 | lpr
>
> this produced perfect output with no missing characters. Larger
> output, however, e.g. ls -l | lpr, still results in (seemingly)
> random dropping of characters, around 25-30% loss I'm guessing.
> The actual characters lost are *not* consistent between subsequent
> runs of identical listings.
>
> Thinking it was a timing issue, I rewrote the input filter program to > *not*
>duplicate letters but instead to introduce a delay between
> letters. This is still resulting in missing characters around the
> same %age but definitely *not* every second one. It also resulted
> in a damn slow printout.
[snip]
Have you tried installing and using the tunelp utility?
--
Svend
------------------------------
From: BadBoo <[EMAIL PROTECTED]>
Subject: What is proper sysntax for combined logging?
Date: Wed, 26 Jul 2000 09:01:59 GMT
I am trying to log to both the local drive an remotely.
Currently I am doing this as such:
authpriv.* /var/log/secure
authpriv.* @111.222.333.444
This works.
I would like to do something like this:
authpriv.* /var/log/secure;@111.222.333.444
But when I do, it creates a file called /var/log/secure;@111.222.333.444
Does anyone know the correct way to do this?
Bruce Meyer
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Uncle" <[EMAIL PROTECTED]>
Crossposted-To:
comp.programming,comp.unix.admin,comp.unix.misc,comp.unix.programmer,comp.unix.shell
Subject: s.n.a.f.u. v0.2
Date: Wed, 26 Jul 2000 09:44:22 GMT
alright, got a new versoin of snafu for ppl to try out.
v0.2 is currently in a working alpha stage. while
the goal of the program is still the same, to aid in
the setup/troubleshooting/monitoring of linux
systems (hopefully *nix soon), it works a bit
different now.
Instead of the user just picking selections from a menu,
they build the menus themselves. The idea being,
an admin knows what files need to be edited, watched,
run, etc., while working on a particular job (sendmail,
DNS, managing users, etc.) so snafu lets them put
all the command lines they use to perform that task
in a single menu.
Features currently working:
- menu mangement and backups
for the main menu and user created menus
- live log (file) and command output
monitoring (via /usr/bin/watch)
- log (file) viewing (using more or less)
Under development for stable v0.2
- add any command line to user menus
- a command developer sub-shell, the last
command run before the sub-shell exits
is put into the menu.
- log (file) and filesystem searches
- snitches: a script run in
the background that watches a log
for a pattern. If the pattern occurs,
the admin is emailed, or whatever.
- grep and awk filters for watches
and log views.
- some kinda script config so the number
of lines to watch, or the refreshrate can
be changed from the menus.
- a feature to allow ppl to email the
menus they've created.
If your interested in testing it, goto:
http://www.geekcave.net/snafu.shtml
or click on this link to d/l directly from
this post:
http://www.geekcave.net/pub/snafu-0.2alpha.tar.gz
(i'll be updating this file as i get things working)
Any comments, responses and so on can be posted here
on this thread or emailed to me.
Thanks,
Uncle
[EMAIL PROTECTED]
www.geekcave.net
IRC: #linuxsupport
------------------------------
From: ****____****Diaper Changer****___**** <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,comp.sys.ibm.pc.hardware.storage
Subject: Help with multi-OS/multiboot
Date: 26 Jul 2000 10:12:40 GMT
Reply-To: [EMAIL PROTECTED]
I would *like* to set up Win98, NT4, Win2k and Mandrake-Linux 7.2.
My goals:
1) To get each OS's basic files on it's own partition, and format that partition
"optimally" for each OS
2) To share temp file space and swap file space, each OS would use the same
partition for temp files and each OS would use the same partition for swap file
(obviously needs to be FAT16)
3) Have space for installation of games, data, and applications separate from
each of
This is what I *plan* on doing now (I have 2 ATA66 hard drives, 18GB apiece)
1) Use FDisk and partition the 1st physical drive as follows:
a) 500 MB for C: active (FAT16)
b) 3 GB for E: -->WinNT (NTFS)
c) 3 GB for F: -->Win98 (FAT32)
d) 4 GB for G: -->Win2k (NTFS)
e) 6 GB for H: -->Linux (?? - still learning -all files and apps on same
partition for now)
f) remainder for I: --> each OS temp files (FAT16)
2) Partition my 2nd physical drive :
a) 500MB for D: -->Each OS's swapfile, ~500 MB (FAT16)
b) 8 GB for K: FAT32, for games and kids stuff
c) 8 GB for L: NTFS, for Office/productivity crap for Win2k/NT
d) remainder FAT16 for moving crap between OS's (i.e. from Win98 to Linux or NT,
or vice versa)
It *seems* like I shouold be able to do it. Am I correct in thinking that each
of the MS OS's will install their basic boot files to the primary partition on
drive 0, then I can set each OS to install to a different folder on whatever
drive.
I have read in places that NT has restrictions on where you can install it.
Something about being within the first 4 GB or something. Not sure if I'm
correct or not.
I also read that I have to use an "updated" driver so NT will recognize that my
drive is bigger than 2 GB (or is it 8 GB that NT can read normally?)
I know I should load Linux last because unlike an MS operating system, Linux
won't try and overwrite partitions with "competitor's" OS's on it
(heh...bastages!)
So, I guess my questions are:
1) Is it *possible* to do this, or am I way off?
2) If it is possible, does this seem like a viable plan, or is there a "much
better way" to do it?
3) Is there something about NT that will prevent me from installing as above?
What about Win2k? Does it have to be installed "within the first 4 GB" crap
that NT4 has?
4) Will I be able to assign I: as the temp file for each OS and d: as the
swapfile for each OS?
5) Linux don't care where it's installed, and LILO will now be able to access
all of those drives (version 21 and before couldnt' go past 8 GB or something,
right?
I will install all OS's using ATA33, then later go back and install the
appropriate ATA66 drivers. :)
Any help on this headache-inducing matter greatly appreciated.
Thanks!!!
------------------------------
From: rhys <[EMAIL PROTECTED]>
Subject: How to change font size in console mode (RH 6.2)?
Date: Wed, 26 Jul 2000 11:26:03 +0000
I want to reduce the font size in ttys for when I'm using vim.
SVGATextMode refuses to work for me because it recognises the onboard
AGP graphics which I'm not using instead of the Mach64 PCI card. Is it
possible to change it through bash or vim's config?
thanx,
rhys
------------------------------
From: Michael Mitchell <[EMAIL PROTECTED]>
Subject: Re: GFC2206
Date: Wed, 26 Jul 2000 10:54:53 GMT
Open up the box, pull the card and write down anything that is readable.
If its plug and play or jumperless, then disable plug and play support in
the bios. While in Windoz, check your system info on the device, write
down which IRQ its using, etc. Go to www.linux.org or other Linux sites
and check the hardware compatibility list. Easy route is too get a card
that you know will work. Try kernelcfg and see if its in the list. Did
you enable network support during installation?
[EMAIL PROTECTED] wrote:
> I was wondering (I asked in comp.os.linux.hardware, but no luck so far)
> about a LAN (Ethernet) card I got with my new computer: Windows reports
> it as GFC2206... Anyone has any ideas about Linux? I have Suse 6.4 and
> it does not see it by default. Is it compatible with something else?
> Any setup tips? If not I just get a 3com or Intel...
> Thanks for any help.
>
> Peter
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: Michael Mitchell <[EMAIL PROTECTED]>
Subject: Re: how config xwindows to use kde?
Date: Wed, 26 Jul 2000 11:03:42 GMT
Try the Desktop switching tool, it should be there
Rui Amaral Santos wrote:
> sylvain hutchison wrote:
>
> > Shouldn't it ask you what you want to use at the login box???
> >
>
> No. When type startx --->Gnome!
> Mayby i haven't instaled kde package?
> It's Linux Mandrake.
>
> >
> > Rui Amaral Santos wrote:
> >
> > > How can i config xwindows to use kde by default?
> > > Right now is using Gnome!
> > >
> > > --
> > >
> > > Best Regards,
> > >
> > > Rui Amaral Santos
> > >
> > > mailto:[EMAIL PROTECTED]
> > > http://alumni.dee.uc.pt/~ramaral
>
> --
>
> Best Regards,
>
> Rui Amaral Santos
>
> mailto:[EMAIL PROTECTED]
> http://alumni.dee.uc.pt/~ramaral
------------------------------
From: David Nordstedt <[EMAIL PROTECTED]>
Subject: Re: Where to find rescue disk with fsck ?
Date: Wed, 26 Jul 2000 07:52:02 -0400
Hi,
At http://www.toms.net you can find "The most linux on one floppy disk".
It has many utilities and I'm pretty sure fsck is on it.
Hong Fang wrote:
>
> Hello,
>
> One of my linux OS failed to load on boot up. I have tried to find a rescue
> disk to check the file system on that machine. It seems that the /dev/hda5,
> which is where the root located, has some problems. Does anyone know which
> rescue disk has fsck build in? Or are there other ways to correct this
> situation? Thank you.
>
> - Fang Hong
--
David R. Nordstedt
=============================
[EMAIL PROTECTED]
[EMAIL PROTECTED]
=============================
http://grove.ufl.edu/~davidrn
http://www.afn.org/~afn01653
------------------------------
From: [EMAIL PROTECTED] (Lew Pitcher)
Subject: Re: shortcuts
Reply-To: [EMAIL PROTECTED]
Date: Wed, 26 Jul 2000 12:08:29 GMT
On Wed, 26 Jul 2000 03:36:38 -0500, "David .."
<[EMAIL PROTECTED]> wrote:
>Martin wrote:
>>
>> hello,
>> I don't know how to add shortcuts to my desktop or how to to configure my
>> startmenu.
>>
>> Thanks for helping
>
>To add a short cut to the desk top:
>right click on the desktop and choose new launcher.
>then fill in the blanks. where it says Command you would enter the full
>path to the command something like this: /usr/bin/gtop
>
>To add something to the menu/startmenu you would:
>open the menu
>then choose panel
>then choose add to panel
>then choose launcher.
Gee, are you _sure_ that this is right?
I just tried it under fvwm (my window manager of choice here), and I
couldn't even get an option to choose a new launcher.
>The best thing to do is setup a user account and experiment. If you
>screw up that user account you can remove it and start again without
>damaging the system.
To the OP: What Linux distribution and X window manager are you using.
The customization options depend on which window manager is in use
(different WMs have different methods of customization). Ifile editing
is part of the setup, then we also need to know which distribution you
use because each distro has it's own favourite places to put the WM
config files.
Lew Pitcher
Information Technology Consultant
Toronto Dominion Bank Financial Group
([EMAIL PROTECTED])
(Opinions expressed are my own, not my employer's.)
------------------------------
From: [EMAIL PROTECTED] (Zebee Johnstone)
Subject: Re: shortcuts
Date: 26 Jul 2000 11:38:25 GMT
Reply-To: [EMAIL PROTECTED]
In comp.os.linux.setup on Wed, 26 Jul 2000 07:30:06 GMT
Martin <[EMAIL PROTECTED]> wrote:
>hello,
>I don't know how to add shortcuts to my desktop or how to to configure my
>startmenu.
>
I can tell you how it's done in the window manager I use.
I can't tell you how it's done in the one you use, cos I don't know
what that is.
If you don't know, then say what distribution you are using and what
version.
Also say what you have tried.
--
SAGE-AU: The System Administrator's Guild. www.sage-au.org.au
To advance the profession of System Administration by raising
awareness of the need for System Administrators, and educating
System Administrators in technical as well as professional issues.
------------------------------
From: [EMAIL PROTECTED] (Zebee Johnstone)
Subject: Re: Where to find rescue disk with fsck ?
Date: 26 Jul 2000 11:42:55 GMT
Reply-To: [EMAIL PROTECTED]
In comp.os.linux.setup on Wed, 26 Jul 2000 04:47:39 -0400
Hong Fang <[EMAIL PROTECTED]> wrote:
>Hello,
>
>One of my linux OS failed to load on boot up. I have tried to find a rescue
>disk to check the file system on that machine. It seems that the /dev/hda5,
>which is where the root located, has some problems. Does anyone know which
>rescue disk has fsck build in? Or are there other ways to correct this
>situation? Thank you.
>
I like Tom's Root Boot Disk.
It's linux on a floppy which has a pile of Really Useful Things. You
can boot any system with it, and do all sorts of things including
network and ppp.
http://www.toms.net/rb/home.html
else you can try
http://home.sol.no/~okolaas/hal91.html
But Tom's rtbt is the way to go.
Zebee
--
SAGE-AU: The System Administrator's Guild. www.sage-au.org.au
To advance the profession of System Administration by raising
awareness of the need for System Administrators, and educating
System Administrators in technical as well as professional issues.
------------------------------
From: [EMAIL PROTECTED] (Christian Weisgerber)
Crossposted-To: comp.os.linux.alpha
Subject: Re: Starting from scratch on Alpha...
Date: 26 Jul 2000 12:36:50 +0200
John Beardmore <[EMAIL PROTECTED]> wrote:
> >Start with http://www.netbsd.org.
>
> OK, but the AlphaServer 2100 isn't listed as supported hardware.
Hmm, right. Pointers to development snapshots for this platform
have been posted to the NetBSD port-alpha mailinglist.
The AlphaServer 2100 will be supported in FreeBSD 4.1, to be released
any day now.
--
Christian "naddy" Weisgerber [EMAIL PROTECTED]
------------------------------
From: Stanislaw Flatto <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,comp.sys.ibm.pc.hardware.storage
Subject: Re: Help with multi-OS/multiboot
Date: Wed, 26 Jul 2000 22:49:35 +0000
****____****Diaper Changer****___**** wrote:
> I would *like* to set up Win98, NT4, Win2k and Mandrake-Linux 7.2.
>
> My goals:
>
> 1) To get each OS's basic files on it's own partition, and format that partition
> "optimally" for each OS
> 2) To share temp file space and swap file space, each OS would use the same
> partition for temp files and each OS would use the same partition for swap file
> (obviously needs to be FAT16)
> Any help on this headache-inducing matter greatly appreciated.
>
> Thanks!!!
Hi there Noname!
Reading your "project" I do not know if to laugh or to cry.
Mixing NT4 and Linux (both multiuser with extensive administrative possibilities)
with "user friendly" varietes of MS-Glassware (don't know the 2k creature) misses
the practical aspects.
The first obstacle you encounter when PNP devices are configured by the egoistic
OS's in such a way that the others cannot access them later and the configuration
may change each time you boot the OS.
If you want to manualy administer each OS configuration - feel free to do it.
On more practical level - VMware can run virtual machines under Unix/Linux or
MS-Windows and uses the devices as configured in basic OS.
Swap files should be configured to each system requirements, strange formatting
while possible reduces performance.
If you have friendly chemist ask him for 1 litre bottle of Valium and a gross of
headache pills.
And quoting SuSE "Have a lot of fun..."
--
Stanislaw on Slak 7.1
Registered on Linux counter No. 162760.
Even put Ulladulla on their database.
------------------------------
** 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.setup) 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-Setup Digest
******************************