Article View: dc.org.linux-users
Article #3567Re: Warning: Newbie Unix/Linux Question...
From: David Paper
Date: Wed, 29 Nov 1995 00:00
Date: Wed, 29 Nov 1995 00:00
36 lines
1853 bytes
1853 bytes
In article <49fk7m$9p1@news.smart.net>, Tom McKearney <tmckearn@smarty.smart.net> wrote: >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. I wouldn't recommend this at ALL. Some programs have "root" hard coded into them, and will only run as "root",. no matter what the UID/GID of the user are. I know - badly written code - but there is a lot of it out there, and I tried to do the same thing, set my regular user id to have root priv's, and it turrned out to be a terrible idea. My suggestion is - if you don't want to always login as root, use "su - root" or add yourself to the /etc/sudoers list, and then sudo commands that need to be run as root. I use sudo quite a bit on my system, even though I've been told it is a security hole. -dave -- -- "One only needs two tools in life: WD-40 to make things go, and duct tape to make them stop." cerb@isr.umd.edu http://ginch.dial.umd.edu
Technical Details
Message-ID:
<49i159$kdv@bar.isr.umd.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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: cerb@Glue.umd.edu (David Paper) Subject: Re: Warning: Newbie Unix/Linux Question... Date: 1995/11/29 Message-ID: <49i159$kdv@bar.isr.umd.edu> X-Deja-AN: 120506587 distribution: dc references: <mourip.169.0033263A@cpcug.org> <49fk7m$9p1@news.smart.net> organization: Project Glue, University of Maryland, College Park newsgroups: dc.org.linux-users