Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 1996 13:41:53 -0500 (EST)
From:      Andrew Y Ng <ayn@rocket.Ngbert.org>
To:        Daniel Keller <dkeller@psln.com>
Cc:        FreeBSD Questions Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: new user questions
Message-ID:  <Pine.BSI.3.95.961223133645.13160B-100000@rocket.Ngbert.org>
In-Reply-To: <199612230713.XAA00056@psln1.psln.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

On Sun, 22 Dec 1996, Daniel Keller wrote:
> I have a few other quetions if you could help me with them:

> 1. How can I give a user certain or all root privilages, whenever I login
> as root it says I should login as a user and su to root. But I would rather
> have a user that has root privilages so I don't have to su all the time.

there is a toor account, which is same as root.
I like setting up special groups to do special tasks, like
webteam, operator, etc.
su'ing to root is a very good idea, iwo, logging in as root (or other
equivalent users) is considered to be a bad practice.

> 2. Once I create a user how do I delete him?

well, I 'vipw', "dd" the row of that user, then 'vi' the other files like
/etc/group, /etc/aliases, etc, and delete that username.
use 'rm -R ~username' to remove his/her home directory.

> 3. My backspace and delete keys a switched, is there and way I can change
> this?

try 'stty erase \^\H' or 'stty erase \^\?'

// whichever is whichever is displayed with u press the backspace key.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMr7SZp6qvWJYgw1hAQEBGgP/bgV3hA6/XgnRgCN3vEf4mOcjvGcdyQry
WW/McWP15BuS2rZuPHk7bewuG0QyFpDPzuyUnM5gDhTSWa4A6vlYpGOk3WnWPLHv
Vg/AbcOhAc+VExG9OLH/RTreeSFiEVZljQ943WIGckqz0aGPWUGLb/FpcO6VDi0H
goKEnkoxPGY=
=2Uma
-----END PGP SIGNATURE-----

--
Andrew Y Ng <ayn@CMU.EDU> | Carnegie Mellon University
http://andrew.Ngbert.org  | ECE major, Music minor
campus ph: 412/862-2836   | voice mail: 412/268-6700 x30027
                          | talk: finger ayn@andrew.Ngbert.org
   * NGBERT.ORG! *        |       for online status
http://www.Ngbert.org     | finger ayn@CMU.EDU for more info...
--------------------------X------------------------------------- 
   NetBSD   FreeBSD   Linux   NeXT   Be   Solaris   !windoze

thought is no substitute for the real thing.
		-- Walt Kelly, "Putluck Pogo"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.961223133645.13160B-100000>