🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#3562
From: Tom McKearney
Date: Tue, 28 Nov 1995 00:00
27 lines
1663 bytes
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.

: Any help would be appreciated.

: Paul Mouritsen

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.  0 is the User ID
of root.  Effectively you would BE root, but the username would say mourip.
This is kinda risky, because you will forget that you are root.  I recommend
this ONLY for a short-term solution.  Be careful.

--
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
~  Tom McKearney                     |  tmckearn@smart.net                ~
~  Computer Consultant               |  http://www.smart.net/~tmckearn    ~
~  Baltimore, Maryland               |  (Resume is on web page)           ~
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,.|.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
Technical Details
Message-ID: <49fk7m$9p1@news.smart.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <mourip.169.0033263A@cpcug.org>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11663c,90f89312bd5e08c0
X-Google-Attributes: gid11663c,public
From: tmckearn@smarty.smart.net (Tom McKearney)
Subject: Re: Warning: Newbie Unix/Linux Question...
Date: 1995/11/28
Message-ID: <49fk7m$9p1@news.smart.net>
X-Deja-AN: 120319749
references: <mourip.169.0033263A@cpcug.org>
organization: Smartnet Internet Services [via news]
newsgroups: dc.org.linux-users