netdev
[Top] [All Lists]

Re: NFS and Network Driver Question

To: Bob Wirka <bobwirka@xxxxxxxxxxxx>
Subject: Re: NFS and Network Driver Question
From: Michael Richardson <mcr@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Oct 2004 20:54:01 -0400
Cc: netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: Message from Bob Wirka <bobwirka@rtcworks.com> of "Tue, 19 Oct 2004 19:19:10 CDT." <4175AEFE.7090002@rtcworks.com>
References: <41704198.8000206@rtcworks.com> <4175AEFE.7090002@rtcworks.com>
Sender: netdev-bounce@xxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Bob" == Bob Wirka <bobwirka@xxxxxxxxxxxx> writes:
    Bob> Ok, now I feel like I'm taking crazy pills...

    Bob> The embedded system boots up and mounts the root file system on
    Bob> my host laptop. The 'rc.sysinit' startup script executes the
    Bob> command 'mount -a' which should mount /proc, /dev/pts, and
    Bob> /dev/shm, as listed in /etc/fstab. When executed, that command
    Bob> returns "mount: only root can do that".

    Bob> When I get to the bash prompt, 'whoami' reports that I am,
    Bob> indeed, root. A 'mount -a' from the command prompt gives the
    Bob> same result; it doesn't think I'm root for the mount command.

  The mount command is perhaps setuid root, but you aren't mounting the
root file system in a way that permits it to be identified as such.
  Or, the file is in fact not owned by root, and is in fact setuid not-root.

- --
]     "Elmo went to the wrong fundraiser" - The Simpson         |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr@xxxxxxxxxxxxx      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQXW3KIqHRg3pndX9AQFERwQAhUpzaFDzVch+W2TEU2SFDtSJZObQ5yZ3
7hhVtiDI5igzO/MHkipXm89LrNnfwSg+6jfMIo8MlWU+nuqHFWiHkrPeWj8jaFmd
QQ+aHhryTn06fyU4UQg1OjEpcHHvo4pLr8lqPwebMjL2JKgk8CM/X2d1N6m9xT+2
Nx8H0Rq84sM=
=Dso2
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>