Unable to modify /proc files in ubuntu?

Noah Dain noahdain at gmail.com
Mon Mar 7 06:37:38 UTC 2005


On Mon, 7 Mar 2005 05:34:25 +0000 (UTC), Pete Shinners
<pete at shinners.org> wrote:
> I've got some instructions to modify one of the files under the proc tree.
> 
>    echo 1 > /proc/sys/vm/legacy_va_layout
> 
> How is this possible under Ubuntu? I've tries a few styles of sudo command, but
> nothing will work. Under debian I would have just done this as root. What is the
> ubuntu way?
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 

same thing happens here.

try: sudo -s <enter> and then the echo command.  this will start a
shell under root, and then any subsequent commands are run as root. 
This works for me.  To get out, just exit out of the 'root' shell.

-- 
Noah Dain
noahdain at gmail.com




More information about the ubuntu-users mailing list