[FreeBSD] How to allow Root access on FreeBSD over ssh protocol

This article by InfySim shows us how to set up Root access through SSH protocol on FreeBSD.

By default FreeBSD does not allow root access over ssh protocol.
So if you need to log on to your system and need root privilege, then you have to allow root to access for ssh login.
In this example I am using VIM as the text editor but if you don’t have VIM editor then you have to use the default EE or VI editor.

If you want to install VIM editor please have a look at the following link:
Installing VIM editor on FreeBSD

 

To do so, You will need to edit the SSH daemon configuration file.

#vim /etc/ssh/sshd_config

Find the below line in the above file:

#PermitRootLogin no

The preceding # mark shows that this line is commented.
You just have to un-comment the line and modify the “no” at the end of file to “yes” (Of course without the quotes).
After modification the line should be looking like as following:

PermitRootLogin yes

Save the file and quit vim editor.

Now to reflect the change, you have to restart the ssh daemon by typing the following command on the console:

# /etc/rc.d/sshd restart

After the above steps if you try accessing your system from another host over ssh protocol, you must be able to login to your system.

 

If you need to know more on VIM commands then please have a look at the following link:
VIM commands for day to day usage

Original post: http://www.infysim.org/2015/03/how-to-allow-root-access-over-ssh-in-freebsd.html?m=1

15th Anniversary and Spring Fundraising Kickoff

The FreeBSD Foundation is celebrating 15 years of supporting the FreeBSD Project. Congratulations!! In this blog they discuss their Spring fundraising initiatives. Make a donation today and help keep FreeBSD alive.

Original post: http://freebsdfoundation.blogspot.com/2015/03/15th-anniversary-and-spring-fundraising.html

FreeBSD Foundation

I’m so excited to announce our spring fundraising campaign. I know it’s not officially spring yet, but it sure feels like it here at Foundation headquarters in Boulder, Colorado. We’re kicking off our fundraising campaign in conjunction with some other exciting events. There’s so much to celebrate. First, we are proud to be a Platinum sponsor of AsiaBSDCon. This is the tenth AsiaBSDCon, with over 140 attendees planned, and 31 talks, providing a venue for all things BSD in Asia. People from around the world attend this conference to learn about the BSD operating systems, share their knowledge and experience, and work together to develop, hack, fix, improve, and document the various BSD operating systems.

FreeBSD Now Supports DisplayLink Adapters

According to Phoronix.net, USB-based DisplayLink graphics adapters are now supported in FreeBSD, thanks to the developers.

displaylinkThe FreeBSD kernel finally has support for USB-based DisplayLink graphics adapters.

Within the Linux world there’s been DisplayLink work going back to 2009 with frame-buffer and X.Org drivers and by 2012 had advanced to having a DisplayLink DRM/KMS driver. DisplayLink USB 2.0 devices continue to work quite well under Linux and these USB display chips can be found in a wide variety of products.

As of last week, the FreeBSD kernel has USB DisplayLink support in the form of a frame-buffer (FB) and virtual terminal (VT) drivers. The initial FreeBSD DisplayLink support was pushed via this SVN commit.

For those looking for Linux (and assuming BSD too) friendly DisplayLink hardware, I’d recommend checking out the Plugable selection with having used some of them myself. You can find the Plugable USB display product selection at Amazon.com.

Original post: http://www.phoronix.com/scan.php?page=news_item&px=FreeBSD-DisplayLink-Support&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Phoronix+%28Phoronix%29

Installing a Unix-like Desktop Operating System ‘PC-BSD 10.1.1′

This tutorial by user Babin Lonston shows us how to install the latest PC-BSD 10.1.1.

Original post: http://www.tecmint.com/pc-bsd-10-1-1-installation-guide/

pcbsd-logoPC-BSD is a open source Unix-like desktop operating system created upon the most recent release version of FreeBSD. PC-BSD purpose is to make the experience of FreeBSD easy and obtainable for the regular computer user by providing KDE, XFCE, LXDE and Mate as the graphical user interface. By default PC-BSD comes with KDE Plasma as its default desktop environment, but you can have the option to select your choice of desktop environment during installation.

PS-BSD comes with per-built support for Wine (running Windows software’s), nVidia and Inter drivers for hardware acceleration and also an optional 3D desktop interface via Kwin (KDE X Window Manager) and also it has it own package management model that enables users to install software packages offline or online from PC-BSD repository, which is different and unique for BSD operating systems.

Recently, PC-BSD project has announced the availability of PC-BSD 10.1.1. This new release comes with number of new improved features, better GPT support and number of desktop utilities have been ported to Qt 5.

This article describes the basic instructions on installing PC-BSD 10.1.1 using the graphical installer using DVD / USB method.

Installation of PC-BSD 10.1.1

[Read more…]

How to share ElasticSearch mappings in files on FreeBSD

ImageThis tutorial by zewaren.net shows us how to get ElasticSearch mappings shared with files in FreeBSD.

Original post: http://zewaren.net/site/?q=node/148

Using the API

You could specify the index mappings using the PUT mapping API, but you’d have to do that every time:

Create the index with the mapping:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
    "mappings" : {
        "awesome_doctype" : {
            "properties" : {
              "a_mysql_date" : {
                "type" : "date",
                "format" : "yyyy-MM-dd HH:mm:ss"
              },
              "a_string" : {
                "type" : "string",
                "analyzer" : "french"
              },
              "a_long" : {
                "type" : "long"
              },
              "a_boolean" : {
                "type" : "boolean"
              }
            }
        }
    }
}'

Put something into the index:

[Read more…]

How To Install Mate Desktop In FreeBSD 10.1

This short tutorial by user M.el Khamlichi shows us how to get MATE Desktop Environment running on FreeBSD 10.1

Original post: http://www.unixmen.com/install-mate-desktop-freebsd-10-1/

snapshot2

Install Mate desktop in FreeBSD 10.1

FreeBSD is fully text mode system, however some times new users might want to use GUI desktop environment. This tutorial will help you to install Mate Desktop in Freebsd 10.1.

Here is my test system details:

root@Freebsd-unixmen:~ # uname -a
FreeBSD Freebsd-unixmen 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
root@Freebsd-unixmen:~

To start installing Mate desktop in FreeBSD 10.1, the following steps can be used.

pkg install xf86-video-fbdev mate-desktop mate xorg

[Read more…]

FreeBSD Flame Graphs

Brendan Gregg, a senior performance architect at Netflix, gives a talk about various FreeBSD flame graphs.

At the last FreeBSD Developer and Vendor Summit, I gave a talk on “Flame Graphs for FreeBSD”, where I summarized the different types (CPU, memory, disk I/O, off-CPU, chain graphs), showed how they can be generated on FreeBSD, and did some live demos. I think it’s one of my best talks so far, whether you care about FreeBSD or not, to see how this visualization can be used to navigate different types of profiling data.

The slides are on slideshare:

Original post: http://www.brendangregg.com/blog/2015-03-10/freebsd-flame-graphs.html

Comparative Introduction To FreeBSD For Linux Users

FreeBSD user anismaj explains FreeBSD to users of Linux that are looking to make the switch, or try out something new.

Original post: http://www.unixmen.com/comparative-introduction-freebsd-linux-users/

Introduction

BSD was originally derived from UNIX and currently, there are various number of Unix-like operating systems descended from the BSD. While, FreeBSD is the most widely used open source Berkeley Software Distribution (BSD distribution). As it is implicitly said it is a free and open source Unix-like-operating system and a public server platform. FreeBSD source code is generally released under a permissive BSD license. It is true that it has similarities with Linux but we cannot deny that they differs in other points.

The remainder of this article is organized as follows: the description of FreeBSD will be treated in our first section.  The similarities between FreeBSD and Linux will be briefly described in the second section. While their differences will be discussed in the third section. And a comparison of their features will be summarized in our last section.

FreeBSD description

History

  • The first version of FreeBSD was released in 1993, while its first CD-ROM distributed was FreeBSD1.0 on December 1993. Then, FreeBSD 2.1.0 was released in 1995 which gained the satisfaction of all users. Actually, many IT companies use FreeBSD and are satisfied where we can list those companies: IBM, Nokia, NetApp and Juniper Networks.

License

  • Concerning its license, FreeBSD is released under various source licenses. Its newest code called Kernel is released under the two-clause BSD license, offering the possibility to use and redistribute FreeBSD with absolute freedom. Other codes are released three- and four-clause BSD license and some others are released under GPL and CDDL.

Users

  • One of the important feature of FreeBSD, we can mention the various categories of its users. In fact, it is possible to use FreeBSD as a mail server, web server, FTP server and as a router due to the significant set of server-related software accompanied with it. Furthermore, ARM, PowerPC and MIPS are supported by FreeBSD so it is possible to use x86 and s86-64.

FreeBSD and Linux similarities

[Read more…]

FreeBSD Unix Find Out Which Programs Are Listing On a Given Port Number

openbsm-logo has posted yet another tutorial on how to see what programs are listed on a certain port on FreeBSD.

I’m a new FreeBSD Unix system user. How can I find out the process/programs names listing on a certain port on a FreeBSD Unix systems using command line? How do I lookup the process which is currently bound to the given network port on a FreeBSD server?

Tutorial details
Difficulty Easy (rss)
Root privileges Yes
Requirements none
Estimated completion time 5m

You can use any one of the following command-line tools that displays network connections, routing tables, and a number of network interface statistics on a FreeBSD operating systems.

  • netstat command – Use to see network status including open ports, tcp/udp connections, and more.
  • sockstat command – Show open sockets.
  • lsof command – List open files such as network sockets and files on disks.

FreeBSD has a command called sockstat and netstat tools. These are already on a standard FreeBSD install. You need to install the lsof tool from ports collection.

View the full tutorial here: http://www.cyberciti.biz/faq/freebsd-unix-find-the-process-pid-listening-on-a-certain-port-commands/