Linux-Misc Digest #565, Volume #27 Sun, 8 Apr 01 23:13:03 EDT
Contents:
Re: put back panel in Gnome (Jean-David Beyer)
P.S.: Re: put back panel in Gnome (Jean-David Beyer)
Re: renaming files by removing a single character from original filename ("Glitch")
Re: Slackware games windows bigger than desktop (Bill Lucas)
syslog.conf question (Dan Smith)
Re: Two frustrating Samba problems... (Bill Day)
Re: Two frustrating Samba problems... ("Hiawatha Bray")
process becomes [process] (Chris Lo)
You Linux people are unbelievably stupid. (Arctic Storm)
Re: What's with mksmbpasswd? ("Richard A. Bilonick")
Re: process becomes [process] (Samuel Hocevar)
Re: You Linux people are unbelievably stupid. (Jem Berkes)
Ran RHN app and system is gone screwy.... ("JNJ")
Re: You Linux people are unbelievably stupid. (Grant Edwards)
Re: You Linux people are unbelievably stupid. (Hal Burgiss)
Re: You Linux people are unbelievably stupid. (Arctic Storm)
Re: Two frustrating Samba problems... (Michael Perry)
----------------------------------------------------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: put back panel in Gnome
Date: Sun, 08 Apr 2001 20:12:57 -0400
Manatee wrote:
>
> I am new to Gnome (switched recently from KDE). I was messing around and removed the
>panel
> at the buttom. How do I put it back? It is not clear how to put this panel back.
>Thanks.
>
Do not do it again. I did it to myself once, and it was hell to pay to
fix it permanently.
I have the instructions in front of me, but I do not dare to try them
(I cannot copy and past this, so I hope I do not make too many
mistakes):
Resetting the GNOME Session
One advanced feature of the GNOME Session Manager is the ability to
recover a "clean session" if anything goes wrong for you. To do this,
you must hold down the CTRL and SHIFT keys together when you log in to
GNOME.
This will bring up a dialog box which gives you two different options
for restoring your GNOME Session.
The first option is to "Start with default programs." This option will
remove all the session configuration setting in respect to
applicatioins. This will only erase the GNOME data for applicatioins
you had running when you logged out last, it will not change any
information you may have set in the Session Manager Capplet in the
GNOME Control Center.
The second option is to :Reset all user settings." This will reset all
GNOME application, and core configuration data. This option will
destroy any configurations you have made to the Panel, the GNOME File
Manager, the Session Manager Capplet, and any GNOME application. This
option will not remove files on your desktop.
IMPORTANT: These options are for advanced users and should only be
used in case there is a problemwith your GNOME Session. You can lose
data for many applications if you use the functionality provided by
these options.
[Pretty picture not attempted.]
Good Luck.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 8:05pm up 7 days, 2:54, 3 users, load average: 2.18, 2.15, 2.13
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: P.S.: Re: put back panel in Gnome
Date: Sun, 08 Apr 2001 20:21:27 -0400
Manatee wrote:
>
> I am new to Gnome (switched recently from KDE). I was messing around and removed the
>panel
> at the buttom. How do I put it back? It is not clear how to put this panel back.
>Thanks.
>
I tried my previous suggestion on my other machine (that runs Red Hat
Linux 6.0). When you try the previous suggestion, you will note you
cannot login if you are holding down control and shift. What you do is
fill in the login box normally, and hit tab or enter to get to the
password box. Fill that in normally too.
THEN hold down CONTROL SHIFT and hit ENTER. THIS is what gets you the
pretty picture with the two options. You will probably need the second
option.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 8:15pm up 7 days, 3:04, 3 users, load average: 2.07, 2.08, 2.08
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: renaming files by removing a single character from original filename
Date: Sun, 08 Apr 2001 20:05:59 -0400
In article <[EMAIL PROTECTED]>, "Peter T. Breuer"
<[EMAIL PROTECTED]> wrote:
> Glitch <[EMAIL PROTECTED]> wrote:
>> hi,
>
>> I got a bunch of files that need to be renamed. The original filenames
>> have characters in them above the usual 255 character ASCII. I thought
>
> You mean above the usaual 127 character ascii (approx).
>
>> I'd just rename these files but how do i do a simple For loop in Bash
>> to rename the files by leaving out a character from the original name?
>
>> The last time I renamed a bunch of files using a For loop I was just
>> adding characters and it was simple, but how do u specify you want to
>> remove a character as well as the character to remove?
>
> I'd just do something like;
>
> for i in ./* ; do
> mv -i $i `echo $i | tr --complement -d '[:print:]'`
> done
>
thanks, worked like a charm. I had to edit the command itself a little
bit to use ` instead of ' (from echo to the end)
after that it worked fine and renamed the files as I wanted, thanks again
------------------------------
From: [EMAIL PROTECTED] (Bill Lucas)
Subject: Re: Slackware games windows bigger than desktop
Reply-To: [EMAIL PROTECTED]
Date: Mon, 09 Apr 2001 01:04:16 GMT
On Sun, 08 Apr 2001 21:19:28 GMT, "Peter T. Breuer"
<[EMAIL PROTECTED]> wrote:
>Bill Lucas <[EMAIL PROTECTED]> wrote:
>
>> When I open a new program 'process' i.e. netscape the new window is
>> longer than the desktop? Netscape has the maxamize button which works
>
>Sounds like you set up the desktop too small. You want to choose
>1024x768 or larger.
>
>Peter
1024x768 was plenty large enough, I just cant seem to find the happy
medium where the icons and text are readable and the programs doesn't
fall off the window. I guess it's time to upgrade the 14"
thanx for pointing me in the right direction
Bill
------------------------------
From: Dan Smith <[EMAIL PROTECTED]>
Subject: syslog.conf question
Date: 08 Apr 2001 19:50:06 -0400
How can I configure my syslog.conf to have the ipchains packet log
information sent to another file? Right now, this is my syslog.conf:
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
kern.* /var/log/kernmsg
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;news.none;authpriv.none
/var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* /var/log/maillog
# Everybody gets emergency messages, plus log them on another
# machine.
*.emerg *
# Save mail and news errors of level err and higher in a
# special file.
uucp,news.crit /var/log/spooler
#
# INN
#
news.=crit /var/log/news/news.crit
news.=err /var/log/news/news.err
news.notice /var/log/news/news.notice
It seems that the line that says kern.* should take care of it, but
the packet log information still shows up in my /var/log/messages
file.
Thanks!
--Dan
------------------------------
From: Bill Day <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.misc,linux.samba
Subject: Re: Two frustrating Samba problems...
Date: Sun, 08 Apr 2001 19:57:02 -0500
Reply-To: [EMAIL PROTECTED]
You need SAMBA. For linux to see the Win shares, you need smbmount.
Check this site:
http://us2.samba.org/ you will find all the documentationt here to
setup samba. If samba is installed on your system, condider upgrading
it to at least 2.0.6 as well.
HTH,
Hiawatha Bray wrote:
>
> First, how do I get my Windows box to see the files on my Linux machine?
> When I go to Network Neighborhood, I see the Linux computer, but when I
> click on the Icon for it, I get an Action Cancelled window. When I run net
> view in a DOS window, I get an Error 53 saying the computer can't find the
> machine. But when I do a generic net view command, to show all the boxes
> connected, the Linux box pops right up. I don 't get this. Do I need to
> set up shares for the Linux drives? If so, how?
>
> My other question: How do I see the Windows shares on the Linux box?
> What's the Linux equivalent of Network Neighborhood? Thanks.
--
Bill Day
Registered Linux User # 188133
Registered Linux Mach # 83358
http://counter.li.org/
irc.openprojects.net #openlinux
http://openlinux.linux-root.com
------------------------------
From: "Hiawatha Bray" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.misc,linux.samba
Subject: Re: Two frustrating Samba problems...
Date: 09 Apr 2001 02:07:20 GMT
But I have Samba. I've even got it running. I can see my Linux computer on
my Windows box, but I can't actually access any of the files. That's my
problem...
"Bill Day" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> You need SAMBA. For linux to see the Win shares, you need smbmount.
>
> Check this site:
> http://us2.samba.org/ you will find all the documentationt here to
> setup samba. If samba is installed on your system, condider upgrading
> it to at least 2.0.6 as well.
>
> HTH,
>
> Hiawatha Bray wrote:
> >
> > First, how do I get my Windows box to see the files on my Linux machine?
> > When I go to Network Neighborhood, I see the Linux computer, but when I
> > click on the Icon for it, I get an Action Cancelled window. When I run
net
> > view in a DOS window, I get an Error 53 saying the computer can't find
the
> > machine. But when I do a generic net view command, to show all the
boxes
> > connected, the Linux box pops right up. I don 't get this. Do I need
to
> > set up shares for the Linux drives? If so, how?
> >
> > My other question: How do I see the Windows shares on the Linux box?
> > What's the Linux equivalent of Network Neighborhood? Thanks.
>
> --
> Bill Day
> Registered Linux User # 188133
> Registered Linux Mach # 83358
> http://counter.li.org/
> irc.openprojects.net #openlinux
> http://openlinux.linux-root.com
------------------------------
Date: Mon, 09 Apr 2001 10:17:23 +0800
From: Chris Lo <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: process becomes [process]
Hi,
We run RH6.2 with Oracle. For most Oracle server processes, they all
look
alikie
ora_pmon_SID
ora_smon_SID
but sometimes when the server is busy, the ps will only list them as
[oracle].
This fails our monitoring scripts. Has anyone come across this and have
a fix for
it?
Thanks & Regards,
Chris
------------------------------
From: Arctic Storm <[EMAIL PROTECTED]>
Subject: You Linux people are unbelievably stupid.
Crossposted-To: comp.os.linux.networking
Date: Mon, 09 Apr 2001 02:17:51 GMT
Not *all* Linux users. Only those who write the "How-To" on Samba.
I've been trying to setup Linux printer server for weeks without success,
because all the Samba How-To is *wrong*. To be more specific, all the of
the How-To is not complete.
I accidentally came across the solution while reading through Fax How-To.
I issued the following command from root account.
chmod 777 /var/spool/lpd/lp
This is what solved the problem.
It is truely shocking that *no one* has included this important information
in any of the Samba How-To. Shame on you!
------------------------------
From: "Richard A. Bilonick" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.misc,linux.samba
Subject: Re: What's with mksmbpasswd?
Date: Mon, 09 Apr 2001 02:31:14 GMT
Try
smbclient -LN pdcserver
if you know your pdc server netbios name.
You can also use smbmount and umount to mount and unmount shares:
smbmount //service/share /mnt/whatever -U username
umount /mnt/whatever
(I don't recall if it is -U or username - check the man file.)
Rick Bilonick
Hiawatha Bray wrote:
> Thanks for the help. That worked. But now I've got new problems.
>
> First, how do I get my Windows box to see the files on my Linux machine?
> When I go to Network Neighborhood, I see the Linux computer, but when I
> click on the Icon for it, I get an Action Cancelled window. When I run net
> view in a DOS window, I get an Error 53 saying the computer can't find the
> machine. But when I do a generic net view command, to show all the boxes
> connected, the Linux box pops right up. I don 't get this. Do I need to
> set up shares for the Linux drives? If so, how?
>
> My other question: How do I see the Windows shares on the Linux box?
> What's the Linux equivalent of Network Neighborhood? Thanks.
>
> "Linux" <[EMAIL PROTECTED]> wrote in message
> news:JOWz6.48$[EMAIL PROTECTED]...
> > Hi,
> >
> > Have you tryed:-
> > smbpasswd -a username
> >
> > This is how I add new users ;-)
> > I still have not worked out how to delete them once they leave ;-(
> >
> > Have fun
> >
> > Mark
> > Hiawatha Bray <[EMAIL PROTECTED]> wrote in message
> > news:9anub5$[EMAIL PROTECTED]...
> > > I finally installed the Samba server RPM, so mksmbpasswd is on my
> > computer.
> > > But it won't run. I don't get it....
> > >
> > > At least smbpasswd is running now. But I just can't get it to accept a
> > new
> > > password. Is there some other way to achieve this? Thanks.
> > >
> > >
> > >
> >
> >
--
Rick Bilonick - mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Samuel Hocevar)
Crossposted-To: comp.os.linux.development.system
Subject: Re: process becomes [process]
Date: 9 Apr 2001 02:40:36 GMT
On Mon, 09 Apr 2001 10:17:23 +0800,
Chris Lo <[EMAIL PROTECTED]> wrote:
> but sometimes when the server is busy, the ps will only list them as
> [oracle].
>
> This fails our monitoring scripts. Has anyone come across this and have
> a fix for it?
You are probably calling ps with the wrong flags. Try `ps aucxw'.
Sam.
--
Samuel Hocevar <[EMAIL PROTECTED]> <http://sam.zoy.org/>
for DVDs in Linux screw the MPAA and ; do dig $DVDs.z.zoy.org ; done | \
perl -ne 's/\.//g; print pack("H224",$1) if(/^x([^z]*)/)' | gunzip
------------------------------
From: Jem Berkes <[EMAIL PROTECTED]>
Subject: Re: You Linux people are unbelievably stupid.
Date: Sun, 08 Apr 2001 21:44:55 -0500
> Not *all* Linux users. Only those who write the "How-To" on Samba.
> I've been trying to setup Linux printer server for weeks without success,
> because all the Samba How-To is *wrong*. To be more specific, all the of
> the How-To is not complete.
> I accidentally came across the solution while reading through Fax How-To.
> I issued the following command from root account.
> chmod 777 /var/spool/lpd/lp
> This is what solved the problem.
> It is truely shocking that *no one* has included this important information
> in any of the Samba How-To. Shame on you!
I don't know much about this, but is it safe for this file to be
world-writable? Here's a file named "test"
-rw-r----- 1 berkes users 6 Apr 8 21:40 test
(now I issue chmod 777 test)
-rwxrwxrwx 1 berkes users 6 Apr 8 21:40 test
The file modes indicate that now EVERYONE can write to test. All users,
all daemons, even 'nobody'. Is this going to be a source for more
problems (especially if your machine is connected to the internet)?
--
http://www.pc-tools.net/
DOS, Win32, Linux software
------------------------------
From: "JNJ" <[EMAIL PROTECTED]>
Subject: Ran RHN app and system is gone screwy....
Date: Sun, 8 Apr 2001 22:51:40 -0400
Well, I ran the RHN app to give this new auto update thang a swing and guess
what? Now my ETH0 does not initialize, the system cannot find the lib for
2.2.16 (I checked off the 2.2.17 update in the RHN app), I get incorrect
minor/major numbers on removable media, I can no longer access my FAT32
drive through the normal mount (haven't tried manually mounting it yet), and
there are a few other errors during startup. I also cannot get my pilot to
hotsync.
On the bright side, my system is now finally recognizing the full 512M of
RAM on the system! <Chuckle>
To say the least, I'm thinking my Redhat 7 installation just went fry-out on
me. :) Any quick suggestions before I swack this drive and reinstall from
scratch?
James
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: You Linux people are unbelievably stupid.
Date: Mon, 09 Apr 2001 02:51:27 GMT
On Mon, 09 Apr 2001 02:17:51 GMT, Arctic Storm
<[EMAIL PROTECTED]> wrote:
>Not *all* Linux users. Only those who write the "How-To" on Samba.
>I've been trying to setup Linux printer server for weeks without success,
>because all the Samba How-To is *wrong*. To be more specific, all the of
>the How-To is not complete.
>I accidentally came across the solution while reading through Fax How-To.
>I issued the following command from root account.
>chmod 777 /var/spool/lpd/lp
>This is what solved the problem.
>It is truely shocking that *no one* has included this important information
>in any of the Samba How-To. Shame on you!
Fix it and send a patch to the maintainer. How do you think
things like that get fixed if people like you don't help?
--
Grant Edwards grante Yow! Where's th' DAFFY
at DUCK EXHIBIT??
visi.com
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: You Linux people are unbelievably stupid.
Reply-To: Hal Burgiss <[EMAIL PROTECTED]>
Date: 8 Apr 2001 22:55:51 -0400
On Mon, 09 Apr 2001 02:17:51 GMT, Arctic Storm
<[EMAIL PROTECTED]> wrote:
>Not *all* Linux users. Only those who write the "How-To" on Samba.
>I've been trying to setup Linux printer server for weeks without success,
>because all the Samba How-To is *wrong*. To be more specific, all the of
>the How-To is not complete.
>I accidentally came across the solution while reading through Fax How-To.
>I issued the following command from root account.
>chmod 777 /var/spool/lpd/lp
>This is what solved the problem.
>It is truely shocking that *no one* has included this important information
>in any of the Samba How-To. Shame on you!
As someone who spends my own free time trying to maintain 2 HOWTOs, and not
getting paid a frigging penny, I have some suggestions:
a) Make sure you have the most current HOWTO. Check linuxdoc.org. The
ones that ship with many distros go out of date very quickly. Many (but
not all by any means) are updated fairly frequently. One HOWTO of mine
has been updated 3 times (with various corrections) just since RH7 was
released for instance.
b) You may have been bit by some distro dependent pecularity (read bug).
It is impossible for anyone to stay on top of all the various
idiosyncracies of each distribution. Not knowing a thing about samba,
but maybe the distro installer blew it, and not the HOWTO? Or maybe some
other package installation frigged somethig up? Maybe it is a certain
combination of packages that interact abnormally? Maybe even you did
something (I know of course this is impossible, right?).
Example: One HOWTO I maintain gives a detailed set of instructions for a
certain process on Rehdat. I personally tested the entire routine on 2
machines to make sure the steps, commands and processes were all
correct. This was fine for a long time. Apparently, Redhat changed the
way one of the commands (chkfontpath) behaved in the absence of other
information. A very minor change in behavior and this totally blew the
instructions to hell. Am I going to test all this specific stuff with
the release of each distro? No I am not usually. If not for some user
mailing me and letting me know (and it was exaclty just one that
complained!), the instructions would have been broken from now until the
end of time. So take these HOWTOs as user to user help, and not
something you are paying for and expecting any kind guarantee.
d) If you find mistakes in a HOWTO, contact the maintainers(s), not a
bunch of users on a news group. The people here are unlikely to help fix
this percieved defiency. Anything can have bugs including documentation
but without user feedback, things don't improve as well as they might.
e) If you don't like it, do something constructively about it and quit
whining and sniveling like a six year old. Shame on you!
--
Hal B
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Spamtrap: [EMAIL PROTECTED] and [EMAIL PROTECTED]
--
------------------------------
From: Arctic Storm <[EMAIL PROTECTED]>
Subject: Re: You Linux people are unbelievably stupid.
Date: Mon, 09 Apr 2001 03:04:48 GMT
> > Not *all* Linux users. Only those who write the "How-To" on Samba.
> > I've been trying to setup Linux printer server for weeks without
> > success,
> > because all the Samba How-To is *wrong*. To be more specific, all the
> > of the How-To is not complete.
> > I accidentally came across the solution while reading through Fax
> > How-To. I issued the following command from root account.
> > chmod 777 /var/spool/lpd/lp
> > This is what solved the problem.
> > It is truely shocking that *no one* has included this important
> > information
> > in any of the Samba How-To. Shame on you!
>
> I don't know much about this, but is it safe for this file to be
> world-writable? Here's a file named "test"
>
> -rw-r----- 1 berkes users 6 Apr 8 21:40 test
> (now I issue chmod 777 test)
> -rwxrwxrwx 1 berkes users 6 Apr 8 21:40 test
>
> The file modes indicate that now EVERYONE can write to test. All users,
> all daemons, even 'nobody'. Is this going to be a source for more
> problems (especially if your machine is connected to the internet)?
The directory /var/spool/lpd/lp is just a temporary location to store the
file being printed. After the file is printed, that file will be deleted.
------------------------------
From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Two frustrating Samba problems...
Date: Mon, 09 Apr 2001 03:09:27 -0000
On 09 Apr 2001 02:07:20 GMT, Hiawatha Bray <[EMAIL PROTECTED]> wrote:
> But I have Samba. I've even got it running. I can see my Linux computer on
> my Windows box, but I can't actually access any of the files. That's my
> problem...
>
>
Please stop crossposting! To get samba working, you need to decide how you
want to share files/directories. Do you want to share a home directory?
How is samba setup? Is it setup to do user level security? If so, create a
user with smbpasswd -a nameofuser that is equal to the user you create on
the windows box. Select to use encrypted passwords. Look at how the
default smb.conf shares your home. Decide if you want an additional share
created and do it. Visit samba.org and view the smb.conf pages to get an
idea about how to do things.
You want to make sure you have this in the global options of your smb.conf:
security = user
workgroup = WORKGROUP (or whatever you want here as long as its the same on
both systems)
encrypt passwords = yes
Here is my home share:
[homes]
comment = Home Directories
browseable = yes
read only = no
create mask = 0775*
directory mask = 0775*
*this creates the ability for groups to read and write to the shared
diretory.
Here is my /projects share from the same system:
[projects]
comment = Workstuff
browseable = yes
path = /projects
writable = yes
Here is my zip drive share from the same system:
[zip]
comment = zip drive
writable = yes
path = /zip
preexec = /bin/mount /zip
postexec = /bin/umount /zip
Make the changes you need and restart samba. Go to the win98 box and login
with the user you created which mirrors the one you added with smbpasswd and
you should be close. Note that the zip drive share also will work with
other media like cdroms.
--
Michael Perry
[EMAIL PROTECTED]
===================
------------------------------
** 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
******************************