LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 08-20-2018, 03:28 PM   #1
Lars Forss
LQ Newbie
 
Registered: Aug 2018
Posts: 2

Rep: Reputation: Disabled
root login


How do I log in as root? Password?

necessary if you want to save system files from nano editor.
 
Old 08-20-2018, 05:50 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
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
 
2 members found this post helpful.
Old 08-21-2018, 02:18 PM   #3
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
type "sudo su" from terminal
 
Old 08-21-2018, 02:42 PM   #4
tristam
Bodhi Developer
 
Registered: Jul 2018
Posts: 16

Rep: Reputation: 9
Or sudo -s
 
1 members found this post helpful.
Old 08-21-2018, 02:50 PM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
Originally Posted by Lars Forss View Post
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.
 
Old 08-21-2018, 02:56 PM   #6
tristam
Bodhi Developer
 
Registered: Jul 2018
Posts: 16

Rep: Reputation: 9
That is definitely true. I'm a sysadmin, so half my terminals are in some state of rootishness.
 
Old 08-22-2018, 12:59 PM   #7
Lars Forss
LQ Newbie
 
Registered: Aug 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Keith Hedger View Post
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.
 
Old 08-22-2018, 01:28 PM   #8
tristam
Bodhi Developer
 
Registered: Jul 2018
Posts: 16

Rep: Reputation: 9
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.
 
Old 08-24-2018, 01:11 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Lars Forss View Post
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.
 
Old 08-24-2018, 01:31 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
Quote:
Originally Posted by enigma9o7 View Post
type "sudo su" from terminal
using sudo and su together is deprecated.
 
Old 08-24-2018, 02:51 PM   #11
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Quote:
Originally Posted by ondoho View Post
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.
 
Old 08-27-2018, 05:38 PM   #12
RonCam
Member
 
Registered: Dec 2008
Posts: 138

Rep: Reputation: 52
Cool

Quote:
Originally Posted by tristam View Post
... I'm a sysadmin, so half my terminals are in some state of rootishness.
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.
Quote:
Originally Posted by enigma9o7 View Post
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.

Last edited by RonCam; 08-27-2018 at 05:40 PM.
 
Old 08-28-2018, 11:07 AM   #13
tristam
Bodhi Developer
 
Registered: Jul 2018
Posts: 16

Rep: Reputation: 9
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.
 
2 members found this post helpful.
Old 09-01-2018, 06:11 AM   #14
RonCam
Member
 
Registered: Dec 2008
Posts: 138

Rep: Reputation: 52
Angry

Quote:
Originally Posted by tristam View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mysql server acting weird, can't login as root, unless I'm root user on machine wh33t Linux - Server 1 05-15-2018 04:05 PM
CentOS 7 - users unable to login, root can login to GUI triley555 Linux - Newbie 5 02-04-2016 08:33 PM
Can't login to root -- What protocols manage user login besides PAM? xtiansimon Linux - Security 9 09-29-2014 11:30 AM
Can't boot Wary Puppy Linux anymore, login: root (automatic login) theADOLESCENT Linux - Newbie 9 09-16-2012 06:13 PM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration