On Fri, 11 Oct 2002, MET wrote:

> What is the script that gets for the bash shell on login for a user. Not
> the default wide file, but the user specified one.  Basically, I want to
> set it up so that when 1 of my users logs on it automatically runs the
> command 'startx' to load of KDE.  I'm doing it this way because

Use .bash_profile. If you use .bashrc instead, it will cause all sorts of
grief if the user opens any xterms. Of course, any knowledgable user can
change their own .bash_profile, and bypass any defaults in /etc/profile.
But if the point is to make it easier for this user (as opposed to some
sort of paranoia thing), then it will work fine.

> I do want to boot directly into graphic mode as it inhibits certain
> functions for the virtual terminal, or rather makes them dangerous for
> some commands.

Change your default runlevel to 5. Not really sure how much that will buy
you, though, since there's nothing to stop someone from entering
CTRL-ALT-F1 and opening a virtual console there. Sure, you could delete
all the VC's from /etc/inittab, but that strikes me as both silly and
draconian at the same time.

-- 
"The only thing that helps me maintain my slender grip on reality is the
friendship I share with my collection of singing potatoes."

                        - Holly, JMC Vessel *Red Dwarf*



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to