Linux-Misc Digest #170, Volume #25 Tue, 18 Jul 00 16:13:02 EDT
Contents:
Re: YP (NFS) (Mike Frisch)
Re: 1-2-1 cd copy (Perry Pip)
Re: Prompt for root account: Bash Shell problems ("Andrew E. Schulman")
Re: How to change runlevel at boot time ? (Perry Pip)
Another distro question... (Mark Sidarous)
Re: X will not start with .xsession in $HOME dir (Perry Pip)
Re: Prompt for root account: Bash Shell problems ("Coy")
Re: netcg problem - says no DISPLAY env var (Perry Pip)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Mike Frisch)
Subject: Re: YP (NFS)
Date: Tue, 18 Jul 2000 19:10:55 GMT
http://linuxdoc.org
On Tue, 18 Jul 2000 14:36:03 -0700, sylvain hutchison
<[EMAIL PROTECTED]> wrote:
>
>Hi,
>I've got a little more info now, I'm using Red Hat 6.1 right now, and I
>
>was asked to configure the yp, ypinit, ypbind etc, whatever that is.
>
>Once I've done that I should be able to look at all the maps, like the
>passwd file, the hosts, file etc.
>
>
>Another thing I need to do is set up the automounter, which will do the
>dynamic
>mounting of directories from other machine.
>
>If anybody has any info or knows a site where I can get that info I will
>
>very thankful,
>
>Thanks a lot,
>
>
>Sly.
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Perry Pip)
Subject: Re: 1-2-1 cd copy
Date: 18 Jul 2000 19:10:58 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 18 Jul 2000 10:08:59 +0200,
Simon [Working with T. Cooper] <[EMAIL PROTECTED]> wrote:
>Can anyone tell me how to make an _identical_ backup of
>a cd-rom?
>
>Is something along the lines of
>
>#dd if=/dev/scd1 of=/tmp/cdimage.raw bs=1024k count=1
leave of the count=1, or you will only get one block, not the whole
cd. Really, the bs=1024k isn't need either. so that's simply:
dd if=/dev/scd1 of=/tmp/cdimage.raw
>#cdrecord -speed=4 dev=0,0,0 /tmp/cdimage.raw
Thats:
cdrecord -speed=4 dev=0,0,0 -data /tmp/cdimage.raw
>going to get me anywhere?
Yes, you've got the idea.
Perry
------------------------------
From: "Andrew E. Schulman" <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.networking,comp.os.linux.setup,linux.redhat.misc
Subject: Re: Prompt for root account: Bash Shell problems
Date: Tue, 18 Jul 2000 15:12:41 -0400
> I'm using Redhat 6.1 and I'm having problems getting my prompt to display
> correctly for my root account in the bash shell. It works fine under all
> other accounts.
>
> What's happening is when I either use su from another account or I logon
> directly at the machine as root, my prompt shows up as \u@\h \W\$> (under
> any other account this shows up as username@hostname workingdirectory $>)
Are you sure that root's shell is bash? Sometimes root uses restricted
shells such as ash for greater security. These shells have fewer
features and may not recognize the tokens in your PS1.
------------------------------
From: [EMAIL PROTECTED] (Perry Pip)
Crossposted-To: comp.os.linux.x,comp.os.linux.setup,comp.os.linux.redhat
Subject: Re: How to change runlevel at boot time ?
Date: 18 Jul 2000 19:15:10 GMT
Reply-To: [EMAIL PROTECTED]
See /etc/inittab
and `man inittab`
On Tue, 18 Jul 2000 08:00:29 GMT,
mikey <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I would like to change run level at boot time. Normally it defaults to 5. But
>sometimes I don't want xdm. (say there is a prob with my xconfig etc.) I read
>all relevant HOWTOS, and found nothing. I thought I should be able to pass it
>to the kernel from lilo ?
>
>Regards,
>Mike
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
------------------------------
From: Mark Sidarous <[EMAIL PROTECTED]>
Subject: Another distro question...
Date: Tue, 18 Jul 2000 14:16:38 -0500
Okay, (for now, only) I've decided to go with a distribution that runs on
a windows partition. WinLinux 2000 is attractive because you can start it
from within Windows, making it less OS (I know it still is) like and more
like a program which I boot up to do stuff. I've also heard good things
about PhatLinux. DragonLinux is cool because its small (20M) and runs on
a MS partition. Armed Linux is similar, I hear. So has anyone used any
(or all) of these distros? Are they crippled? Do they work well?
Thanks in advance.
--Mark--
------------------------------
From: [EMAIL PROTECTED] (Perry Pip)
Crossposted-To: comp.os.linux.x,comp.os.linux.setup,comp.os.linux.redhat
Subject: Re: X will not start with .xsession in $HOME dir
Date: 18 Jul 2000 19:17:10 GMT
Reply-To: [EMAIL PROTECTED]
chmod 755 .xsession ????
On Tue, 18 Jul 2000 07:52:30 GMT,
mikey <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I have a Red Hat 6.2 with XFree86 3.3.6 installed on my machine. I have
>noticed that if I have .xsession (I have .xinitrc and .Xclients symlinked to
>.xsession) present in my $HOME dir (it doesn't matter if root or just any
>user) I cannot start X. In XDM it will just restart X many times until it
>gives up and console login comes up. When I do startx it will quit X
>imediately and no hint is given at all ie. just message Waiting for X to
>shutdown blah, blah. It doesn't matter what is in the .xsession file at all.
>I created empty file, 0 length and the result is the same. If I remove the
>file, all is back to normal. Anyone has got any ideas ?? Really appreciate
>some help.
>
>Cheers,
>Mike
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
------------------------------
From: "Coy" <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.networking,comp.os.linux.setup,linux.redhat.misc
Subject: Re: Prompt for root account: Bash Shell problems
Date: Tue, 18 Jul 2000 19:22:59 GMT
"Chris Pollock" <[EMAIL PROTECTED]> wrote in message
news:rE1d5.958$L84.932@client...
: I'm using Redhat 6.1 and I'm having problems getting my prompt to display
: correctly for my root account in the bash shell. It works fine under all
: other accounts.
:
: What's happening is when I either use su from another account or I logon
: directly at the machine as root, my prompt shows up as \u@\h \W\$> (under
: any other account this shows up as username@hostname workingdirectory $>)
:
: In my /etc/bashrc file, I have a PS1 line that reads PS1="\u@\h \W\$>" and
: nothing else (yet)
:
: In my /etc/profile file, I have a line that reads:
: "export PS1 USER LOGNAME MAIL HOSTNAME HISTSIZE HISTFILESIZE INPUTRC"
:
: I have nothing relating to PS1 in my ~/.bashrc or my ~/.bash_profile for
: myroot account
Did you check ~/.profile and ~/.login ?
These are also used by /bin/bash for overriding defaults.
dot your i's and cross your t's in all shell/login conf files.
------------------------------
From: [EMAIL PROTECTED] (Perry Pip)
Subject: Re: netcg problem - says no DISPLAY env var
Date: 18 Jul 2000 19:24:51 GMT
Reply-To: [EMAIL PROTECTED]
>From console mode run 'netconf' or 'linuxconf'. netcfg is X-window
only.
On Mon, 17 Jul 2000 22:45:56 -0500,
Tom <[EMAIL PROTECTED]> wrote:
>All:
>I just setup a new Redhat Linux 6.1 box, and I've been trying to run
>netcfg so I can get it hooked up to my ISP. But I get an error
>message. When I run netcfg I get about 13 lines of error desc, the
>first 12 of which state line numbers in different files. The last one
>says:
>"TclError: no dsiplay name and no $DISPLAY environment variable"
>
>I saw a reference on the redhat site to the DISPLAY variable. As
>recommended I set it to (substituting my machine's name where it
>says myhost):
>DISPLAY=myhost:0.0
>
>But I still get the error message when I run netcfg. What am I
>doing wrong? Please advise.
> Thanks, Tom
>
------------------------------
** 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
******************************