Samba Linux

In: Computers and Technology

Submitted By yvesstlawrence
Words 280
Pages 2
Installing Samba
Connect our server on our virtual network on the shell and install the Samba packages as instructed:   apt-get update apt-get install libcups2 samba samba-common

Edit the smb.conf file:  vi (or desired text editor) /etc/samba/smb.conf

On the website provided, it is said to look in the global section to remove the “#” at the beginning of the line security = user but actually it is further down. Anyhow you will remove the “#” to enable Linux systems users to log in to the Samba server. Close the file after editing and restart Samba:  /etc/init.d/samba restart

Adding Samba Shares
Now we can begin to add shares that is accessible by all users by creating the directories (allusers, acctng, adminaffairs, humres, itstaff) for sharing the files and changes to the group:

  

mkdir -p /home/shares/allusers chown -R root:users /home/shares/allusers/ chmod -R ug+rwx,o+rx-w /home/shares/allusers/

Then at the end edit the /etc/samba/smb.conf and add the following:  vi (or desired text editor) /etc/samba/smb.conf

Followed by restarting Samba:  /etc/init.d/samba restart

Adding and Managing Users
Now we will add users, for this example I used typical names that are common amongst office settings and importantly are short. Then I used basketball players like the following:  useradd lebron -m -G users

And set a password for lebron in the Linux system databases for my virtual network.   passwd lebron Then enter the password for the new user

And now enter the password for the user for the Samba user database:   smbpasswd -a lebron Then enter the password for the new user.…...

Similar Documents


...NT1430 Linux Networking: Study Guide Wed 21-November-2012 Linux Commands: Know these commands and what they do: • Directory and list commands o ls, ls –l o pwd o cd / o cd and cd~ (hint: both take you to your home directory) o cd .. (takes you up one directory • Know what cp and mv do and how to use them • File viewing commands: o cat o less and more (one page at atime) o vi and view o tail (shows the last 10 lines of a file) o head (shows the top 10 lines) • chmod for changing permissions on files and directories • know the differences in read write and execute for owner group and all • > to redirect output to a file (overwrites if file exists) • >> appends to a file • & puts a process in the background while fg brings it to the foreground. • ps –ef | grep programname locates a running process for you • grep is a program that searches for a string within a directory or command output • The pipe symbol ( | ) sends output from one command to the input of another. • Know what a Linux shell script is. Direcories and file systems • / is the root of the entire file system • /usr stores program files • /home stores user home directories • /etc stores Linux configuration files • /var stores various miscellaneous files • /proc is a virtual directory that stores system performance metrics...

Words: 1137 - Pages: 5


...Red Hat Enterprise Linux 5.3 Release Manifest Package Manifest for all Architectures. Red Hat Enterprise Linux Documentation Don Domingo Copyright © 2008 . This material may only be distributed subject to the terms and conditions set forth in the Open Publication License, V1.0 or later (the latest version of the OPL is presently available at Red Hat and the Red Hat "Shadow Man" logo are registered trademarks of Red Hat, Inc. in the United States and other countries. All other trademarks referenced herein are the property of their respective owners. 1801 Varsity Drive Raleigh, NC 27606-2072 USA Phone: +1 919 754 3700 Phone: 888 733 4281 Fax: +1 919 754 3701 PO Box 13588 Research Triangle Park, NC 27709 USA Abstract This document is a record of all package changes since the last minor update of Red Hat Enterprise Linux 5 1. Added Packages ................................................................................................................... 1 2. Dropped Packages .............................................................................................................. 19 3. Updated Packages ............................................................................................................... 20 1. Added Packages cmirror-1.1.36-1.el5 • Group: System Environment/Base • Summary: cmirror - The Cluster Mirror Package • Description: cmirror - Cluster Mirroring 1 Release Manifest cmirror-kmod-0.1.21-10.el5 • Group:......

Words: 32183 - Pages: 129

Samba samba Samba é um tipo de dança brasileira e um gênero de música que veio originalmente da África. No Bantu-palavra "Semba" de Angola descreve o "movimento do umbigo." Os movimentos eróticos, circulares ao redor da pélvis são típicos de samba. Escravos enviados para trabalhar nas plantações de açúcar tomou as primeiras formas de esta dança para a Bahia, na região nordeste do Brasil. Cidadãos carentes usou este tipo de dança para representar seus desejos e sonhos. Foi uma maneira de as pessoas se expressam através de uma forma diferente de arte. Como se pode imaginar, estas primeiras formas de Samba foram consideradas obscenas e de mau gosto por classes mais altas do Brasil. Por um tempo a dança foi proibida e praticada apenas nos bairros de classe baixa e até mesmo em sociedades secretas. No Brasil, o samba dançarinos são conhecidos por seus costumes muito coloridos que revelam uma grande quantidade de pele. Lantejoulas, miçangas e peças de penas são vistas na maioria das suas roupas. Seus trajes representam a natureza escandalosa do Samba, que é um termo genérico para mais de cem danças diferentes. Samba tem um ritmo muito específico, que pode ser destacado por instrumentos musicais brasileiros, como o tamborim, chocalho, reco-reco e Cabaça. No entanto, Samba pode ser dançado sem instrumentos. Samba reque uma ação de inclinação pélvica, que pode ser difícil de realizar, mas sem este movimento a dança perde seu efeito principal. As principais características do Samba......

Words: 664 - Pages: 3


...Moises Pelaez | IT250 | Linux Operating System: Assignment 1.1 | 3/30/2013 | 1) In the free software world, there are several uses of the word "free." The two main ones are "free as in speech" and "free as in beer." Free as in speech means you are relatively unfettered in what you can do with the software. You can modify it, use it for whatever you want, and give it to others (or even sell it). Free as in beer means that you can obtain it for no monetary cost. Richard Stallman originally envisioned GNU to be free as in speech. At the time he started the project (in 1983), internet access was slow and expensive, high-capacity storage devices weren't readily available, and very few people had a personal computer. It would have been infeasible to offer GNU on a gratis basis. Stallman actually used to charge $150 for a tape with the GNU software on it, plus $15 for a manual. 2) The GNU project develops programs and utilities for an as yet rudimentary operating system known as "GNU." Since the programs are open-source, they have been adapted to work using the Linux kernel as well. Other than using its programs, there is no direct relationship. 3) Advantage #1 – Stability: If you have used other operating systems, once you have made the switch to Linux, you will notice that Linux has an edge over Windows here. I can remember rebooting Windows many times over the years, because an application crashed, and I could not continue working. Linux can crash also, but it......

Words: 1208 - Pages: 5

Linux Essay

...known as network file system, can be used over multiple operating systems such as UNIX operating systems. Network file systems is very secure for file sharing and is kept up to date. When transferring files with NFS you know that your files are secure with the security that NFS has. NFS has been around since 1984 and has been updated many times through the years. NFS is still known for its secure file transferring and its good outcomes. NFS is still up to date, and can be implemented to fit client needs. Linux is not as commonly used as windows, so it is already safer and more reliable. Linux uses samba for file transfer and this program protects against unwanted content such as, malware, and viruses. Linux allows users to play around with their content, and build upon the structure. Terminal lets to use lines of code to protect file transfer by inserting commands. Linux works similar to windows, as files will be encrypted, and passwords are required to access content. Linux is overall more secure than windows because of virus protection....

Words: 486 - Pages: 2

It Unix Linux

...Introduction to UNIX and Linux UNIX was developed at Bell Laboratories by Ken Thompson and Dennis Ritchie in 1969 and it was created on a minicomputer called the PDP-7. (Muse) Computer aided design, manufacturing control systems, laboratory simulations, even the Internet its self, all began life with and because of UNIX systems. ( The reason for building UNIX was to create a simple interactive operating system, called “Multics” (Multiplexed Information and Computing System). ( UNIX went through growing pains through the years, but in 1991, Linus Torvalds, commenced Linux development and the distro Solaris 1.0 debuts. ( Torvalds writes “Sadly, a kernel” (which is what Linux is and has always been) “by itself gets you nowhere. To get a working system you need a shell, compliers, a library, etc.” (Moody, pg 44) “Linus Torvalds had a kernel but no programs of his own, Richard Stallman and GNU had programs but no working kernel.” ( GNU is a recursive acronym that means GNU is Not Unix. UNIX/Linux can literally be used anywhere. While completing my AAS, my final project was to build a Samba server, which I needed a Linux distro to make happen, and I went with Ubuntu. Samba is the standard Windows interoperability suite of programs for Linux and UNIX. ( Basically, Samba makes file transfer between a Linux/Unix server, and a Windows server, seamless. To Windows, Samba looks just like another Windows server so it allowes easy file...

Words: 515 - Pages: 3


...operating system kernel, Linux version 0.01. Linux evolved into a fully functioning Operating System (OS) with one of its first distributions created by the Manchester Computing Center, MCC Interim Linux, using a combined boot/root disk (Hayward, 2012). Linux luminaries, Slackware, RedHat and Debian began to rise between 1992 and 1994 as well as the Linux kernel growing to version 0.95, becoming the first kernel to run the X Windows System. The Big Three, Slackware, Debian and Red Hat were instrumental in the anticipated launching of Linux version 1.0.0 in 1994 with 176,250 lines of code. Over the next five years the big three released some of the greatest Linux distributions, including the Jurix Linux, which is allegedly the first distribution to include a scriptable installer; the installer allows an administrator install across similar machines. The Juris Linux distribution is mostly noted in Linux history because it was used as a base system for SUSE Linux which is still in operation today (Hayward, 2012). Launched in 1996, Linux 2.0 had 41 releases in the series; inclusion of critical operating system features and rapid releases helped to make the Linux operating system the OS of choice for IT professionals. Another notable moment in Linux history was the release of Version 2.4 which contained support for USB, PC Cards, ISA Plug and Play and Bluetooth, just to name a few; these features demonstrated the versatility and the advancement of the Linux kernel since the......

Words: 745 - Pages: 3


...the creation of the Linux kernel by Linus Torvalds in 1991, many versions of Linux have been created. Due to the open source of the kernel, this gives advanced users the option to alter the kernel to their liking. This, in turn, has yielded a near endless amount of distributions and versions available out there. In my research, I have found the main versions of Linux have derived from Debian Linux, Slackware Linux, or RedHat Linux. However, the first distribution meant for the masses was Yggdrasil Linux (Citation). First, there were versions such as MCC Interim Linux developed by University of Manchester and TAMU developed by Texas A&M, however these were in-house developments not really meant to be widely distributed. Yggdrasil, one of the first widely distributed version of Linux, was described as a Plug and play Linux. Its’ initial release took place in December of 1992, but in the form of an alpha release. The beta version was released in 1993, and the official release the next year in 1994. It was the first Linux operating system distributed via a live CD-ROM. It included an automatic configuration of the software installation, much like we see today, making it very easy for even a novice user to set it up. Yggdrasil was not free, however, the company charged $39.95 per copy (Yggdrasil Computing). After conducting research of the number of distribution of Linux, the exact number could not be pinpointed. There are so many developers tweaking the Linux kernel and......

Words: 1003 - Pages: 5

Linux Praise for Previous Editions of A Practical Guide to Fedora and Red Hat Enterprise Linux ® ® “Since I’m in an educational environment, I found the content of Sobell’s book to be right on target and very helpful for anyone managing Linux in the enterprise. His style of writing is very clear. He builds up to the chapter exercises, which I find to be relevant to real-world scenarios a user or admin would encounter. An IT/IS student would find this book a valuable complement to their education. The vast amount of information is extremely well balanced and Sobell manages to present the content without complicated asides and meandering prose. This is a ‘must have’ for anyone managing Linux systems in a networked environment or anyone running a Linux server. I would also highly recommend it to an experienced computer user who is moving to the Linux platform.” —Mary Norbury IT Director Barbara Davis Center University of Colorado at Denver from a review posted on “I had the chance to use your UNIX books when I when was in college years ago at Cal Poly, San Luis Obispo, CA. I have to say that your books are among the best! They’re quality books that teach the theoretical aspects and applications of the operating system.” —Benton Chan IS Engineer “The book has more than lived up to my expectations from the many reviews I read, even though it targets FC2. I have found something very rare with your book: It doesn’t read like the standard......

Words: 315186 - Pages: 1261

Using Linux

...Guide to Linux+ (2nd Edition) ISBN 0-619-21621-2 End of Chapter Solutions Chapter 1 Solutions Review Questions 1. Every computer consists of physical components and logical components. The logical components of a computer that understand how to work with the physical components are referred to as: a. hardware b. records c. software d. processors Answer: c 2. The operating system software is necessary for a computer to function. True or False? Answer: True 3. Linux is a ___________ and ___________ operating system. a. production, stable b. multiuser, multitasking c. processing, operating d. large, useful Answer: b 4. The core component of the Linux operating system is the Linux kernel. If you were a Linux systems administrator for a company, when would you need to upgrade your Linux kernel? (Choose all that apply.) a. when you need to have support in Linux for new hardware b. when you need another user interface c. when you need to increase the stability of Linux d. when you need to use kernel modules Answer: a, c 5. Which of the following kernels are developmental kernels? (Choose all that apply.) a. 2.3.4 b. 2.5.5 c. 2.2.7 d. 2.4.4 Answer: a, b 6. A production kernel refers to a kernel whose: a. revision number is even b. minor number is......

Words: 1315 - Pages: 6

Samba Research

...IT 302 LINUX ADMIN PROJECT I chose to do my final project on the Samba server, such as how to set up the server, security, and maintenance. Samba “is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients. Samba is freely available, unlike other SMB/CIFS implementations, and allows for interoperability between Linux/Unix servers and Windows-based clients.” (source1) The whole purpose of the samba software is to make it possible to operate on many platforms. To install the server you would use the yum command in terminal. You then would enter su for the “super user” to install files as root. Then create a new directory containing three empty files which you'll share. While logged on as root create the new directory “/smbdemo” using this command “mkdir /smbdemo”. Then you would change permissions on the new directory to 770 with the following command “chmod 770 /smbdemo”. Now you navigate to the new directory with “cd /smbdemo” for the command. Add three empty files to the directory with the following command “touch file1 file2 file3”. Next step one would most likely add a user to the server. You do this first by “adding users to the Samba database in order for them to have access to their home directory and other Samba shares.”(source2) Using this command “smbpasswd -a ” you will then be able to add a new samba user. The user must be an existing Linux user or else the command will fail. Then if you “perform the......

Words: 681 - Pages: 3

Linux Security

...Number. Member banks are required to place a sign at their place of business stating that the deposits are backed by the full faith and credit of the United State Government. The First World Bank by complying with the different regulations help the bank provides confidentiality side of the CIA triangle. Customers will feel confident with the First World Bank handling their money and most important their information. Yes open source Linux can handle the security demands that the legislation and regulation require. Linux is running some of the world’s top secure networks the U.S. department of Defense, U.S. Navy Submarine Fleet, the City of Munich, Germany, French Parliament, State-Owned Industrial and Commercial Bank of China, Novell, Google, IBM, Cisco, Amazon, New York Stock Exchange just to name a few. Linux is secure as any properly setup operating system. If the world powers listed above trust and use Linux to protect their top secret information they Linux can protect the customers data at the First World Bank. With open source Linux patches are put out quicker and once an issue is found the open source world is immediately working on it and put out the fix as soon as it is done, unlike Microsoft that put out an update when they feel like it. For the customers of First World Bank to do their banking online there would be a two tiered architecture. The customer would be the client and First World Bank web server would be the server. The customer would request some...

Words: 1405 - Pages: 6


...modified. 2. Why is Linux popular? Why is it popular in academia? Due to the operating system's distribution among universities, students were able to become used to it's sophisticated developing environment which helped these graduates succeed in the industry as UNIX was being spread throughout the world. 3. What are multiuser systems? Why are they successful? Multiuser is a term that defines an operating system or application software that allows access by multiple users of a computer. They are so successful because they allow for collaborative projects to be conducted with much more ease and efficiency. 4. What is the Free Software Foundation/GNU? What is Linux? Which parts of the Linux operating system did each provide? Who else has helped build and refine this operating system? The GNU is a completely free (in the freedom sense) operating system built by Richard Stallman and many of its components, except for the kernel, were completed in the early '90s. Linus Torvalds wrote the kernel for Linux, which was also intended to be a free operating system, in the early '90s. The two systems then were combined together to finish Linux, with it's original kernel and added features supplied by GNU. Linux was born off the internet with hundreds of people helping to develop it in its early years. 5. In which language is Linux written? What does the language have to do with the success of Linux? Linux is written in the C programming language, and this helps Linux be portable......

Words: 371 - Pages: 2

Its-325 Linux that meet required regulations, and provide use of credit cards and loan application in a Linux / open source infrastructure.  Point out specific legislation and regulations that meet the statutory compliance criteria. The proposed plan would have to meet PCI / SOX / and GLBA regulations. For PCI compliance we would need to conduct an annual risk assessment using a SAQ (self-assessment questionnaire), and conduct quarterly PCI scans using an approved vendor. If our business grew to 6 million transactions per year, we would need to conduct an annual internal audit, in addition to the PCI scans. Some of the basics for PCI functionality includes, network hardening on web applications to protect cardholder data, including (but not excluded to) password policy enforcement, encryption, maintaining secure systems, keeping systems up to date on anti-virus, restricting business access to cardholder data, restricting physical access to data, tracking and monitoring access to all network resources, regular tests on security. If our web applications evolved into more services such as shareholder infrastructure, we would need to delve into the SOX regulations. Because we are offering loan services, we would need to abide by the Gramm Leach Bliley Act rules. Some of this would involve privacy notices about how we divulge their data.  Assess the feasibility of Linux and open source infrastructure in handling security demands listed by the legislation and......

Words: 1024 - Pages: 5


...Free and Open Source Software (FOSS) has been a pinnacle of the corporate world ever since it came around.   It has been an easy to use and replicate without worry of patent or licensing infringement.   However, in 2006 Microsoft found that many of their patents had been infringed upon by several different aspects. The Linux kernel found in most servers was one of them. Microsoft took a big leap going after FOSS for 235 patents.   FOSS is run by   Stallman who was responsible for the GNU Manifesto also known to most as the GNU General Public License (GPL) .   With Microsoft heading the full speed train against FOSS it took a demanding tire on both parties.   While Microsoft, in the meantime was also striking a deal with Novell on its Linux based server support.   FOSS was sure to go under as Linux was the base of its entire open source used in many applications and the applications within Linux   such as samba or Open Office.   The Deal with Novell was made to walk around the GPL of the GNU and expose loop holes for Microsoft’s gain but also creating a pressing dilemma for the GNU.   The deal struck between Novell and Microsoft was a “we don’t sue you and you don’t sue us” which indicates that not only was FOSS involved in patent infringement but also Microsoft.   The Deal included over 200 million dollars to Novell and 43 Million to Microsoft for “license distribution” of Novell’s’   Server software.   The after effects of this deal resulted in a addition to...

Words: 333 - Pages: 2