SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#26 2015-05-31 02:26:02

tknomanzr
#! Die Hard
From: Heavener, OK
Registered: 2014-12-09
Posts: 777

Re: Bunsen-netinstall Script Wireless Walkthrough

When installing Debian with no root password, the Debian installer automatically assigns some unguessable password to root, then sets up sudo for the user you setup automatically as well. The question is, when you edited your sudo file, did you use visudo? Also, did  you add your user to the sudo group? It sounds to me the BL install script was having trouble getting root access via sudo.

Offline

Be excellent to each other!

#27 2015-05-31 09:55:03

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Bunsen-netinstall Script Wireless Walkthrough

tknomanzr wrote:

When installing Debian with no root password, the Debian installer automatically assigns some unguessable password to root

No, it just locks the root account wink

To unlock the root account use:

sudo passwd root

Last edited by Head_on_a_Stick (2015-05-31 09:55:26)

Offline

#28 2015-05-31 13:14:58

Colossal_Crunch
#! CrunchBanger
Registered: 2015-05-06
Posts: 154

Re: Bunsen-netinstall Script Wireless Walkthrough

Head_on_a_Stick wrote:
tknomanzr wrote:

When installing Debian with no root password, the Debian installer automatically assigns some unguessable password to root

No, it just locks the root account wink

To unlock the root account use:

sudo passwd root

So after installing bunsenlabs do you need to do "sudo passwd root" or is the system meant to be without a root password?

Btw, I have installed bunsen and love it!!! Looks even better then crunchbang which is pretty hard to believe since it was done by the community. When I say community doesn't that really just boil down to 4 people and maybe the feedback of the forum?

Offline

#29 2015-05-31 13:33:15

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Bunsen-netinstall Script Wireless Walkthrough

Colossal_Crunch wrote:

...
So after installing bunsenlabs do you need to do "sudo passwd root" or is the system meant to be without a root password?

See the README
If you do what is suggested there you shouldn't need to do "sudo passwd root"

Btw, I have installed bunsen and love it!!! Looks even better then crunchbang which is pretty hard to believe since it was done by the community. When I say community doesn't that really just boil down to 4 people and maybe the feedback of the forum?

@johnraff and @twoion get most of the kudos for the system nuts and bolts smile  You can see the contributors on github, but forum feedback is crucial imo - it is still a work-in-progress after all.


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#30 2015-05-31 13:34:49

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Bunsen-netinstall Script Wireless Walkthrough

Colossal_Crunch wrote:

So after installing bunsenlabs do you need to do "sudo passwd root"

Only if you want to activate the root account.

This is not at all necessary as you can use:

sudo su

or:

sudo -i

To log in "as root" in a terminal or TTY wink

I may be wrong but I think the locking of the root account is inherited from #! and is a vestige of that distribution's *buntu legacy.

Offline

#31 2015-05-31 15:10:34

tknomanzr
#! Die Hard
From: Heavener, OK
Registered: 2014-12-09
Posts: 777

Re: Bunsen-netinstall Script Wireless Walkthrough

^ Not to mention just a good idea all around. Stick with sudo for day to day use. If you need sudo access for an extended period of time (ie sudo timeout may cause a script to fail or something), then sudo su. @johnraff is correct in that the less time spent as root the better.

Truthfully, the concept of locking root and using sudo to grant temporary admin access is one of Ubuntu's better ideas. Most attack vectors in Linux have to start with gaining root access somehow. Sudo just makes that a little more difficult.

Offline

#32 2015-05-31 15:17:02

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Bunsen-netinstall Script Wireless Walkthrough

tknomanzr wrote:

Sudo just makes that a little more difficult.

I'm not convinced by that argument.

My root password is far more secure than my normal user password and having `sudo` on the system just makes it easier to gain root access via the less secure password.

Offline

#33 2015-05-31 15:31:32

tknomanzr
#! Die Hard
From: Heavener, OK
Registered: 2014-12-09
Posts: 777

Re: Bunsen-netinstall Script Wireless Walkthrough

I was sort of thinking that as I typed my response, so allow me to rephrase the answer.

The position I stated is the one taken by the Linux Foundation, however:

If we go back and read through Kevin Mitnick's autobiography, we will see that most of his attacks started off with a social engineering attack first to gain access to the system. From there he would install back doors , etc to gain full control of the system. For this reason, if I were a sysadmin, I would view any user password as suspect.

Also, there is always the temptation to dumb down an often typed password so that it is easier to type, making brute force attacks that much easier. Ultimately, security still rests in the hands of the user(s) and/or administrator of the system.

What sudo did for me was break the habit of leaving myself logged into the root account for extended periods of time. There are still times when I have found I have needed extended access(usually rescue operations on the console) and sudo su works for that.

Last edited by tknomanzr (2015-05-31 15:32:46)

Offline

#34 2015-05-31 15:38:22

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Bunsen-netinstall Script Wireless Walkthrough

tknomanzr wrote:

What sudo did for me was break the habit of leaving myself logged into the root account for extended periods of time.

su -c '<command string>'

Offline

#35 2015-05-31 22:58:06

zephyr
#! Member
From: Apache,Ok-USA
Registered: 2014-01-20
Posts: 55
Website

Re: Bunsen-netinstall Script Wireless Walkthrough

@ johnraft/unia/head-on-a-stick/damo/spacex/kruch-time/ - & all other bl creators:  Just finalized the bl-netinstall, with the forum member big_smile " hhh" commented walk-through tutorial, a complete success. Only issue is that I believe, correct me if I'm wrong but the dist-upgrade didn't complete, only because Jessie is frozen this weekend till the 6 June 2015. I wanted to simply say what an awesome distro I ended up with. The intellectual, time, artistic, and collaboration of all individuals efforts have really shown as collective participation of building a very beautiful build. Like so many of us, we were all waiting on #! Janice, but I would say that papacore would be quite proud that his forum members have created and supported this awesome compilation. I am not speaking of some kind of a "zombie" #!, but a rebirth of everything I liked and enjoyed, appreciated about #! is alive and kicking with bl and more, a lot more.  Both awesome-excellent, thanks again to all involved- zephyr

Last edited by zephyr (2015-06-01 00:45:21)


ZephyrLinux/Star/VSIDO/ #!/Devuan

Offline

#36 2015-06-01 05:26:58

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Bunsen-netinstall Script Wireless Walkthrough

Head_on_a_Stick wrote:
tknomanzr wrote:

What sudo did for me was break the habit of leaving myself logged into the root account for extended periods of time.

su -c '<command string>'

HoaS, how is that different from

sudo <command string>

?

[on reflection]
...except for some tricky stuff about environment variables, I guess...


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
#! forum moderator    BunsenLabs

Offline

#37 2015-06-01 06:33:37

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Bunsen-netinstall Script Wireless Walkthrough

johnraff wrote:
Head_on_a_Stick wrote:
su -c '<command string>'

HoaS, how is that different from

sudo <command string>

?

[on reflection]
...except for some tricky stuff about environment variables, I guess...

We were discussing the security implications of the `sudo` command -- my point there was that `su -c` can be used as a `sudo` substitute but with more security (in my system at least) because of the more complicated root password wink

Offline

#38 2015-06-01 06:37:38

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Bunsen-netinstall Script Wireless Walkthrough

zephyr wrote:

Jessie is frozen this weekend till the 6 June 2015.

Er, no -- jessie came out of the freeze at the end of April and is now Debian Stable.

I appreciate the acknowledgement but I didn't actually contribute anything to BunsenLabs sad

I do agree that it is awesome though big_smile

Offline

#39 2015-06-01 06:42:30

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Bunsen-netinstall Script Wireless Walkthrough

@HoaS To say you've contributed nothing is somewhat of an overstatement.

damo wrote:

forum feedback is crucial imo - it is still a work-in-progress after all.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
#! forum moderator    BunsenLabs

Offline

#40 2015-06-01 17:50:36

zephyr
#! Member
From: Apache,Ok-USA
Registered: 2014-01-20
Posts: 55
Website

Re: Bunsen-netinstall Script Wireless Walkthrough

@head_on_a_stick: The dist-upgrade error did not effect the install, I was evidently wrong about the freeze prior to Jessie 8.1 release scheduled for 6 June 2015. My bad. - zephyr


ZephyrLinux/Star/VSIDO/ #!/Devuan

Offline

#41 2015-06-01 17:54:34

zephyr
#! Member
From: Apache,Ok-USA
Registered: 2014-01-20
Posts: 55
Website

Re: Bunsen-netinstall Script Wireless Walkthrough

@ head_on_a_stick: This is where I got the info.    https://lists.debian.org/debian-release … 00605.html - zephyr


ZephyrLinux/Star/VSIDO/ #!/Devuan

Offline

#42 2015-06-01 18:00:39

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Bunsen-netinstall Script Wireless Walkthrough

zephyr wrote:

@ head_on_a_stick: This is where I got the info.    https://lists.debian.org/debian-release … 00605.html - zephyr

Interesting -- thanks!

I was aware of the point release date but I didn't know they stopped updates shortly before.

Offline

#43 2015-06-01 19:58:25

zephyr
#! Member
From: Apache,Ok-USA
Registered: 2014-01-20
Posts: 55
Website

Re: Bunsen-netinstall Script Wireless Walkthrough

@head_on_a_stick: You contribute heavily, follow your post as I do many others, maybe not directly, I really don't know. I do appreciate  your input and guidance on many subjects. Any knowledge to gain is good, really this is why we have a forum, information, sharing knowledge. Yea, the freeze caught me by surprise, I was emailed by a dev of another distro, about a week ago and gave me a heads up. So, I googled it. - zephyr


ZephyrLinux/Star/VSIDO/ #!/Devuan

Offline

#44 2015-06-07 02:54:23

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

Re: Bunsen-netinstall Script Wireless Walkthrough

@hhh:  You beat me to it.  I was thinking of doing something similar after successfully installing BL Hydrogen on my desktop earlier today.

Head_on_a_Stick wrote:

If I may make one small suggestion:

hhh wrote:

Rather than wrestle with `dd` and it's rather arcane syntax, I would recommend using the method described in the official Debian installation guide:

sudo cp debian.iso /dev/sdX
sudo sync

Replace "debian.iso" with the full name (and path, if needed) of the ISO image and replace "X" with the drive letter to which the USB stick has been assigned (plug the stick & run `dmesg|tail` to find this).

Thank you for this!  Would this work for other Linux ISOs as well?

damo wrote:
beng wrote:

...
Now any chance waldorf could be upgraded to Bunsen?
Thanks
beng

The whole point of BunsenLabs is to replace Waldorf with a waldorf-like system based on Debian Stable.

+1

Last edited by KrunchTime (2015-06-07 03:00:20)


Linux User #586672
Come and Die -- Kyle Idleman

Offline

#45 2015-06-07 10:31:30

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Bunsen-netinstall Script Wireless Walkthrough

KrunchTime wrote:

Would this work for other Linux ISOs as well?

Yes, as long as the ISO image is of the so-called "iso-hybrid" type (ie, if it is capable of being written to both CD/DVDs *and* USB sticks).

Another alternative:

sudo bash -c 'cat debian.iso > /dev/sdX && sync'

For ISO images that are only suited to CD/DVD usage, use:

sudo apt-get install syslinux-utils
sudo isohybrid <name of ISO image>

This will convert the ISO to an iso-hybrid type that can be transferred to USB sticks (this is how unetbootin works).

Offline

#46 2015-06-07 20:53:41

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

Re: Bunsen-netinstall Script Wireless Walkthrough

Head_on_a_Stick wrote:

Another alternative:

sudo bash -c 'cat debian.iso > /dev/sdX && sync'

Might as well use the dd command.

Head_on_a_Stick wrote:

For ISO images that are only suited to CD/DVD usage, use:

sudo apt-get install syslinux-utils
sudo isohybrid <name of ISO image>

This will convert the ISO to an iso-hybrid type that can be transferred to USB sticks (this is how unetbootin works).

Another tip from the cat man.  Thank you!  wink


Linux User #586672
Come and Die -- Kyle Idleman

Offline

#47 2015-06-17 20:27:05

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Bunsen-netinstall Script Wireless Walkthrough

Since the release of Jessie 8.1, the ISO links in the OP broke. Updated.

BTW, re: cp v dd, I'm leaving the dd link in the OP because cp did not work for me on my jessie netinstall, I got a "command not found" message.


bunsenlabs     8)     forum mod squad

Offline

#48 2015-06-17 20:30:11

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Bunsen-netinstall Script Wireless Walkthrough

hhh wrote:

I'm leaving the dd link in the OP because cp did not work for me on my jessie netinstall, I got a "command not found" message.

You had `dd` on your netinstall but not `cp`?
yikes

Somewhat appropriately, this also works:

# cat debian.iso > /dev/sdX

Offline

#49 2015-06-17 20:34:05

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Bunsen-netinstall Script Wireless Walkthrough

Head_on_a_Stick wrote:

You had `dd` on your netinstall but not `cp`?
yikes

It's quite possible that I just forgot to run the cp command as root.  tongue  Anyway, no harm in posting multiple methods.


bunsenlabs     8)     forum mod squad

Offline

Help fund CrunchBang, donate to the project!

#50 2015-07-28 06:17:32

eriksatie
Member
Registered: 2011-09-16
Posts: 39

Re: Bunsen-netinstall Script Wireless Walkthrough

Is this safe to use on a fresh Debian testing/stretch netinstall?

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo