LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bodhi (https://www.linuxquestions.org/questions/bodhi-92/)
-   -   root login (https://www.linuxquestions.org/questions/bodhi-92/root-login-4175636754/)

Lars Forss 08-20-2018 03:28 PM

root login
 
How do I log in as root? Password?

necessary if you want to save system files from nano editor.

yancek 08-20-2018 05:50 PM

Bodhi is based on Ubuntu and does not have a default root user created but rather uses sudo which is explained on the Ubuntu page below.

http://manpages.ubuntu.com/manpages/...do_root.8.html

enigma9o7 08-21-2018 02:18 PM

type "sudo su" from terminal

tristam 08-21-2018 02:42 PM

Or sudo -s

Keith Hedger 08-21-2018 02:50 PM

Quote:

Originally Posted by Lars Forss (Post 5893771)
How do I log in as root? Password?

necessary if you want to save system files from nano editor.

You Don't need to login as root just to edit system files just use 'sudo', if you don't know how to use sudo you probably shouldn't be mucking with system files anyway.

tristam 08-21-2018 02:56 PM

That is definitely true. I'm a sysadmin, so half my terminals are in some state of rootishness.

Lars Forss 08-22-2018 12:59 PM

Quote:

Originally Posted by Keith Hedger (Post 5894163)
You Don't need to login as root just to edit system files just use 'sudo', if you don't know how to use sudo you probably shouldn't be mucking with system files anyway.

One of the reasons I like running Linux systems is the ability to "muck" around. I understand that it is safer to have root locked but have been using it on previous Linux installations.

tristam 08-22-2018 01:28 PM

On a personal system, knock yourself out. Just keep in mind the fearsome, awesome, destructive capabilities of root. I once deleted the entire openldap directory with a couple of stray keystrokes.

ondoho 08-24-2018 01:11 AM

Quote:

Originally Posted by Lars Forss (Post 5894503)
One of the reasons I like running Linux systems is the ability to "muck" around.

fair enough!
it's your machine.
but as far as these and most other forums are concerned, the following rule applies: do what you want - but don't expect us to help when things break due to your adventurousness.

PS:
most "mucking" is perfectly possible without root privileges.

pan64 08-24-2018 01:31 AM

Quote:

Originally Posted by enigma9o7 (Post 5894138)
type "sudo su" from terminal

using sudo and su together is deprecated.

enigma9o7 08-24-2018 02:51 PM

Quote:

Originally Posted by ondoho (Post 5895107)
but don't expect us to help when things break due to your adventurousness.

So far people have been fairly helpful... I wouldn't necessarily say that applies to everyone.

RonCam 08-27-2018 05:38 PM

Quote:

Originally Posted by tristam (Post 5894166)
... I'm a sysadmin, so half my terminals are in some state of rootishness.

:D That has to be a 'classic', one of a kind expression. Congratulations. A DDG search of the internet seems to show it's never before been used. I shall have to figure out ways of dropping that expression into my casual conversations. :hattip:
Quote:

Originally Posted by enigma9o7 (Post 5895447)
So far people have been fairly helpful... I wouldn't necessarily say that applies to everyone.

I'm reading this and was finding it hard to realize no one was making the one suggestion that would completely eliminate the problem.

I have a new Bodhi 5.0 installation and as soon as I could, I installed TimeShift. It's not in the repo ... you have to install a PPA. Put TimeShift PPA into DDG, and it's on the first line, at the top of the search results.

I was a great fan of Systemback, but after comparing the two, I'm very comfortable with what I see in its replacement. IMO, it would be difficult-impossible to 'muck-up' anything this utility couldn't put right. Like Systemback, even if you crash or disable the desktop environment, you can run it, if you can get a terminal prompt. And, if you manage to completely kill the OS, you can run it from a LiveCD/DVD for an OS that includes it.

If one's 'adventures' include accidentally reformatting the drive, just keep a copy of its backup files elsewhere ... note, TimeShift is intended for system files, but not for data backup!

I haven't tried to kill my OS to test it, but I can say it's (visibly, at least) running fine in Bodhi 5.0, under Moksha.

tristam 08-28-2018 11:07 AM

Quote:

I have a new Bodhi 5.0 installation and as soon as I could, I installed TimeShift. It's not in the repo ... you have to install a PPA. Put TimeShift PPA into DDG, and it's on the first line, at the top of the search results.

I was a great fan of Systemback, but after comparing the two, I'm very comfortable with what I see in its replacement. IMO, it would be difficult-impossible to 'muck-up' anything this utility couldn't put right. Like Systemback, even if you crash or disable the desktop environment, you can run it, if you can get a terminal prompt. And, if you manage to completely kill the OS, you can run it from a LiveCD/DVD for an OS that includes it.

If one's 'adventures' include accidentally reformatting the drive, just keep a copy of its backup files elsewhere ... note, TimeShift is intended for system files, but not for data backup!

I haven't tried to kill my OS to test it, but I can say it's (visibly, at least) running fine in Bodhi 5.0, under Moksha.
Kind of a Windows Restore Point for Linux on steroids. I usually walk the tightrope without a safety net when it comes to desktop OS. It's a matter of 10-15 minutes to reinstall and I usually end up configuring it better/cleaner the next iteration.

RonCam 09-01-2018 06:11 AM

Quote:

Originally Posted by tristam (Post 5897066)
Kind of a Windows Restore Point for Linux on steroids. ...

Well, this works like Windows Restore Point should work. I recall (in Windows 7?) more than one restore point failing completely. The Windows utility can run out of space without notifying the user, then the files become corrupt and since it's an incremental backup in an undecipherable format, now the 'whole thing' is 'toast'.

This utility operates more transparently, you can see what it's doing, and so, the above scenario is, IMO, quite unlikely.


All times are GMT -5. The time now is 04:26 PM.