PDA

View Full Version : [ubuntu] Using root


Benbow
July 13th, 2008, 10:28 AM
I have installed Cinelerra and when I ran it for the first time it told me that one of my processes was "low". It told me to run this -
echo"0x7fffffff">/proc/sys/kernel/shmmax -
as root. I have tried sudo without success. How do I carry out this operation?

Master Chief
July 13th, 2008, 10:32 AM
Try:

su

Enter password and type

exit

when you're done.

spiderbatdad
July 13th, 2008, 10:37 AM
su requires disabling the lock on the root account...a bad idea. Also su by itself does nothing. It simply says switch user with no user specified. su sudo would do what the previous post suggests, but you don't want to do that.

To create a root session for your current login:
sudo -ithen enter your password. When you close the terminal, the session is over.

Benbow
July 13th, 2008, 10:38 AM
su + password when requested fails with su: Authentication failure

Any other ideas?

The Cog
July 13th, 2008, 11:04 AM
Try this:
sudo -i
echo"0x7fffffff">/proc/sys/kernel/shmmax -

jakwriter
May 14th, 2009, 12:53 PM
I'm having the same problem. I found install directions here



sudo -i gets me root, but then

jack@GeneralHQ:~$ sudo -i
root@GeneralHQ:~# echo"0x7fffffff">/proc/sys/kernel/shmmax -
-bash: echo0x7fffffff: command not found


The overall problem is that Cinelerra needs more memory correct? I've followed the directions from the above website, but something isn't working. I'm running Hardy and those directions are for Gutsy. Any tips on adjustments that need to be made?

Thanks

NightwishFan
May 14th, 2009, 01:01 PM
I think you need to add a space after 'echo'.

jakwriter
May 14th, 2009, 06:43 PM
It's always something, eh? The space did it, Cinelerra up and running. Thank you very much.

wizard10000
May 14th, 2009, 07:01 PM
su requires disabling the lock on the root account...a bad idea. Also su by itself does nothing. It simply says switch user with no user specified.

su defaults to root.

spiderbatdad
May 14th, 2009, 07:05 PM
Only if you have unlocked the root account. This is not supported. Also this thread is quite old to be ressurected.