Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Root account
- Date: Tue, 09 May 2006 15:03:49 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] Root account
- References: <445EF3D6.9000507@example.com> <d8fcc0800605080038q636dd6cen59e7a4dd12c73e38@example.com> <445F0489.3010400@example.com> <20060508111314.365bede2.godwin.stewart@example.com> <445F23F2.30408@example.com> <d8fcc0800605080437i494e9d6fh1bc97f801f94e6dc@example.com> <445F35AB.2040800@example.com> <20060508143247.bcf3ae40.godwin.stewart@example.com> <20060508133934.GA30878@example.com> <20060508162442.a6fe63ec.godwin.stewart@example.com> <20060508144214.GA49717@example.com> <87wtcwmozm.fsf@example.com> <445FDACB.1050304@example.com>
- Organization: The XEmacs Project
- User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (linux)
>>>>> "Dave" == Dave M G <Dave> writes: Dave> I'm not sure what the confusion here is. I can get into a Dave> root account. That's right. The problem is that "root account" is not well-defined. It has a number of meanings (1) The privilege of overriding any permission restrictions set by anyone. (2) Access to a set of resources owned by that account. (3) An environment that sets the defaults for resolving ambiguity. sudo is a device for implementing (2), basically. This indirectly provides (1) (via permission-changing commands like chmod which treat requests from the root user specially) and (3) (via su -). If you are told "permission denied", then (2) is what you need, and it's all you need. However, if you're told "not found", then (3) is the problem, if the resource exists. But if you can't find it, you can't distinguish between a resource that doesn't exist and the failure to look for the resource where it actually is. (Once you do find it, of course you can then run into "permission denied".) Dave> But that hasn't changed the fact that, when in a root Dave> account or otherwise, it could not find the command you guys Dave> are recommending: Dave> root@example.com:/usr/sbin# generate-modprobe.conf > /etc/modprobe.conf Dave> bash: generate-modprobe.conf: command not found This *should not* work, even if /usr/sbin/generate-modprobe.conf exists. '.' should never be in anyone's PATH, and especially not in root's: it's a major security hole. To execute commands in the current directory, use ./generate-modprobe.conf. Dave> However, using locate, I found the following: Dave> dave@example.com:~$ locate generate-modprobe Dave> /usr/share/doc/module-init-tools/examples/generate-modprobe.conf.gz Good for you! We probably should have suggested that in the first place, but it's even better that you are using those tools yourself. -- School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.
- References:
- Re: [tlug] Accessing microphone
- From: Dave M G
- Re: [tlug] Accessing microphone
- From: Josh Glover
- Re: [tlug] Accessing microphone
- From: Dave M G
- Re: [tlug] Accessing microphone
- From: Godwin Stewart
- Re: [tlug] Accessing microphone
- From: Dave M G
- Re: [tlug] Accessing microphone
- From: Josh Glover
- Re: [tlug] Accessing microphone
- From: Dave M G
- Re: [tlug] Accessing microphone
- From: Godwin Stewart
- Re: [tlug] Accessing microphone
- From: Scott Robbins
- Re: [tlug] Accessing microphone
- From: Godwin Stewart
- Re: [tlug] Accessing microphone
- From: Scott Robbins
- Re: [tlug] Accessing microphone
- From: Stephen J. Turnbull
- [tlug] Root account (was: Accessing microphone)
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Kernel source files for latest build.
- Next by Date: Re: [tlug] Kernel source files for latest build.
- Previous by thread: [tlug] Root account (was: Accessing microphone)
- Next by thread: Re: [tlug] Accessing microphone
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links