Article View: comp.os.linux.security
Article #36Re: usermod -u 600 root
From: Doug Laidlaw
Date: Fri, 28 Nov 2003 12:41
Date: Fri, 28 Nov 2003 12:41
29 lines
2157 bytes
2157 bytes
DragonII wrote: > Hi, > > Having a problem as you can see on the subject line. Can't access any > files anymore (at least the ones that root had access to) and that > poses a problem. > Does anyone have a backdoor solution to this? Thanks in advance. > > DragonII The usermod command changes the parameters of the user root. Have you tried to give root the UID 600? To change a file to permissions 600 the command is chmod. That said, I don't know enough to get you out of it. I would try one of the GUI user managers, but in turn, you would need to run it as root. I would have thought that root is root, and its uid doesn't matter. Plainly, that is not correct. Man usermod says that the change will be applied only to files in root's home directory, and others must be changed manually - don't ask me how. Perhaps the simplest answer would be to run usermod again and change root back to what it was (0 (zero) in my Mandrake system.) Do it in the same place that you ran it before. HTH, Doug. -- Registered Linux User No. 277548. They say lightning never strikes twice in the same place. My typing is about as accurate. Apologies for any typos that slip in. - Doug.
Technical Details
Message-ID:
<ddsj91-6d9.ln1@dougshost.mydomain.org.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!freenews.iinet.net.au!not-for-mailReferences:
<kf9esv0ts24ikvdo4ifkf8ki59ro14vsc5@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100a19,597489be0160be2d X-Google-Attributes: gid100a19,public X-Google-Thread: 106e9e,597489be0160be2d X-Google-Attributes: gid106e9e,public X-Google-ArrivalTime: 2003-11-28 04:45:12 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!freenews.iinet.net.au!not-for-mail Message-ID: <ddsj91-6d9.ln1@dougshost.mydomain.org.au> From: Doug Laidlaw <laidlaws@myaccess.com.au> Subject: Re: usermod -u 600 root Newsgroups: comp.os.linux.security,be.comp.os.linux Followup-To: comp.os.linux.security Date: Fri, 28 Nov 2003 23:41:48 +1100 References: <kf9esv0ts24ikvdo4ifkf8ki59ro14vsc5@4ax.com> User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Lines: 29 NNTP-Posting-Host: 203.220.169.27 X-Trace: 1070023314 freenews.iinet.net.au 1754 203.220.169.27