Sudo: Difference between revisions
(Added note that sudo was not installed in G1G1 version.) |
(how to substitute, start of table) |
||
Line 6: | Line 6: | ||
The sudo command is ''not'' installed in the version installed with the Give-one-get-one program; use <tt>[[root]]</tt> instead. |
The sudo command is ''not'' installed in the version installed with the Give-one-get-one program; use <tt>[[root]]</tt> instead. |
||
== su, sudo, or root ? == |
|||
These three commands can be used to accomplish the same basic thing. It would be good to have a table here of which ones worked on which version of the OS. Something like this: |
|||
{| |
|||
|- |
|||
|Build || Has su || has sudo || has root |
|||
|- |
|||
|pre-G1G1 builds || ? || ? || ? |
|||
|- |
|||
|G1G1 builds || ? || ? || ? |
|||
|- |
|||
|joyride builds || no || no || yes |
|||
|} |
|||
Many instructions on this wiki tell you to type in su in the terminal before further commands. If your version does not have su, you should (preferably) put 'sudo' at the beginning of each line in further commands, or (more dangerous) just use 'sudo -i' in place of su. |
Revision as of 20:07, 10 January 2008
Sudo is a command in the terminal activity. It means Super User Do : X.
You use it before commands that you want to execute that require you to be a privileged user or root.
As the root user is going away in upcoming builds (maybe update.1?), this is important to remember.
The sudo command is not installed in the version installed with the Give-one-get-one program; use root instead.
su, sudo, or root ?
These three commands can be used to accomplish the same basic thing. It would be good to have a table here of which ones worked on which version of the OS. Something like this:
Build | Has su | has sudo | has root |
pre-G1G1 builds | ? | ? | ? |
G1G1 builds | ? | ? | ? |
joyride builds | no | no | yes |
Many instructions on this wiki tell you to type in su in the terminal before further commands. If your version does not have su, you should (preferably) put 'sudo' at the beginning of each line in further commands, or (more dangerous) just use 'sudo -i' in place of su.