Linux-Misc Digest #231, Volume #27               Mon, 26 Feb 01 00:13:02 EST

Contents:
  Ctrl + Alt + BkSp
  Re: crontab q? (David)
  basic help needed with Samba ("John Gill")
  Re: Linux partitioning question (Floyd Davidson)
  Scanners under Linux (JCA)
  Re: basic help needed with Samba (Dean Thompson)
  Re: LyX and missing layouts (Esteban Flocco)
  Re: i586 kernel vs i686 kernel (Hugh Lawson)
  Re: crontab q? (Jan Schaumann)
  Re: basic help needed with Samba ("John Gill")
  Re: Ctrl + Alt + BkSp (T. Howell)
  Re: Please visit my 3D graphics site (Yvan Loranger)
  Re: shutdown priveleges ("fafaforza")
  Re: shutdown priveleges (Dances With Crows)
  key 2 and @ problem? ([EMAIL PROTECTED])

----------------------------------------------------------------------------

From: <[EMAIL PROTECTED]>
Subject: Ctrl + Alt + BkSp
Date: 26 Feb 2001 02:05:07 GMT

Hi,
I want to disable the function of Ctrl + Alt + BkSp which
will kill the X and all other applications using that X.
What should I do?
---- Brittle

------------------------------

From: David <[EMAIL PROTECTED]>
Subject: Re: crontab q?
Date: Mon, 26 Feb 2001 02:16:42 GMT

"Sudhakar R." wrote:
> 
> Can anyone please tell me the format of the crontab file and someplace
> where i can rad more about scheduling jobs on RH 7.0
> 
> Thanx in advance
> -Sud


*  *  *  *  * /path/to/script

^  ^  ^  ^  ^
^  ^  ^  ^  ^<< day of week
^  ^  ^  ^
^  ^  ^  ^<< month of year
^  ^  ^
^  ^  ^<< day of month
^  ^
^  ^<< hour 
^
^<< minute


-- 
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 99.085% of seti users. +/- 0.01%

------------------------------

From: "John Gill" <[EMAIL PROTECTED]>
Crossposted-To: 
linux.samba,comp.os.linux.redhat,comp.os.linux.networking,comp.os.linux.help
Subject: basic help needed with Samba
Date: Mon, 26 Feb 2001 02:17:03 GMT

Hi all.  I am not a newcomber to Unix, but have not used Samba on Linux
before.  I have the Red Hat 7.0 Linux, and would like to replace my NT
server for a very small network (4 to 5 users at home).  I understand that
Samba works with MS networks, so I am seeking a resource for basic
information on what I can do and how to setup.  Interestingly enough, there
is very little in the RedHat Sever Edition manuals about Samba.

When all is said and done, I would like my Linux server to do the following
(if possible):

1)    network directory and file sharing -- appear as shares on
Win98 / Win95 client PCs;
2)    network print service -- print to an HP LaserJet with a
network card;
3)    provide for network login -- like the NT Domain login
script;
4)    provide browser service -- the "who is there" on the
Network Neighborhood

I do not need DNS or DHCP services.

Thanks in advance.

-- John




------------------------------

From: Floyd Davidson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: Linux partitioning question
Date: 25 Feb 2001 16:29:02 -0900

[EMAIL PROTECTED] (Rod Smith) wrote:
>Splitting off multiple partitions has several advantages, such as a
>reduced chance of problems should a runaway process create a too-large
>file and a reduced chance losing all your data in case of a filesystem
>problem. IMHO, these are all dwarfed for new users by the near certainty
>of getting partition sizes wrong, but those who know how big to make
>their partitions may prefer to split things up.

Since SysV R3 (with symbolic links) it has been almost
*impossible* to get the partition sizes wrong, and hence there
is absolutely no need to readjust partitions sizes (which was
indeed a *serious* admin consideration when installing a SysV R2
UNIX).  Instead entire directories can be placed on other
partitions and symlinked to any given location.

For instance, in most of the multi-partition examples shown in
this thread there have been both a /tmp and a /var partition.
That is an unnecessary waste of disk space.  The /var partition
is going to suffer high fragmentation, which is one reason it
should be a separate partition, but that also makes it a great
place for /tmp to physically be located.  Both /tmp and /usr/tmp
should be symlinks to /var/tmp.

Other obvious candidates for locating on other partitions with a
symlink are /usr/local, /usr/X11, /opt, and where ever it is
that emacs/xemacs or tex are located.

Likewise the /home directory can actually be on one or more
other partitions.  /home itself can be a symlink, but so can
each user's directory if that is useful (as might be for the
/home/ftp directory, as an example).

Hence, while it is possible to get / or /usr partitions too
small, they will be too small to even install the first time if
that is true.  If those partitions are large enough to actually
manage a functional install to begin with, they *never* require
resizing.

-- 
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska)                 [EMAIL PROTECTED]

------------------------------

From: JCA <[EMAIL PROTECTED]>
Subject: Scanners under Linux
Date: Mon, 26 Feb 2001 02:30:44 GMT


    I would like to buy a color scanner to use with my Linux
box, but I don't know which ones are supported. If anybody
has got experience with this and want to share it, your input
will be much appreciated.




------------------------------

From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: 
linux.samba,comp.os.linux.redhat,comp.os.linux.networking,comp.os.linux.help
Subject: Re: basic help needed with Samba
Date: Mon, 26 Feb 2001 13:37:29 +1100


Hi John,

[...]

  The good news is that SAMBA can do all of those things.  You will need to
modify some of the general settings first in your smb.conf file.

> 1)    network directory and file sharing -- appear as shares on
> Win98 / Win95 client PCs;

To do this, you will need to create the shares in smb.conf.  They look
something like this:

[projects]
   comment = Projects Area
   browseable = yes
   read only = no
   create mode = 0755
   path = /projects

BTW, there are more options that you can use than this.  You will need to do a
"man smb.conf"

> 2)    network print service -- print to an HP LaserJet with a
> network card;

This shouldn't be a problem as I presume you can set your Linux box up to do
LPD printing to the printer.  Once this is in place, you just need to create
the printer shares which look something like this:

[myPrinter]
        comment = My Printer at home
        path = /tmp
        guest ok = Yes
        print ok = Yes
        printer name = <QUEUENAME>

You may have to define the printing commands to use in the general section
including: lpq, lprm, lppause, lpresume, print command and so forth.

> 3)    provide for network login -- like the NT Domain login script;

This can be done, although I use SAMBA2.2 from the CVS tree to do this, but it
works like a treat.  I have also set it up so that the SMB passwords are used
to log into and access the Linux resources as well.  One password does all
(which is very handy for some users).

> 4)    provide browser service -- the "who is there" on the
> Network Neighborhood

Yep, SAMBA does this by default, especially if you tell it that it is the
preferred master and you change the OS level to help "rig" the elections.

I would strongly recommend looking at the samba site for the documentation
(http://www.samba.org).

See ya

Dean Thompson

--
+______________________________+____________________________________________+
|   Dean Thompson              | E-mail  - [EMAIL PROTECTED] |
|   Bach. Computing (Hons)     | ICQ     - 45191180                         |
|   PhD Student                | Office  - <Off-Campus>                     |
|   School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
|   MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
|   Melbourne, Australia       |                                            |
+------------------------------+--------------------------------------------+

------------------------------

From: [EMAIL PROTECTED] (Esteban Flocco)
Subject: Re: LyX and missing layouts
Reply-To: [EMAIL PROTECTED]
Date: Sun, 25 Feb 2001 23:43:39 -0500

*** post for free via your newsreader at post.newsfeeds.com ***

On Thu, 8 Feb 2001 23:14:07 +0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>In the /usr/share/lyx/layouts directory there's a whole bunch of layouts
>that don't show in the layouts->document->class list in LyX. I want to use
>the Broadway and Hollywood classes (and check out some of the others), but
>why don't they work? 
>The documentation says some of these need to be installed from the tex
>directory, but how do I do that?
>Can someone outline a solution or point to where I can find out how to
>install them?
>
>Thanks,
>frank

Have a look at the file Customization.lyx, there is a section called
"Installing a new LaTeX package".

-- 
Esteban Flocco

  **** Post for FREE via your newsreader at post.newsfeeds.com ****

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Newsfeeds.com - The #1 Usenet Newsgroup Service on The Planet! ***
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  http://www.newsfeeds.com       |         http://www.newsfeeds.com
                                 |
* Anonymous posting server!      | * Totally Uncensored!
* SUPER Servers!                 | * Over 80,000 Newsgroups!
* BINARIES ONLY Servers!         | * 16 seperate Newsgroup Servers!
* SPAM FILTERED Server!          | * Instant access!
* ADULT ONLY Server!             | * Multiple OC 3's and OC 12's!
* MP3 ONLY Server!               | * 99% Article Completion!
* MULTIMEDIA ONLY Server!        | * Months of Retention!
* 7 UNCENSORED Newsgroup Servers | * Lightning FAST downloads!
                                 |
  http://www.newsfeeds.com       |         http://www.newsfeeds.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
        **** Point your newsreader to post.newsfeeds.com ****
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 

------------------------------

From: [EMAIL PROTECTED] (Hugh Lawson)
Subject: Re: i586 kernel vs i686 kernel
Reply-To: [EMAIL PROTECTED]
Date: Mon, 26 Feb 2001 03:08:18 GMT

In article <itdm6.2388$[EMAIL PROTECTED]>, Chris Coyle wrote:


>cd-recorder.
>Both were working fine in 2.2.16, but with 2.2.17 I can't mount my cd-rom
>reader.
>
>Chris.

I ran into this problem with 2.2.17 and an ide cdrom that is described
on the screen as something like "WPI 24X".  I never could get the 2.2.17
kernel to deal with this cd, though 2.2.16 and 2.2.18 would.  Moreover,
after installing a sound card, I couldn't get the cd to play music disks
in Linux, though it would in Windows.

-- 
Hugh Lawson
Greensboro, North Carolina
[EMAIL PROTECTED]

------------------------------

From: [EMAIL PROTECTED] (Jan Schaumann)
Subject: Re: crontab q?
Date: Mon, 26 Feb 2001 03:23:59 GMT

* Sudhakar R. wrote:
> Can anyone please tell me the format of the crontab file and someplace
> where i can rad more about scheduling jobs on RH 7.0

man man
man 5 crontab
man cron

-Jan

-- 
Jan Schaumann <http://www.netmeister.org>

This Message has been modified to fit your IQ.  As a result, the content
might be contradictory to "known facts" and/or offend you.  Sorry.


------------------------------

From: "John Gill" <[EMAIL PROTECTED]>
Crossposted-To: 
linux.samba,comp.os.linux.redhat,comp.os.linux.networking,comp.os.linux.help
Subject: Re: basic help needed with Samba
Date: Mon, 26 Feb 2001 03:34:14 GMT

Dean -- Thanks for the fine help.  For purposes of helping others, there is
a great resource at:
ftp://ftp.samba.org/pub/samba/docs/htmldocs/using_samba/index.html

Essentially, and online book.  I look forward to learning more about Samba
!!

-- JJG

"Dean Thompson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Hi John,
>
> [...]
>
>   The good news is that SAMBA can do all of those things.  You will need
to
> modify some of the general settings first in your smb.conf file.
>
> > 1)    network directory and file sharing -- appear as shares on
> > Win98 / Win95 client PCs;
>
> To do this, you will need to create the shares in smb.conf.  They look
> something like this:
>
> [projects]
>    comment = Projects Area
>    browseable = yes
>    read only = no
>    create mode = 0755
>    path = /projects
>
> BTW, there are more options that you can use than this.  You will need to
do a
> "man smb.conf"
>
> > 2)    network print service -- print to an HP LaserJet with a
> > network card;
>
> This shouldn't be a problem as I presume you can set your Linux box up to
do
> LPD printing to the printer.  Once this is in place, you just need to
create
> the printer shares which look something like this:
>
> [myPrinter]
>         comment = My Printer at home
>         path = /tmp
>         guest ok = Yes
>         print ok = Yes
>         printer name = <QUEUENAME>
>
> You may have to define the printing commands to use in the general section
> including: lpq, lprm, lppause, lpresume, print command and so forth.
>
> > 3)    provide for network login -- like the NT Domain login script;
>
> This can be done, although I use SAMBA2.2 from the CVS tree to do this,
but it
> works like a treat.  I have also set it up so that the SMB passwords are
used
> to log into and access the Linux resources as well.  One password does all
> (which is very handy for some users).
>
> > 4)    provide browser service -- the "who is there" on the
> > Network Neighborhood
>
> Yep, SAMBA does this by default, especially if you tell it that it is the
> preferred master and you change the OS level to help "rig" the elections.
>
> I would strongly recommend looking at the samba site for the documentation
> (http://www.samba.org).
>
> See ya
>
> Dean Thompson
>
> --
>
+______________________________+____________________________________________
+
> |   Dean Thompson              | E-mail  -
[EMAIL PROTECTED] |
> |   Bach. Computing (Hons)     | ICQ     - 45191180
|
> |   PhD Student                | Office  - <Off-Campus>
|
> |   School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)
|
> |   MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077
|
> |   Melbourne, Australia       |
|
>
+------------------------------+--------------------------------------------
+



------------------------------

Subject: Re: Ctrl + Alt + BkSp
From: [EMAIL PROTECTED] (T. Howell)
Date: 26 Feb 2001 03:30:18 GMT

<[EMAIL PROTECTED]> wrote in <97cdkj$q44$1@eng-
ser1.erg.cuhk.edu.hk>:

>Hi,
>I want to disable the function of Ctrl + Alt + BkSp which
>will kill the X and all other applications using that X.
>What should I do?

Put "DontZap" in your XF86Config file . . .

T. Howell
thowell(at)core.com

------------------------------

From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: Please visit my 3D graphics site
Date: 26 Feb 2001 03:38:59 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)

"Robert Francois" ([EMAIL PROTECTED]) writes:
> This is a multi-part message in MIME format.
> 
> ------=_NextPart_000_0031_01C09F61.87966B40
> Content-Type: text/plain;
>       charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> Hello,
> Thanks for your reaction. But what's the problem exactly? Maybe you =
> don't have the flash5 plugin installed (-> http://www.macromedia.com).
> 14,12 % of the visitors of my site use linux 2.2 and 22,11 % uses linux =
> 2.2 so it isn't because you have linux.
> Maybe it's because you have netscape 4.72. Only 3,17 % of the visitors =
> has it. It sure works with netscape 4.76 (31,98 % of the visitors has =
> this program.
> 
> Greetz,
> Bernard Fran=E7ois - http://www.geocities.com/bernardfrancois_1999
> 
>   Jeff Silverman <[EMAIL PROTECTED]> schreef in berichtnieuws =
> [EMAIL PROTECTED]
>   Robert Francois wrote:=20

On se fout eperdument de ce que tu penses qu'on a ou qu'on a pas. Ceci est
un forum de systeme d'exploitation et non un forum de graphiques 3D. Et en
plus tu as l'impolitesse de poster en HTML. Svp t'abstenir de contribuer a
moins que ce soit pertinent.

--
Merci.........................Yvan     Pour le plein air: Club Vertige
 [EMAIL PROTECTED]     http://www.ncf.ca/vertige

------------------------------

From: "fafaforza" <[EMAIL PROTECTED]>
Subject: Re: shutdown priveleges
Date: Sun, 25 Feb 2001 22:44:57 -0500

In article <[EMAIL PROTECTED]>,
"Sudhakar R." <[EMAIL PROTECTED]> wrote:

See if you have a shutdown.allow file in /etc. If you do, any user listed
in the file can use the /sbin/shutdown command.

> I have a linux box running RH 7.0. Right now any user can
> shutdown/reboot the system with the halt/reboot command. How do I set up
> such that this privelege exists only for particular users.
> 
> Thanx in advance.
> -sud
> 
>

------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: shutdown priveleges
Date: 26 Feb 2001 04:03:38 GMT
Reply-To: [EMAIL PROTECTED]

On Sun, 25 Feb 2001 20:49:31 -0500, Sudhakar R. staggered into the Black
Sun and said:
>I have a linux box running RH 7.0. Right now any user can
>shutdown/reboot the system with the halt/reboot command. How do I set
>up such that this privelege exists only for particular users.

How are they shutting the box down?  There are a number of ways to
reboot/halt a box.  "halt -p" or "reboot" at a command prompt, the
button labeled "shutdown" on the kdm/gdm graphical login, and switching
to a text console and hitting Ctrl-Alt-Del.

If I execute "shutdown -h now" as myself on my SuSE 6.4 box, it says,
"shutdown: must be root".  /sbin/shutdown is owned by root.root and
chmodded 755, naturally.  The Ctrl-Alt-Del console shutdown is
controlled by a line in /etc/inittab, like so:
  # what to do when CTRL-ALT-DEL is pressed
  ca::ctrlaltdel:/sbin/shutdown -r -t 4 now
Change the appropriate bit to whatever you want, and then "telinit q".

You can configure gdm/kdm in the GNOME/KDE configuration panel.  I
believe you can allow "all", "root only", "console", or "none" to shut
the machine down.

Probably the best way to control this is to restrict all shutdown
commands to root only, then "man sudo" and take a look at /etc/sudoers
for more details.

-- 
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: key 2 and @ problem?
Date: 26 Feb 2001 16:00:16 +1100
Reply-To: [EMAIL PROTECTED]


I use windows 98se PC and used XWin32 software to link a Linux (red hat 6.2) server. 
Now I have a problem, when I type 2 or @, it is the same key "Del". I did not find 
problems. Does anyone has the same cituations? Can anyone give me some suggustions? I 
used a US 101 keyboard.

Thanks
Jiying


------------------------------


** 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
******************************

Reply via email to