[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Hurray



Hi,

There are multiple answers to your questions, here are my versions:


1)    How do I set up more virtual consoles?  Just in case I've missused a
term, what I want to know is, how do I set up more consoles so that I can
<alt>+<Fx> to another vertual terminal? 
A:    Use F9 F10 F11 F12 
2)    How do I setup the command line history to allow me to uparrow scroll
through the commands given in history? 
A:    If you're using KSH, edit the .profile in your $HOME directory and add
this line:
    set -o vi OR
    set -o emacs

   This will let you use the editor in your command line. If you use vi, you
ESC and then 'k' to go up 'j' to go down 'h to move cursor back 'l' to move
cursor forward and '\' to do command line completion. 
3)    Final question, at least for now, how do I setup the root account so
that I'm not asked for terminal emulation every time I login?  Also, what is
the default terminal emulator? 
 A:   My answer to that has no scientific proof. I use the 'vipw' command,
then change my root's shell from csh to ksh (Just delete the c, add a k).
   I don't know why this works but it does.(Oh, I deleted the last 3 or four
lines of /root/.profile)

 
4)    Sorry, one last question.  How does one make a user able to use the su
command?  I thought that users part of group wheel could, and I made myself
part of wheel but I couldn't use su.  Come to think of it, I might not have
added myself properly.  During useradd, I made myself an account and said
that it was part of the login group wheel.  I thought that would do, but
evidently not.
A:    I had done the same thing once... Delete the user, re-create it, when
it asks you what login group leave it as the default, when it asks you to
invite into other groups, type wheel.
    You can also edit the /etc/groups file and make sure your user is in the
wheel group


Good luck,

  
Patrick Ethier
patrick@secureops.com