Jay Nugent <[email protected]> wrote: > Greetings, > > On Sat, 26 Apr 2014, [email protected] wrote: > > > Mike <[email protected]> wrote: > >> [-- text/plain, encoding 7bit, charset: UTF-8, 21 lines --] > >> > >> > >> Thanks for that Robert - I guess I'll trash it then and go to something I > >> can use. > >> > > Presumably it's like most standard Debian/Ubuntu systems where there > > is no root login but you use sudo to gain root privileges. > > > > I don't like the repeated 'sudo this', 'sudo that' style of doing > > things so I simply do 'sudo -s' and get a root prompt which works as > > root for as long as needed. > > > Or do 'sudo bash' > > Now that you are at the root shell prompt #, type 'passwd' and set a > passord for the root account :) > > Now you can at any time do an 'su - root' (yes, the hyphen *IS* > necessary for FULL root privs) and get a root shell :) > ... and how does that differ in any way from 'sudo -s' ? Same privileges, same everything, and 'su - root' is 2 more characters to type every time you do it! :-)
In addition if you want root privileges but retaining your own environment you can do 'sudo -s' instead. -- Chris Green ยท -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
