Linux-Misc Digest #353, Volume #19 Sun, 7 Mar 99 20:13:06 EST
Contents:
suid (Homer Wilson Smith)
problem compiling dosemu (Dennis Putnam)
Re: FreeAgent for Linux (Rudy Taraschi)
Re: mail program required to handle attachments (Rudy Taraschi)
Svgalib & 3dfx (Tim Coninx)
Re: linux for beginers ("i.am/dof")
Re: using dos (dosemu) - new to this group (Jason Kircher)
making a CD image using dd (problems) ([EMAIL PROTECTED])
Re: ADI monitor help (Donovan Rebbechi)
Re: Linux client for Exchange Server (Cameron McElhinny)
Re: xdm problems - can't shutdown ([EMAIL PROTECTED])
Re: stupid tar question (Ed Cogburn)
Re: linux 2.2.2, lpdPLP and lp0 (Ed Cogburn)
Re: chrony and hardware clock (John Hasler)
Running behind your back: Crontab defaults? (oak)
Re: making a CD image using dd (problems) (Ronald Benedik)
xntp on RH linux 2.0.36? ("Tom Jenkins")
Best value in CPU for linux (Bob van der Poel)
Re: swapon -s: /proc/swaps: No such file or directory (Dieter Rohlfing)
Re: xdm problems - can't shutdown ([EMAIL PROTECTED])
ssh does not accept my password (peter)
Re: Is there something I could use besides chat? (mist)
----------------------------------------------------------------------------
From: Homer Wilson Smith <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.perl.misc
Subject: suid
Date: Sun, 7 Mar 1999 17:32:30 -0500
Running Linux 2.0.35
Max,
Consider
proggy.c
proggy* which is set uid root chmod 4710
proggy.pl
proggy.c calls proggy.pl and is compiled into proggy*
Proggy.pl contains the usual lines necessary for secure
running of suid scripts. It also contains.
system ("cp file1 file2");
This works fine. However
system ("id && cp file1 file2");
system ("id ; cp file1 file2");
fail to do the copy with permission denied and the id shows that it is
not running setuid root.
system ("cp file1 file2 2>&1")
also fails with permission denied.
Why?
Both work fine under SunOS 4.1.4.
I need to be able to catch the error output of the system command,
like so:
$data = `cp file1 file2 2>&1`;
print "$data";
But this fails just as the above system calls fail.
I also need to be able to do simple compound shell statements
system ("cd /home/user && whatever");
What am I doing wrong?
Thanks Homer
========================================================================
Homer Wilson Smith The paths of lovers Art Matrix - Lightlink
(607) 277-0959 cross in Internet Access, Ithaca NY
[EMAIL PROTECTED] the line of duty. http://www.lightlink.com
------------------------------
From: [EMAIL PROTECTED] (Dennis Putnam)
Crossposted-To: comp.os.linux.setup
Subject: problem compiling dosemu
Date: Sun, 07 Mar 1999 18:38:41 GMT
When I do 'make' to compile dosemu-98.4 I get an error. I suspect I
may be missing a needed package but from the error I cannot tell what
it is. Can someone figure out from the error message below what I am
missing. TIA.
...
make[2]: Leaving directory `/usr/src/dosemu-0.98.4/src/base/bios'
rm -f /usr/src/dosemu-0.98.4/0.98.4.0/bin/libdosemu
rm -f /usr/src/dosemu-0.98.4/0.98.4.0/bin/dos
gcc -Wl,-warn-common -o /usr/src/dosemu-0.98.4/0.98.4.0/bin/dos \
emu.o base/data.o -Llib -L. \
-lenv_video -lbase_async -larch_linux_async -lbase_misc
- -lbase_dev_misc -lemu-i386 -lenv -lbase_speaker -lbase_dev_pic
- -ldosext_dpmi -ldosext_mfs -ldosext_misc -lbase_init -lbase_serial
- -lbase_keyboard -lbase_mouse -lbase_dev_dma -larch_linux_debugger
- -ldosext_net_net -larch_linux_dosext_sound -ldosext_sound
- -ldosext_drivers -lbase_bios -lenv_video -lbase_async
- -larch_linux_async -lbase_misc -lbase_dev_misc -lemu-i386 -lenv
- -lbase_speaker -lbase_dev_pic -ldosext_dpmi -ldosext_mfs
-ldosext_misc
- -lbase_init -lbase_serial -lbase_keyboard -lbase_mouse
-lbase_dev_dma
- -larch_linux_debugger -ldosext_net_net -larch_linux_dosext_sound
- -ldosext_sound -ldosext_drivers -lbase_bios \
-Wl,-b,a.out-i386-linux base/bios/bios.o env/video/vesabios.o \
-Wl,-b,elf32-i386 \
-larch_linux_slang-elf -lm -lc
lib/libenv_video.a(attremu.o): In function `Attr_init':
attremu.o(.text+0x7): undefined reference to `vga'
make[1]: *** [/usr/src/dosemu-0.98.4/0.98.4.0/bin/dos] Error 1
make[1]: Leaving directory `/usr/src/dosemu-0.98.4/src'
make: *** [default] Error 2
------------------------------
From: [EMAIL PROTECTED] (Rudy Taraschi)
Subject: Re: FreeAgent for Linux
Date: Sun, 07 Mar 1999 18:45:50 GMT
Reply-To: [EMAIL PROTECTED]
Hi Stuart,
> I think you've missed the point with leafnode. It works something
> like this.
[excellent description snipped]
You're right! I did miss the point. Thanks for clearing that up. It
sounds like leafnode IS what I need. The only thing that concerns me is
> View the messages you want, at this point you wont see the message,
> just a note from leafnode that it is now selected for download.
Does this mean that I have to call up each message one by one in order
to 'tag' it? I'd like to use tin, so does that mean I have to view
every message in a thread, or just the top message?
Another poster (tony) suggested:
> now i use slrn with slrnpull. it will do what you want.
I'll be looking into that also. I would like to divorce myself from any
Windoze apps, so I wil not be considering Wine. Thanks to all who
participated in this thread.
rudy
------------------------------
From: [EMAIL PROTECTED] (Rudy Taraschi)
Subject: Re: mail program required to handle attachments
Date: Sun, 07 Mar 1999 18:45:49 GMT
Reply-To: [EMAIL PROTECTED]
Hi Darren,
> im looking for a mail program that will allow me to do something like:
>
> SendMailTo [EMAIL PROTECTED] file1 file2
>
> where file1 is the mail message and file2 is an attachment.
Look for something called 'mpack'. If memory serves, it's syntax is:
mpack -s subject -d file1 file2 [EMAIL PROTECTED] [EMAIL PROTECTED]
As a bonus, it comes with the complementary 'munpack'. If you have
trouble locating it, give me a shout and I'll try to dig up my version
and sent it to you. Cheers!
rudy
------------------------------
From: Tim Coninx <[EMAIL PROTECTED]>
Crossposted-To: be.comp.os.linux
Subject: Svgalib & 3dfx
Date: Sun, 7 Mar 1999 19:42:14 +0100
Hi,
I have got a Monster 3d installed, read almost everything i could about it,
and installed a few things (mesa, glide, device driver, glut).
The thing works, but only when it doesn't need any svgalib resources.
I was having trouble with my svgalib configuration (although it didn't give
any important problems, it wouldn't get to work) so i tried to uninstall
everything about svgalib, and install the so-called svgalib-dummy (to maintain
the dependencies).
Now, still, when i try to run glquake or quakeII, it keeps giving error
messages from svgalib (not about svgalib, but from svgalib), so apparently,
there still is something installed.
Does anybody know of a good resource for svgalib configurations (the package
itself says it is intended for _some_ S3 chipsets, i am using a Diamond
Stealth S3Virge chipset) ?
Also, does anybody have some tips about wich packages to install to get
glquake running ?
I am using Debian 2.0 with Linux 2.2
Thanks in advance
Tim
------------------------------
From: "i.am/dof" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux
Subject: Re: linux for beginers
Date: Sun, 07 Mar 1999 18:15:38 +0000
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
> I am a windows 95 user who wants to put linux on a pentium 75 laptop i have.
> I was wondering what experienced users recomend as far a version of the linux
> os. Any help would be great, thanks
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
redhat 5.2 is probably the easiest for a newbie to configure and sort out.
I suggest you buy a book,.. there are many "Linux in 24 hours" type books
about......
many of them also come with a distribution of linux too... (normally redhat too)
( i myself have Sans "teach yourself linux in 24 hours" by Bill Ball (as many
linux books seem to be) :-) )
dof.
--
--0--
David Goodwin http://i.am/dof
[EMAIL PROTECTED] [EMAIL PROTECTED]
UWA MEng Software Engineering.
--0--
------------------------------
From: Jason Kircher <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: using dos (dosemu) - new to this group
Date: Sun, 07 Mar 1999 16:38:03 GMT
To the best of my knowledge, the closest thing to Windows that can
be run under Linux is WINE (WINdows Emulator), and my latest knowledge
is that runs version 3.0.
The short answer is no - you must reboot to run Win95.
"James A. (Jamie) Dennis" wrote:
> Hello
>
> I am relatively new to Linux, although I have been a UNIX user for
> many years. From speaking with some more experienced Linux users, I
> understand there is a way to use the dos command to run a DOS program
> in Linux.
>
> Here is the goal - As my Linux box serves as a network router, I want
> to have Linux booted as my primary OS, yet allow my son to run Windows
> 95 in the DOS window to play games. Is this possible?
>
> I'm running Redhat 5.1, BTW.
>
>
> --
> James A. (Jamie) Dennis
> Founder of the Unofficial CHS Alumni Home Page
> http://www.netset.com/~jdennis/chs-high.html
>
>
--
-Jason Kircher
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: making a CD image using dd (problems)
Date: Sun, 07 Mar 1999 19:15:42 GMT
Hi, i am trying to make a copy of a CD onto my computer so i can give it to my
freind later to burn and i was trying:
dd if=/dev/hdc of=/cdimg.img
and that *seemed* to work fine for one CD but the other three don't seem to
like that too well, here is the error i get:
[root@localhost /]# dd if=/dev/hdc of=/dvfat/ssf2a.img
hdc: media changed
hdc : bad access: block=960012, count=8
end_request: I/O error, dev 16:00, sector 960012
hdc : bad access: block=960016, count=4
end_request: I/O error, dev 16:00, sector 960016
dd: /dev/hdc: Input/output error
960012+0 records in
960012+0 records out
[root@localhost /]#
it copies something to an image and i can mount that image but i am not sure
if the copies are complete (ie i don't want to give them to my freind and
find that they don't work).
any help as to what is wrong (what i am doing wrong?) would be greatly
appricated!
-Gaiko
Gaikokujin Kyofusho
Student Extraordinare & UN*X Guru Wannbe
[EMAIL PROTECTED]
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (Donovan Rebbechi)
Subject: Re: ADI monitor help
Date: 7 Mar 1999 18:38:04 GMT
On Sat, 06 Mar 1999 18:30:55 GMT, [EMAIL PROTECTED] wrote:
>I have a ADI microscan 5+ and am having trouble setting the screen
>resolution. I have a matrox millenium G200 16MB SGRAM but the video
>card has no trouble. It it my monitor.
I'd almost bet it is your videocard or your configuration.
If the monitor is a multisync monitor, it should not give you any troubles.
Get the latest XFree86 from the RH updates.
> It is displayed way to big. I
>cannot see even half the screen.
... it sounds like it is set up for virtual resolution.
> It looks like 200x200. I love linux
Maybe the hi-res modes aren't working.
One possibility: if the monitor is a little old, it's possible that
the config tools will try to write modelines that don't work ( I just
had XF86Setup write me a 90hz mode ... )
You can get a program that generates modelines from my website
http://pegasus.rutgers.edu/~elflord/unix/modeline
Try generating a modeline at about 75hz 800x600 for a 15" monitor,
do the same for a larger monitor, and then try something more ambitious.
cheers,
--
Donovan Rebbechi <[EMAIL PROTECTED]>
http://pegasus.rutgers.edu/~elflord/
http://www.independence.seul.org/
------------------------------
From: Cameron McElhinny <[EMAIL PROTECTED]>
Subject: Re: Linux client for Exchange Server
Date: Sun, 07 Mar 1999 19:41:05 +0000
Thomas Horan wrote:
>
> Hi there,
> does anyone know of a linux client for an MS Exchange Server ?
> I know I can use pop3/imap to get the mail......but for other features ? does
> anyone know of anything ?
>
> AND does anyone know of a GOOD IMAP client for linux ?
>
> thanx
I use Netscape. If you enable it, Exchange will work as an IMAP server.
At home, I use fetchmail to retrieve messages from my ISP's POP3 server,
into my regular UNIX mail account, and I use Netscape to read it.
Fetchmail also will do IMAP.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: xdm problems - can't shutdown
Date: Sun, 07 Mar 1999 19:39:41 GMT
Thanks. This solution allowed me to shutdown properly. Although I did not see
all of the shutdown messages, system halted appeared after a few moments and
upon rebooting I saw that the filesystem was cleanly unmounted.
Stephen
>
> I've found that if I switch over to a console mode(Ctrl-Alt-F1) and
> login as root, I can just issue the shutdown command as usual.
>
> --Scott
>
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Ed Cogburn <[EMAIL PROTECTED]>
Subject: Re: stupid tar question
Date: Sun, 07 Mar 1999 15:14:15 -0500
tim rosen wrote:
>
> This is an awfully simple question, but I just can't seem to find a simple
> explanation in my various manuals. How do I extract tar files? I'm trying:
>
> tar -x file.tar
>
> and it is just freezing up.
>
> Help please. Thank you.
By default, tar expects incoming data from stdin, not a file. So
you have to tell tar to get its data from a file with the -f
parameter. I use the long parameters because its easier to
remember, so:
tar --extract --gzip --verbose --file=file.tar
The verbose parameter is an option. The gzip option is needed if
the file is gzip compressed. I use the above in a bash function
called 'tarextract' so I don't have to type this over and over
again. The function:
tarextract () {
tar --extract --gzip --verbose --totals --file=${@}
}
export tarextract
--
Ed C.
------------------------------
From: Ed Cogburn <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: linux 2.2.2, lpdPLP and lp0
Date: Sun, 07 Mar 1999 15:16:58 -0500
Matthias Juchem wrote:
>
> Hi folks,
>
> I've installed the new kernel 2.2.2 recently. Everything seemed to work but
> today I noticed that my printer won't print.
>
> lpdPLP is running fine, using lp0, but when receiving a print job it says:
>
> lp: Print_open: cannot open /dev/lp0: Operation not supported by device
>
> Modules parport, parport_pc and lp are loaded.
>
> I don't have any clue what to do, so please help me.
I'm pretty sure this is because the 2.2 kernel has gotten rid of
lp0, and starts counting from one, so try lp1 instead.
--
Ed C.
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: chrony and hardware clock
Date: Sun, 7 Mar 1999 17:47:23 GMT
Stef wrote:
> OK, yesterday I installed chrony 1.02 on my Debian 2.0 system. I did not
> change the system clock. It was one hour behind, since windows 95 messed
> around with the hardware clock.
This wouldn't happen if you set your hardware clock to local time.
> I stopped my ppp connection, but let the machine run overnight. Now the
> system time is only about 15 minutes behind. Good. But the hardware
> clock is still one hour (plus an additional one because it is kept in
> UTC) behind. Do I have to tell chrony to explicitly set the hardware
> clock?
You also have compile a kernel with rtc support. This is documented in the
chrony docs (info chrony). Rather than doing this, however, I suggest that
you fix the real problem. If you want to dual-boot with Windows you've got
to set the hardware clock to local time. It's a design error in Windows.
I am the maintainer of the Debian chrony package, and I would appreciate
receiving your report on chrony.
--
John Hasler This posting is in the public domain.
[EMAIL PROTECTED] Do with it what you will.
Dancing Horse Hill Make money from it if you can; I don't mind.
Elmwood, Wisconsin Do not send email advertisements to this address.
------------------------------
From: oak <[EMAIL PROTECTED]>
Subject: Running behind your back: Crontab defaults?
Date: Sun, 07 Mar 1999 21:03:39 GMT
Is there anything in my crontab below that I really need? What am I
doing by disabling everything in crontab here? I'm just a single user
at home.
The listing below is in my crontab default of which
I've disabled
#* * * * * root [ -x /usr/sbin/atrun ] && /usr/sbin/atrun
#55 5 * * * daemon /etc/cron.d/lib/update-locatedb
and I'm about to disable the cronloop sections because
very late at night my hard drive starts churning away
behind my back!. I'm guessing the remaining crontab entries are the
culprit here. As a single user I hate having things run behind my
back, especially, when they're hard drive intensive.
I think distributions should keep in mind that the majority of linux
users are single standalone users NOT users running isp's and servers.
There should be a real usable single user mode, the standard single
user mode is really more like a maintenance mode and not something a
single user can use as a regular mode of operation.
Thanks.
-Tony
=========================/etc/crontab=====================
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# IMPORTANT! All scripts/commands run by cron with root-privileges
# should be written with security in mind!!!
#
# A common problem is related to temporary files residing in world-writable
# directories (esp. /tmp). As most GNU utilities (at least sort(1)) respect
# a TMPDIR environment variable it should be used!
# To support this, there are some helper functions in the cronloop hierarchy
# (currently /etc/cron.d/lib/functions), namely cronloop_mk_TMPDIR and
# cronloop_rm_TMPDIR, for handling sufficiently(?) uniq temporary directories
# (exemplary usage may be inspected in Daily/50updatedb).
# Run any at jobs every minute (ONLY if 'atd' is NOT running!)
#* * * * * root [ -x /usr/sbin/atrun ] && /usr/sbin/atrun
# run-parts
03 3 1 * * root [ -x /usr/sbin/cronloop ] && /usr/sbin/cronloop Monthly
04 4 * * 6 root [ -x /usr/sbin/cronloop ] && /usr/sbin/cronloop Weekly
05 5 * * * root [ -x /usr/sbin/cronloop ] && /usr/sbin/cronloop Daily
42 * * * * root [ -x /usr/sbin/cronloop ] && /usr/sbin/cronloop Hourly
# extensions...
# e.g if you want to have locatedb be built by daemon
# (additional provision have to be taken to allow write access to the
database!)
#55 5 * * * daemon /etc/cron.d/lib/update-locatedb
====================================================================
========================================================
Power User Page http://www.eskimo.com/~oak/pwr/
------------------------------
From: Ronald Benedik <[EMAIL PROTECTED]>
Subject: Re: making a CD image using dd (problems)
Date: Sun, 07 Mar 1999 21:54:10 +0100
[EMAIL PROTECTED] wrote:
> [root@localhost /]# dd if=/dev/hdc of=/dvfat/ssf2a.img
> hdc: media changed
> hdc : bad access: block=960012, count=8
> end_request: I/O error, dev 16:00, sector 960012
> hdc : bad access: block=960016, count=4
> end_request: I/O error, dev 16:00, sector 960016
> dd: /dev/hdc: Input/output error
> 960012+0 records in
> 960012+0 records out
> [root@localhost /]#
> it copies something to an image and i can mount that image but i am not sure
> if the copies are complete (ie i don't want to give them to my freind and
> find that they don't work).
>
> any help as to what is wrong (what i am doing wrong?) would be greatly
> appricated!
Maybe it's because of a multisession cd. Have you checked that? A copy
protection could also explain that. Dirt is a nasty thing. Try cleaning
the CDs.
------------------------------
From: "Tom Jenkins" <[EMAIL PROTECTED]>
Subject: xntp on RH linux 2.0.36?
Date: Sun, 7 Mar 1999 12:14:42 -1000
Help!
I've installed the RPM for xntp and can't quite figure out how to get the
/etc/ntp.conf file to read external time sources.
Anyone have any idea why the daemon log file would show this:
Mar 7 11:57:01 grommit xntpd[3630]: xntpd 3-5.93c Mon Oct 12 21:17:44 EDT
1998 (1)
Mar 7 11:57:01 grommit xntpd[3630]: tickadj = 5, tick = 10000, tvu_maxslew
= 495, est. hz = 100
Mar 7 11:57:01 grommit xntpd[3630]: precision = 7 usec
Mar 7 11:57:01 grommit xntpd[3630]: read drift of 0.000 from /etc/ntp/drift
Mar 7 11:57:01 grommit xntpd[3630]: bind() fd 10, family 2, port 123, addr
e0000101, in_classd=1 flags=0 fails: Address already in use
Mar 7 11:57:01 grommit xntpd[3630]: ...multicast address 224.0.1.1 using
wildcard socket
Why would it indicate that the address was already in use?
Note my /etc/ntp.conf file:
#
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available. The
# default stratum is usually 3, but in this case we elect to use stratum
# 0. Since the server line does not have the prefer keyword, this driver
# is never used for synchronization, unless no other other
# synchronization source is available. In case the local host is
# controlled by some external source, such as an external oscillator or
# another protocol, the prefer keyword would cause the local host to
# disregard all other synchronization sources, unless the kernel
# modifications are in use and declare an unsynchronized condition.
#
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 0
#
# Drift file. Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
#
driftfile /etc/ntp/drift
multicastclient # listen on default 224.0.1.1
broadcastdelay 0.008
#
# Authentication delay. If you use, or plan to use someday, the
# authentication facility you should make the programs in the auth_stuff
# directory and figure out what this number should be on your machine.
#
authenticate no
#
# Keys file. If you want to diddle your server at run time, make a
# keys file (mode 600 for sure) and define the key number to be
# used for making requests.
#
keys /etc/ntp/keys
trustedkey 65535
requestkey 65535
controlkey 65535
--Tom
------------------------------
Date: Sun, 07 Mar 1999 15:33:01 -0700
From: Bob van der Poel <[EMAIL PROTECTED]>
Subject: Best value in CPU for linux
I'm seriously thinking of upgrading my motherboard and CPU. Right now I
have a Cyrix PR 200. I really need more speed (who doesn't!), and
I would like a better FP performance as well.
>From what I'm looking at, it appears that Linux doesn't (please correct
if wrong) some of the fancier new cpu stuff like MMX and 3DNow. So, it
appears that money spent on processors with these features is wasted. On
the other hand, from what I see, the faster (350-400) cpus all have this
stuff...
I tend to avoid Intel stuff, just because ;).
So, what should I be looking at? Any advantage over a Slot II if I do go
with Intel?
--
__
/ ) / Bob van der Poel
/--< ____/__ [EMAIL PROTECTED]
/___/_(_) /_) http://www.kootenay.com/~bvdpoel
------------------------------
From: [EMAIL PROTECTED] (Dieter Rohlfing)
Subject: Re: swapon -s: /proc/swaps: No such file or directory
Date: 7 Mar 1999 21:39:05 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 06 Mar 1999 21:11:45 GMT, [EMAIL PROTECTED] (Juergen
Heinzl) wrote:
>In article <[EMAIL PROTECTED]>, Dieter Rohlfing wrote:
>>I have the proc filesystem installed, but no entry /proc/swaps. Where is
>>the switch to get /proc/swaps? TIA.
>
>man swapon
Man swapon doesn't tell me, how I can get /proc/swaps. Did you read man
swapon?
Dieter Rohlfing
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: xdm problems - can't shutdown
Date: Sun, 07 Mar 1999 19:35:09 GMT
Thanks for your help. Unfortunately, it did not solve my problem - perhaps
since I am on a standalone computer. Upon killing xdm and choosing to exit X,
I ended up at the thatch grey screen that comes up before the login prompt or
the actual X environment. From there all I could do is turn off the computer.
I am not too worried about improper shutdowns yet, since this current
installation is for learning purposes mainly (but would rather not have those
problems, of course).
Stephen
> Make sure you a) log on as root, or b) su as root first.
> Identify the pid xdm is running on with:
> ps aux | grep xdm
> You'll get an output that looks like the following:
>
> root 257 0.0 0.7 1984 504 ? S 14:08 0:00 xdm
>
> root 708 0.0 0.4 952 312 p1 S 02:43 0:00 grep xdm
>
> The pid of xdm is in the second column. To kill xdm (based on the above
output),
> use the next command:
>
> kill -9 257
>
> Substitute the proper pid in place of 257, or who knows what you might bring
> down!
> It is a very good idea, before you do this, to make sure nothing is using X.
> Just close all windows, log out of X, and switch to another TTY.
> At this point, it would be safe to say that X has been killed.
> Hope this helps any...
>
> (I know there is a slicker way of doing this, anyone?)
>
> [EMAIL PROTECTED] wrote:
>
> > Linux: Red Hat 5.1
> > Computer: 486dx2/66, 20MB ram
> >
> > When I activate xdm it works properly, except that I can not shutdown the
> > computer. Logged in as root, I type shutdown -h now in a command shell and
the
> > following messages appear:
> > (loosely paraphrased)
> > Broadcasting ... (my memory fails me right now)
> > Starting shutdown procedure ...
> >
> > then the command prompt comes up again.
> >
> > halt freezes the computer, and after turning the power off and on the disk
> > needs to be checked in the boot up procedure.
> >
> > init 0 starts the shutdown procudure, but seems to get stuck at shutting
down
> > gpm mouse services.
> > init 3 has no effect (I heard that this would put me back in regular mode so
> > that I could exit X back to the text based interface).
> >
> > So, if I run xdm then how do I shut down the computer?
> > How can I turn off xdm once it is activated without rebooting the computer?
> >
> > This is my first installation of linux and I have not made any weird
> > modifications... the system should be close to original.
> >
> > Thanks in advance.
> >
> > Stephen
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (peter)
Crossposted-To: comp.security.ssh
Subject: ssh does not accept my password
Date: Sun, 07 Mar 1999 21:59:33 GMT
redhat 5.2, ssh 2.0.11
when I log on to my machine (using ssh1 or ssh2) using key-authentication
: no problem
when I log on with ssh1 and password-authentication : no problem
but when I log on with ssh2 and password-authentication, I�m asked for my
password and I enter and sshd does not accept it and asks me again for my
pass and again and then he disconnect me.
whats wrong here ?
peter
=================
pilsl@
ANTISPAM
goldfisch.atat.at
------------------------------
From: mist <[EMAIL PROTECTED]>
Subject: Re: Is there something I could use besides chat?
Date: Sun, 7 Mar 1999 20:47:48 +0000
Reply-To: mist <new$[EMAIL PROTECTED]>
xXxDanExXx <[EMAIL PROTECTED]> scribed to us that -
>I just FINALLY got my modem setup. In minicom, it connects just fine.
>However, if I try to use chat, it doesn't do crap.
What, exactly, is it that it doesn't do? Any error messages?
Are you trying pppd as a non-root user without privileges being set?
> Can anyone give me a
>hand with it? Here's the commands I've been using:
>
>chat "" ATDT2920390 CONNECT "" Username:lorddane Password:guess
>
>Also, as an entire script, I've used:
>
>pppd /dev/modem 57600 connect '/usr/sbin/chat "" ATDT2920390 CONNECT'
>noipdefault defaultroute lorddane guess
I have a feeling typing the above at the command line leaves your
password visible in 'ps', which may be a security hole.
Try with /etc/ppp/options as
lock /dev/ttys1
asyncmap 200a0000
-vj
modem 115200
-detach
crtscts
defaultroute
user lorddane
remotename icx
defaultroute
(You may need something to do with that noipdefault in there, I don't
really understand the options.)
Then in /etc/ppp/pap-secrets you get
lorddane icx password
Obviously with your password instead of password, then in
/etc/ppp/chat.icx put
ABORT BUSY
ABORT "NO CARRIER"
"" ATZ
OK ATDT2920390
CONNECT ""
Then as root, type
/usr/sbin/pppd connect '/usr/sbin/chat -f /etc/ppp/chat.icx'
You can disconnect with killall pppd.
>
>Also, how would I setup the primary and secondary DNS?
For what? Which version of Bind are you running?
> And, again, why
>won't it even INIT my modem?
What wont init your modem?
>Am I setting minicom up wrong or
>something?
>
I don't believe that the two (pppd and minicom) are directly connected.
--
Mist.
------------------------------
** 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
******************************