Linux-Misc Digest #204, Volume #27 Fri, 23 Feb 01 13:13:02 EST
Contents:
Re: HOW TO make a user an administrator of a group or single user
([EMAIL PROTECTED])
Re: Linux "error 0x10" (Michael Heiming)
Re: Routing.....Arrrggggh...Help!! ("Adam Evans")
Vi Editor that shows comments in different colors (Alfred Schetelig)
Re: where to set PATH? (Leonard Evens)
Re: Best distro for old PC? (DeAnn)
No volume control in CD ([EMAIL PROTECTED])
Substitute for Microsoft Outlook? (Georg Schwarz)
surviving in a Windows only environment? (Georg Schwarz)
Re: Vi Editor that shows comments in different colors ([EMAIL PROTECTED])
Re: 2.4.2 kernel panics on boot ("D. Stimits")
Help--Program exists, but can't execute (Chris Carlen)
SuSE Linux + Arkeia Backup + HP Ultrium LTO ("Ingmar Schrey")
Re: MS to Enforce Registration - or Else (Tim Limbert)
Re: HOW TO make a user an administrator of a group or single user (Rodrigo Henriquez)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
alt.os.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.security
Subject: Re: HOW TO make a user an administrator of a group or single user
Date: 23 Feb 2001 16:10:31 GMT
In comp.os.linux.admin David E. Smith <[EMAIL PROTECTED]> wrote:
> In our last shocking episode of comp.os.linux.security,
> Kelvin Chow revealed a dark secret:
>> Is there anything wrong with using "sudo"?
> I don't think sudo is flexible enough here. At least not without a
> significant level of hacking on /etc/sudoers, and that could be unwieldy
> to maintain.
You don't have to write a suid program, just an ordinary program.
Then let sudo exec it (whenever it fills sudo's rules)
This way your mistakes in the additional program is less security
hazardeous.
> Writing a smallish setuid program is probably easier and saner in the long
> run. Basically, check that the user running the program is the specified
> user, and that the user whose password is being changed is in the
> specified group. It's probably safer to define these variables at
> compile-time instead of trying to read a config file. Then throw up a
> standard password dialog, and that's about it...
> ...dave
--
Peter Håkanson Phone +46707328101 Fax +4631223190
IPSec sverige Email [EMAIL PROTECTED]
"Safe by design" Address Bror Nilssons gata 16 Lundbystrand
S-417 55 Gothenburg Sweden
------------------------------
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Linux "error 0x10"
Date: Fri, 23 Feb 2001 17:31:29 +0100
"Peter T. Breuer" wrote:
> Michael Heiming <[EMAIL PROTECTED]> wrote:
> >> /sbin/fdisk -l /dev/hda
>
> > Perhaps, but I havn't seen any Linux system in the last few years which had no
> > /proc support.
>
> Tell that to my debian 2.2 systems:
>
> nbd:/usr/oboe/ptb% sudo /sbin/fdisk -l
> (nothing)
>
> nbd:/usr/oboe/ptb% sudo /sbin/fdisk -l /dev/hda
>
> Disk /dev/hda: 255 heads, 63 sectors, 1216 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 1 2 16033+ de Unknown
> /dev/hda2 * 3 263 2096482+ 6 FAT16
> /dev/hda4 264 1216 7654972+ 5 Extended
> /dev/hda5 264 272 72261 83 Linux
> /dev/hda6 273 338 530113+ 83 Linux
> /dev/hda7 339 355 136521 82 Linux swap
> /dev/hda8 356 486 1052226 83 Linux
> /dev/hda9 487 552 530113+ 83 Linux
> /dev/hda10 553 814 2104483+ 83 Linux
> /dev/hda11 815 1076 2104483+ 83 Linux
> /dev/hda12 1077 1207 1052226 83 Linux
> /dev/hda13 1208 1216 72261 83 Linux
>
> > from man fdisk
>
> > -l List the partition tables for the specified devices
> > and then exit. If no devices are given, those men
> > tioned in /proc/partitions (if that exists) are
> > used.
>
> It's listed that way here too ... I wonder why it's not working.
>
> nbd:/usr/oboe/ptb% /sbin/fdisk -v
> fdisk v2.10q
>
> nbd:/usr/oboe/ptb% sudo strace -eopen /sbin/fdisk -l
> open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY) = 3
> open("/lib/libc.so.6", O_RDONLY) = 3
> open("/proc/partitions", O_RDONLY) = 3
> open("/dev/ide/host0/bus0/target0/lun0/disc", O_RDONLY) = -1 ENOENT (No
> such file or directory)
>
> OK .. that explains it. It's looking for devfs stuff. And it's disabled
> in my kernel.
>
> Peter
Taken from the first xterm I could grab (it's a Sony PCG-C1VN Laptop (Transmeta
Crusoe CPU))
running SuSE Linux 7.0, with kernel 2.4.0 (I updated it, cause I saw the config
option
for it's transmeta CPU and wanted to know how fast it would be (bogomips :
1182.92),
it's really flying...:-)
fdisk -v
fdisk v2.10o
fdisk -l
Disk /dev/hda: 255 heads, 63 sectors, 1467 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1 8001 83 Linux
/dev/hda2 2 18 136552+ 82 Linux swap
/dev/hda3 19 1467 11639092+ 83 Linux
Best regards
Michael Heiming
------------------------------
From: "Adam Evans" <[EMAIL PROTECTED]>
Subject: Re: Routing.....Arrrggggh...Help!!
Date: Fri, 23 Feb 2001 16:31:19 -0000
> You should start by reading the IP-Masquerade-HOWTO.
I've done that, but it doesn't work........
I just can't get my routing tables to look anywhere near the same.
Adam
------------------------------
From: Alfred Schetelig <[EMAIL PROTECTED]>
Subject: Vi Editor that shows comments in different colors
Date: Fri, 23 Feb 2001 15:05:50 +0100
I am looking for a vi clone that can show comments in c-programs in a different color.
Anybody out there that ever heard of one? Thanks.
--
Alfred Schetelig
Schenck ROTEC, Germany
Phone +49 (0) 6151 / 32 1237
FAX / Voice Mail +49 (0) 1805 / 052 552 19083
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: where to set PATH?
Date: Fri, 23 Feb 2001 10:25:41 -0600
Mark Bratcher wrote:
>
> In article <[EMAIL PROTECTED]>, Todd Ahlstrom wrote:
> >I am currently using Red Hat 7.0. What file contains the PATH
> >variables? I need to add one for the Java Development Kit, but I can't
> >figure out where to do it. Also, can I put the new ones into effect
> >without rebooting? Thank you for the help.
> >
>
> Depends upon what scope you want.
>
> If you want the variable set for all users who log in, then look
> for the appropriate init file under /etc, such as /etc/profile
> (which is where I _think_ environment variables are defined more
> so than in /etc/bashrc).
>
> For a single user, use the user's .bash_profile (if you're using bash).
>
> --
> Mark Bratcher
> To reply direct, remove both underscores (_) from my email name
> ---------------------------------------------------------------
> Escape from Microsoft's proprietary tentacles: use Linux!
I agree that normally the path would be set in .bash_profile.
But I recently upgraded from RH5.X to RH7.0, and I noticed some
strange behavior on that machine, which I haven't seen on others
I've upgraded. For example, if I login as root at run level 3,
and then use startx, I get the expected path as set in
.bash_profile for root in my gnome terminal windows. But if
instead I start in run level 5 and login at the gdm prompt, I get
an entirely different path which omits /sbin directories and
includes some kde directories, even though I am using the
gnome desktop. I tried to track down the problem, but so
far I haven't been successful. I assume it has something to
do with the gdm configuration, but I'm not sure where to set
that. Any advice would be appreciated.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: [EMAIL PROTECTED] (DeAnn)
Subject: Re: Best distro for old PC?
Date: Fri, 23 Feb 2001 16:38:40 GMT
On Thu, 22 Feb 2001 12:25:57 -0000, "Rob Chambers"
<[EMAIL PROTECTED]> wrote:
>I'm thinking of building a system to play with out of some old parts.
>It's likely to be a 33MHz 486DX with 4 or 8 Mb RAM, 250 Mb HD (80 + 170)
>and no CD-ROM. I've been recommended muLinux, are there any other good
>distros for such a machine? I'm not bothered about running X on such a
>machine if it's not really feasible.
>
Debian and Slackware both have a basic floppy install
available that runs about 10-20 MB, respectively. Both have the disk
images available on the cdrom; these can be copied to floppies on
another machine using either dd in linux or rawrite in DosWin.
Modern kernels are ~ 5MB, so you will have to go to a
specialty distribution if you have only 4 MB system RAM. With 8MB,
you should do ok.
------------------------------
From: [EMAIL PROTECTED]
Subject: No volume control in CD
Date: Fri, 23 Feb 2001 08:44:09 -0800
CD works fine but unable to increase volume with audio CD's.
Any idea?
Thanks
--
cedric
Linux powered
Do not sell, share or otherwise
distribute e-mail address.
------------------------------
From: [EMAIL PROTECTED] (Georg Schwarz)
Subject: Substitute for Microsoft Outlook?
Date: Fri, 23 Feb 2001 17:46:55 +0100
Is there any Linux mail client that can work with Microsoft Exchange
mail servers?
--
Georg Schwarz http://home.pages.de/~schwarz/
[EMAIL PROTECTED] +49 177 2437545
------------------------------
From: [EMAIL PROTECTED] (Georg Schwarz)
Subject: surviving in a Windows only environment?
Date: Fri, 23 Feb 2001 17:46:55 +0100
Is there a way to survive (with Linux) in a Windows only environment?
More precisely, the company is using W2K and Office 2K. There's heavy
usage of Word and PowerPoint attachments as well as Outlook's calendar
function. The only mail server is MS Exchange and does not speak POP3 or
IMAP (AFAIK). File access is provided by Netbui over TCP/IP. There's no
NTP server to synchronize clocks (just some proprietary Windows method).
Could Sun's StarOffice be of help here? Any other ideas?
--
Georg Schwarz http://home.pages.de/~schwarz/
[EMAIL PROTECTED] +49 177 2437545
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Vi Editor that shows comments in different colors
Date: Fri, 23 Feb 2001 16:47:37 GMT
Alfred Schetelig <[EMAIL PROTECTED]> wrote:
> I am looking for a vi clone that can show comments in c-programs in a different
>color.
> Anybody out there that ever heard of one? Thanks.
Most likely you're thinking of vim (which comes standard, I believe, with
most linux distributions).
Adam
------------------------------
Date: Fri, 23 Feb 2001 09:54:13 -0700
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: 2.4.2 kernel panics on boot
"Justin R. Smith" wrote:
>
> This may be a dumb question, but
>
> I've compiled 2.4.2 without problems. On boot, I get the messages:
>
> 1. No socket drivers installed
> (presumably, I forgot to answer Yes to some one of the hundreds of
> questions in the configure step, but which one?)
>
> 2. no boot device specified. Cannot boot on 1601 or 16:01. panic
>
> I do specify a boot device in the lilo.config file, namely /dev/hdc1, so
> what gives?
> (Is this related to the previous problem?)
>
> Thank you!
Did you really use lilo.config? The correct file is /etc/lilo.conf. Then
you have to run lilo after the edit. And sometimes I think a BIOS can't
see more than the first two devices for IDE, and hdc is the third
device...possibly that could be the problem.
------------------------------
From: Chris Carlen <[EMAIL PROTECTED]>
Subject: Help--Program exists, but can't execute
Date: Fri, 23 Feb 2001 09:19:52 -0800
Hi:
I have a very strange and serious problem. On Suse Linux 7.0, I have
successfully installed the rpm for Eagle 3.55 (A printed circuit design
program from www.cadsoft.de). However, when I try to
run eagle I get:
~ $ eagle
bash: /usr/local/bin/eagle: No such file or directory
The same error appears if I try to run eagle as a user, as root, from a
console outside of X, from the CDROM demo directory as user or root.
I have verified many things are in order for the program to run:
1. The eagle program (actually symlink to /opt/eagle/bin/eagle from
/usr/local/bin/eagle) is in the user's path and the symlink points to
the right place:
~ $ which eagle
/usr/local/bin/eagle
~ $ ls -l /usr/local/bin/eagle
lrwxrwxrwx 1 root root 20 Feb 23 07:55
/usr/local/bin/eagle -> /opt/eagle/bin/eagle
2. The eagle program is installed in /opt/eagle/bin:
~ $ ls -l /opt/eagle/bin/eagle
-rwxr-xr-x 1 root root 3924300 May 30 1999
/opt/eagle/bin/eagle
3. Trying to run the program using the direct path also fails:
~ $ /opt/eagle/bin/eagle
bash: /opt/eagle/bin/eagle: No such file or directory
4. Creating a token script in /opt/eagle/bin named eagle that simply
echoes that it is executing works OK:
/opt/eagle/bin # ls -l eagle
-rwxr-xr-x 1 root root 40 Feb 23 08:57 eagle
/opt/eagle/bin # cat eagle
#!/bin/sh
echo "Eagle script executing"
/opt/eagle/bin # ./eagle
Eagle script executing
5. Making the token script into a wrapper that executes the real eagle
by a different name also fails:
/opt/eagle/bin # ls -l eagle eagle.sav
-rwxr-xr-x 1 root root 65 Feb 23 08:59 eagle
-rwxr-xr-x 1 root root 3924300 May 30 1999 eagle.sav
/opt/eagle/bin # cat eagle
#!/bin/sh
echo "Eagle script executing"
/opt/eagle/bin/eagle.sav
/opt/eagle/bin # ./eagle
Eagle script executing
./eagle: /opt/eagle/bin/eagle.sav: No such file or directory
Now for the most interesting part:
6. I have a triple boot system with W98, Suse Linux 6.2 (with Eagle
3.55 working fine), and Suse 7.0 . When I boot up Suse Linux 6.2, then
mount the partition containing Suse 7.0, change dir to the
/s70/opt/eagle/bin directory, and run ./eagle, it executes just fine!
Also, while running Suse 7.0 I can't run the eagle from Suse 6.2
What is going on here making Suse 7.0 unable to run eagle and how can I
fix it???
Thank you for help.
--
PLEASE REPLY TO THE NEWSGROUP OR REMOVE BOGUS FIELD FROM EMAIL
ADDRESS!!!
Christopher R. Carlen
[EMAIL PROTECTED]
------------------------------
From: "Ingmar Schrey" <[EMAIL PROTECTED]>
Crossposted-To: de.comp.hardware.misc,de.comp.os.unix.linux.hardware
Subject: SuSE Linux + Arkeia Backup + HP Ultrium LTO
Date: Fri, 23 Feb 2001 18:23:36 +0100
Hallo alle...
... habe ein Linux + Tape drives Problem:
Hardware:
HP Ultrium LTO tape drive
versch. Mainboards (von BX bis ServerWorks)
diverse SCSI-Controller (NCR / GDT)
Software:
SuSE linux 6.4 / 7.0
Arkeia Backup für SuSE
Bekomme willkürlich beim Sichern/Zurückspielen Fehler; sieht so aus,
dass es speziell bei grossen Dateien passiert und/oder, wenn das
Bandlaufwerk
ein neues Segment auf dem Band zu schreiben/lesen anfängt.
--- StartOfSnip ---
Feb 21 09:01:31 dualx1 kernel: scsi : aborting command due to timeout :
pid 292303, scsi2, channel 0, id 4, lun 0 Write (6) 00 00 20 00 00
Feb 21 09:01:31 dualx1 kernel: sym53c8xx_abort:
pid=292303 serial_number=292332 serial_number_at_timeout=292332
Feb 21 09:01:31 dualx1 kernel: SCSI host 2 abort (pid 292303) timed out -
resetting
Feb 21 09:01:31 dualx1 kernel: SCSI bus is being reset for host 2 channel
0.
Feb 21 09:01:31 dualx1 kernel: sym53c8xx_reset: pid=292303 reset_flags=2
serial_number=292332 serial_number_at_timeout=292332
Feb 21 09:01:32 dualx1 kernel: sym53c896-1: restart (scsi reset).
Feb 21 09:01:32 dualx1 kernel: sym53c896-1: handling phase mismatch from
SCRIPTS.
Feb 21 09:01:32 dualx1 kernel: sym53c896-1: Downloading SCSI SCRIPTS.
Feb 21 09:01:32 dualx1 kernel:
Feb 21 09:01:32 dualx1 kernel: wait_on_bh, CPU 0:
Feb 21 09:01:32 dualx1 kernel: irq: 0 [0 0]
Feb 21 09:01:32 dualx1 kernel: bh: 1 [0 0]
Feb 21 09:01:34 dualx1 kernel: <[c010b740]> <[c010b74d]> <[c01f9e85]>
<[c01fa9b6]>
<[c018ca05]> <[c0200929]> <4>st0: Error with sense data: [valid=0] Info
fld=0x0,
Current st09:00: sense key Unit Attention
Feb 21 09:01:34 dualx1 kernel: Additional sense indicates Power on, reset,
or bus device reset occurred
Feb 21 09:01:34 dualx1 kernel: sym53c896-1-<4,*>:
FAST-40 WIDE SCSI 80.0 MB/s (25 ns, offset 15)
--- oder ---
Feb 21 11:54:35 dualx1 kernel: ncr53c896-1-<4,0>:
phase change 2-6 6@18ffe488 resid=5.
Feb 21 11:54:35 dualx1 kernel: ncr53c896-1:4:
ERROR (0:4) (8-0-0) (f/9f) @ (script 380:860b0000).
Feb 21 11:54:35 dualx1 kernel: ncr53c896-1: script cmd = 78340800
Feb 21 11:54:35 dualx1 kernel: ncr53c896-1:
regdump: da 00 80 9f 47 0f 04 03 75 08 84 00 80 00 0e 02.
Feb 21 11:54:35 dualx1 kernel: ncr53c896-1: have to clear fifos.
Feb 21 11:54:35 dualx1 kernel: ncr53c896-1: unexpected disconnect
Feb 21 11:54:35 dualx1 kernel: ncr53c896-1:
SCSI parity error detected: SCR1=138 DBC=860b0000 SSTAT1=e
Feb 21 11:54:35 dualx1 kernel: ncr53c896-1-<4,0>:
COMMAND FAILED (8a ff) @d8ffe000.
Feb 21 11:54:35 dualx1 kernel: st0:
Error 2707007f (sugg. bt 0x20, driver bt 0x27, host bt 0x7).
Feb 21 11:54:35 dualx1 kernel: st0:
Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense key
Illegal Request
Feb 21 11:54:35 dualx1 kernel:
Additional sense indicates Invalid command operation code
--- oder ---
(GDT Controller)
Feb 18 15:50:08 dualx1 kernel: st0: Error with sense data: [valid=0] Info
fld=0x0,
Current st09:00: sense key Not Ready
--- EndOfSnip ---
Mittlerweile schliesse ich Probleme durch defekte Komponenten aus -
alles wurde diverse Male getauscht, an andere Rechner angeschlossen.
Nagelneues Ultrium-Drive geordert, extern und intern getestet,
neue Kabel, versch. SCSI-Controller, Terminatoren, Gehäuse, Motherboards,
Chipsätze, Konnektoren etc blabla...
... die einzigen Konstanten sind: SuSE Linux und Arkeia Backup.
Habe selbstredend auch schon das Netz nach Lösungen durchsucht, habe mich
mit
st_options.h, man mt, man st beschäftigt - kein Erfolg.
Auch ist das nicht der erste Linux-Rechner, den ich agefasst habe...
HP support angeschrieben, warte auf Antwort;
SuSE Support - ist wie die Telekom-Hotline: immer besetzt.
Und ich hab leider auch noch andere Sachen auf´m Schirm.
Weiss wer was?
Ingmar
------------------------------
From: Tim Limbert <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: Fri, 23 Feb 2001 11:21:06 -0600
On Thu, 15 Feb 2001, S P Arif Sahari Wibowo wrote:
>On 15 Feb 2001, Johan Kullstam wrote:
>
>>science is based upon *repeatability*. that which cannot be repeated
>>is not science.
>
>This not accurate. Science is based on *consistency*. A theory need not to
>be repeatable to be considered science, but it need to be consistent with
>other theory and observations.
>
>For example, the Big Bang theory, obviously not repeatable, but consistent
>with existing theory and observation.
>
Not sure I agree with this. A Theory is not, in itself, repeatable, but the
experiments performed to test the theory are. When one says that science must
be repeatable, one means that if a good experiment is performed to test the
theory, the same (or consistent) results will be obtained every time,
regardless of who is performing the experiment. These repeatable results
reinforce the vailidity of the theory.
------------------------------
From: Rodrigo Henriquez <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.security
Subject: Re: HOW TO make a user an administrator of a group or single user
Date: 23 Feb 2001 17:15:28 GMT
In comp.os.linux.networking Didier Wiroth <[EMAIL PROTECTED]> wrote:
> Hey,
> How can you make a simple user, for example "toto", who is member of the
> group "users" an administrator of the group "public" for example. I would
> like toto to be able to change the password using passwd of the users
> belonging to the group "public.
> Is that possible? If so, how?
> Can you even make "toto" owner of ONLY one user, for example "titi", so that
> "toto" is able to change the password of "titi"?
Use /etc/sudoers
this is extracted from the man page of sudoers :
--
pete HPPA = /usr/bin/passwd [A-z]*, !/usr/bin/passwd root
The user pete is allowed to change anyone's password except for root on the HPPA
machines. ...
--
Regards!
--
Rodrigo Henriquez M. | this machine will, will not comunicate
rhenriqu[@]linuxcenter.cl | these thoughts
ICQ : 67102514 | and the strain i am under...
http://nn.cl/~rhenriqu |
------------------------------
** 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
******************************