Re: Simple little basic config questions
On Sat, Oct 25, 2003 at 10:26:29PM -0500, Kent West wrote:
> Haines Brown wrote:
>
> >In moving from RedHat to debian, I'm left with some simple little
> >basic configuration questions. They all relate to a situation in which
> >I operate at this point from console.
> >
> >1. Where do I set the global bash prompt format? I changed PS1= in
> > /etc/profile, but that only affects user, not root.
> >
> >
> This is the place; however, users can over-ride this by creating their
> own ~/.profile file. I believe a typical Debian setup does not have
> personal .profiles in users' home directories by default, but there is
> one in root's home directory by default.
My system (woody) sets up .bash_profile when a new user is added.
>
> >2. I had placed the command "setterm -blank 0" in RedHat's
> > /etc/rc.d/rc.local to block screen blanking while running in
> > console. Debian does not use that file. What is its equivalent?
> >
> Sorry; can't address this one.
>
> >3. My usual practice is to avoid xdm and boot to a text login
> > prompt. To do this, in rc2.d I belive I edited the symlink to the
> > xdm program, renaming "S99xdm ->..." to "K99xdm ->...". But in
> > debian I get a beep when I try. Am I imagining I once edited the
> > name of a symlink? Can't one do it in debian?
> >
> Yes, you can do it in Debian. I'm not sure when you're getting the beep;
> is it when you're trying to rename the file, or when the script runs, or
> what? However, if you don't ever want xdm to run, I'd suggest you just
> remove it:
> apt-get --purge remove xdm
> You can always reinstall it later if you want it:
> apt-get install xdm
>
> There are other ways to defeat xdm also, such as renaming the actual
> script (not just the symlink) in /etc/init.d, or by placing an "exit 0"
> as the first executable line in the script.
>
>
> --
> Kent
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
--
David Jardine
"Running Debian GNU/Linux and
loving every minute of it." -Sacher M.
Reply to: