🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: dc.org.linux-users
Article #3565

Re: Warning: Newbie Unix/Linux Question...

#3565
From: Przemek Klosowski
Date: Wed, 29 Nov 1995 00:00
33 lines
1824 bytes
In article <49fk7m$9p1@news.smart.net> tmckearn@smarty.smart.net (Tom McKearney) writes:

   Paul Mouritsen (mourip@cpcug.org) wrote:
   : Obviously I need to read some more about system administration but for now I 
   : am wondering if there is a simple way of giving root-like privileges to 
   : "mourip" so that I can log in as mourip and have all the blanket access that I 
   : have as root.

   I wouldn't recommend this for most people, but you can go into the /etc/passwd
   file and find the entry that begins with mourip...

   something like 
   mourip:x:205:103:User Name:/home/mourip:/bin/ksh

   In this case you would want to replace 205 with 0. 

I think that it is a dangerous road to take. I fancy myself a fairly
seasoned Unix hand, but I avoid being root whenever I can. For
instance, I install all new software in /usr/local as myself (I change
ownership of /usr/local to myself).

If I _really_ need to be root (to change /etc/hosts, or something like
that), I become root by typing 'su': it requires providing the root
password, and drops you in a shell with root privileges.  I quit this
shell as soon as I am done.

--
			przemek klosowski (przemek@nist.gov)
			Reactor Division (bldg. 235), E111
			National Institute of Standards and Technology
			Gaithersburg, MD 20899,      USA

			(301) 975 6249
Technical Details
Message-ID: <PRZEMEK.95Nov29144811@rrdjazz.nist.gov>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <mourip.169.0033263A@cpcug.org> <49fk7m$9p1@news.smart.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11663c,90f89312bd5e08c0
X-Google-Attributes: gid11663c,public
From: przemek@rrdjazz.nist.gov (Przemek Klosowski)
Subject: Re: Warning: Newbie Unix/Linux Question...
Date: 1995/11/29
Message-ID: <PRZEMEK.95Nov29144811@rrdjazz.nist.gov>
X-Deja-AN: 120410062
references: <mourip.169.0033263A@cpcug.org> <49fk7m$9p1@news.smart.net>
organization: U. of Maryland/NIST
newsgroups: dc.org.linux-users