Free Essay

Samba Linux

In:

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

Free Essay

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 following...

Words: 681 - Pages: 3

Premium Essay

Race and Struggle of Samba

...Race and Struggle of Samba Samba exists throughout Brazil, peculiarly in the states of Bahia, Mahranhão, Minas Gerais, and São Paulo. Samba has two popular forms of expression: music and dance. A majority of people identify samba as the musical expression of urban Rio de Janeiro. Although samba is commonly identified with Brazil, the start of samba begins in Africa. According to Marc Hertzman, the origins of samba in Brazil can be trace back to the 1800s-a time when Brazil was still in the process of finding its own national identity. After Brazil freed the last of its remaining slaves, Brazil faced racial and economic divides, but with all this issues samba emerged as a building block of national identity. Samba is something unique that could be embraced by all Brazilians. Samba had an impact on Brazil as nation, but also it had an enormous impact on the individual and the African-Brazilian population. Throughout the world’s history, music has had the capability to tell the story of many slaves. Slaves in both the United States and Brazil had slave hymns. For example, the famous song Wade In the Water, which now commonly associated with the Underground Railroad. Once slavery ended, the sounds of those who were discriminated against changed. In the United States, slave hymns became the sound of jazz and the blues and in Brazil, samba was created. Samba is a word that is believed to come from the West African Bantu word, meaning “to pray” or “to invoke the spirits...

Words: 2502 - Pages: 11

Free Essay

Brazilian Music

...influences. Capoeira - A style of martial arts developed by Brazilian slaves in the 1700s. Capoeira was developed surreptiously, with practitioners pretending that they were taking parts in dances, when in fact they were practicing their kicks and blows. Thus, there is also a whole style of capoeira music which goes along with the martial arts culture. Choro - An improvisational instrumental style from the late 19th and early half of the 20th Century. Similar to New Orleans trad jazz, choro was closely connected with the early development of samba, and is typically played by a small ensemble -- over the years the instrumentation has expanded to include more instruments, such as clarinet and mandolin... Early stars of the genre include flautist Pixinguinha, mandolin player Jacob do Bandolim, and guitarist Garoto. Forro - Upbeat, catchy dance music from the Northeast of Brazil. Usually features an accordion, and syncopated rhythms similar to samba. In some ways, forro is analagous to mariachi in Mexico, or cumbia music in Columbia: although a few artists (such as...

Words: 559 - Pages: 3

Premium Essay

Rio Blocos Essay

...as capoeira, the national sport, the cult of soccer, Catholic holidays, rituals of the local religion such as Candomble, and the earthly revelry of Carnival are just a few of the festivities that go on in Brazil. Carnival is a traditional festival of decadence before Lent begins, it is celebrated widely across Brazil. Rio de Janeiro and Salvador host huge parades involving performers who spend months preparing. Local community bands play throughout Rio’s neighborhoods for two weeks preceding the festival, also fancy balls take place throughout the city’s more upscale venues, this is called ‘blocos’. Blocos has two things that the citizens of Rio enjoy the most, this being The Copacabana Palace Ball and crowding the streets to watch the Samba School Parade from Sunday night into early Monday morning. Carnival originated in the 1830s as a continuation of the Portuguese tradition of celebrating and indulging on the day before Lent begins. Rio is also home to...

Words: 902 - Pages: 4

Premium Essay

Events Mangement

...cultural and economic impacts which affect Brazil community. Rio de Janeiro carnival dates back to 1723 it is one of the world’s biggest carnivals, it is a hallmark event. It is known to be one of the most interesting artistic celebrations it involves 4 days of continuous partying and having fun before Ash Wednesday. This event provides an insight into the true culture of Brazil it showcases their beliefs and moralities. It is considered to be a performance of farewell to the pleasures of flesh which is the absence of human temptation and food desires. This event is performed annually 46 days before Easter and the celebration involves dancing, singing, party and having loads of fun with one of the major highpoints being the "samba" music. The purpose of the samba is to signify hedonism also the true celebration of life. It is known in Brazil that 75 % of the population is Roman Catholic therefore the carnival demonstrates all the different cultures and their backgrounds. (Enjoy festivals 2013) Having the Rio de Janeiro carnival it benefits the community by improving social ties and it gives the opportunity for the community that they can pull it together for the greater good. (Perry, S 2010) Rio de Janerio carnival is classed as a hallmark event. A hallmark event is an event that takes place annually in the same place; this will then bring to mind the location of where the event was held. It is also where the event becomes synonymous with the name of the place and it will gain widespread...

Words: 1407 - Pages: 6

Free Essay

Global Music

...mariachi. Mariachis origin is Mexico. Linda Ronstadt is known for promoting her mariachi music in North America. In her music the vocals are very prominent which reflects the ranchera style of mariachi. Mariachi has the stereotype that is connected to images such as sombreros. It is also said that all Mexican music is the same, which is untrue. Samba- The origin of this style of music is Afro-Brazilian and from Rio. The instruments that are primarily used in samba are the agogo, tambourines, reco-reco, and drums. The majority of the instruments are percussion based. The culca is the most distinctive instrument used in samba. It has a stick inside of it and uses a moist cloth. When the stick is put in motion its rubs the inside to produce different sounds. Brazil first viewed samba as an ill-mannered dance that was done by low-class citizens of Rio de Janerio. When Getulio Vargas took power he looked at samba as positive and used it to unify Brazil. Samba was found mostly when Carnival took place. It wasn’t until Vargas came along and made Carnival a national event and supported samba schools. Not only did he support the samba schools, he also offered public funds to help the school financially. Vargas was a cultural icon for this style of music. Tango- This style of music is from Argentina. The istruments used in this music are the violin, guitar, flute, piano, and the bandoneon. The bandoneon is the most important instrument used in tango because it is made up...

Words: 690 - Pages: 3

Free Essay

Linux Security

...Project Part 1 ITT Technical Institute Table of Contents Task 1 Page 3 Task 2 Page 6 Task 3 Page 7 References Page 8 Task 1 First World Bank is a savings and loan financial institution that provides services to their customers like loans, credit cards and standard banking services. First World Bank believes that once they can provide their services online they will gain $100,000,000 a year in online credit card transactions. The issue is how to securely provide their services to their customers and how they can provide those services and still save money in doing so. First World Bank will have to comply with federal regulations to be compliant and to avoid fines and sanctions. If the First World Bank fails to safe guard the information that they have stored on their customers and that information is compromised then the First World Bank will lose customers and also their reputation. Gramm-Leach-Bliley Act (GLBA) is one of the federal regulations that the First World Bank needs to be in complaint and stay in compliance with. Gramm-Leach-Bliley is a regulation that requires banks to safe guard customer’s information and to provide how the institution shares customer’s information, what information is collected, who they share the information with, and how they protect it. This information is required to be disclosed to customers in writing, in the written notice the customer will also be advised...

Words: 1405 - Pages: 6

Premium Essay

Is3440 Discussion 6

...IS 3440 Discussion 6 As the Linux system administrator of insurance company Secure All, Inc., you need to design firewall rules for the organization’s bastion host file sever, which uses Samba. Located on the LAN the sever should allow Web application access for it’s online transaction platform to mount the filesystem, using a Linux computer as a gateway between a private network and the internet. Any internet connection whether it be a dial-up PPP, DSL, cable modem or a T1 line can be used. In the case of most dial-up PPP connections and cable modem connections, only a single IP address is issued allowing only one computer to connect to the internet at a time. Using Linux and iptables / ipchains one can configure a gateway which will allow all computers on a private network to connect to the internet via the gateway and one external IP address, using a technology called "Network Address Translation" (NAT) or masquerading and private subnets. Iptables/ipchains can also be configured so that the Linux computer acts as a firewall, providing protection to the internal network. Using NAT a bastion host should allow administrators to access Samba and SSH for remotely managing the server through NAT or PAT. These two filter methods will allow for a one way only gateway that is only accessed through certain ports or network addresses. Using this sort of port or network address filtering administrators can access the Samba server to perform administrative tasks, while...

Words: 265 - Pages: 2

Premium Essay

Unit 6 Discussion

...Learning Objectives and Outcomes <!--[if !supportLists]--> <!--[endif]-->You will be able to explore design and firewall rules for a bastion host. <!--[if !supportLists]--> <!--[endif]-->You will examine how a bastion host allows administrators to access Samba and Secure Shell (SSH) for remotely managing a server. Assignment Requirements As the Linux system administrator of insurance company Secure All, Inc., you need to design firewall rules for the organization’s bastion host file server, which uses Samba. This server is located in the local area network (LAN) with the network address 172.16.0.0/12 and subnet 255.240.0.0. The server should also allow Web application access for its online transaction platform to mount the filesystem. The Web application resides on the Web server located in the demilitarized zone (DMZ). This server has two interface cards. One card, which is for the traffic from the DMZ firewall, is linked to the wide area network (WAN). This card’s IP address is 192.168.1.5. The other interface card has the IP address 172.16.1.5 and is linked to the LAN. Which firewall rules should be written using iptables for the server hosting Samba? Discuss and suggest firewall rules to allow administrators to remotely manage the server using SSH. Use the concept of “default deny” when designing the rules. Participate in this discussion by engaging in a meaningful debate regarding the firewall rules that can be written using...

Words: 922 - Pages: 4

Premium Essay

Exploring Linux Operating Systems

...Exploring Linux Operating Systems What is Linux? Linux is an Operating System for a computer; it is like other Operating Systems such as Windows and the OS X for MAC. Linux was created in 1991 and has been found on many different systems like Super Computers, cell phones, and even the New York stock exchange. What sets Linux apart from other Operating Systems is that Linux is made by several different companies. According to www.linux.com over 3,200 developers have from 200 companies have contributed to the kernel which is just a small piece of the distribution. How is Linux used today? While other Operating Systems are very limited to personal computing devices, Linux is not limited it can be found on many different things. Linux had its start as a server Operating System but is also one of the only Operating System that can be found on more than just a personal computer. Some of the different things it can be found on taken from www.linux.com “These are just the most recent examples of Linux-based devices available to consumers worldwide. This actual number of items that use Linux numbers in the thousands.” www.linux.com File Editors Coming from a Windows Operating System pretty much my whole life, which means I only have experience with GUI editors such as Notepad from Windows. After working with Linux and its file editors this past week I found it much faster and easier than using the notepad system in Windows. There are two different kinds of editors...

Words: 1308 - Pages: 6

Free Essay

Root

...10/28/2013 LINUX James Tucker Unit 4 Exercise Ch 14 p. 582, Ex 1-5 1. Which commands can you use from the command line to send a file to the default printer? Redhat / Fedora 12 Answer: lp and lpr without arguments send their standard input to the printer. 2. Which command would you give to cancel all print jobs on the system? Executed as root, either lprn - or cancel –a removes all jobs from the print queues. 3. Which commands list your outstanding print jobs? lpc status shows a list of the print queues lpq shows what is in the default print queue lpq -Psomeprinter shows what is in a specific print queue 4. What is the purpose of sharing a Linux printer using Samba? Sharing a Linux printer using Samba allows windows and OS/2 clients to send print jobs to the printer. 5. Name three printing protocols that CUPS supports. Which is the CUPS native protocol? CUPS supports IPP, LPD/LPR, HTTP, SMB, and JetDirect (socket) protocols. Ch 10 p. 403, Ex 1 1. Describe the similarities and differences between these utilities: a. scp and ftp – scp is the "Secure Copy" program and it works just like the "cp", or "Copy" program, only it works through via the Secure Shell. ftp is the "File Transfer Protocol" and has nothing to do with security. Usually operates as its own interface with its own set of user sub-commands. Both are used to transfer files from one host to another via network connection. b. ssh and telnet – Both Telnet and SSH...

Words: 382 - Pages: 2

Free Essay

Test

...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

Free Essay

Hands on Project 2-1

...should really install the latest and the current Fedora Core release. b. The Fedora official web page: http://fedoraproject.org/ c.http://www.linuxquestions.org/questions/fedora-installation-39/red-hat-linux-fedora-core-2-installation-364623/ http://www.linuxquestions.org/ 2. a. * Linux treats all hardware as devices, but interacts differently with different devices. Storage capacity on a computer is measured in bytes. A byte is composed of 8 bits and can store one character. Computers are capable of storing many characters, and storage is typically determined in megabytes (MB), 1,048,576 bytes, and gigabytes (GB), 1024 MB. * Many companies do not provide device drivers that support Linux. Instead, they rely on the free software development community to develop the appropriate drivers. For this reason, the newer a hardware device is, the less likely it is to be supported. * Linux OSes have a much lower threshold than Microsoft's Windows 7 and Windows 8 and Apples's Mac OS X. So system resources are less of an issue than system compatibility. That means you can run the latest Linux OS without having to buy a more expensive new computer. b. Unsupported drivers and lack of applications for a particular Linux distribution. c. * Samba Server - OpenLDAP Linux Packages * Processor: Dual core 3.4Ghz …To handle the workload of multiple user file sharing speed * RAM:,2GB of DDR2 dual channel RAM…To allow for faster data retrieval * Storage: 2x1TB SATA...

Words: 374 - Pages: 2

Free Essay

Nion[I

...online transactions. Here are some reasons why MySql would be a great option: Performance. With its unique one of a kind storage architecture, MySql can be customized for to work with specific applications with the outcome being amazing performance. Whether it be high speed transactional processes or a web site that deals with many queries a day, MySql can meet most demands. Flexibility. The open source nature of MySql allows for maximum customization to suit any business needs. File Server open source solution: Samba Samba file server would an excellent option for the implementation of online transactions for this bank. Here are some reasons why this would be a great choice. Windows and Linux working together? What!? With the use of samba file server, the windows and linux file system environments can work together providing ease of use if any currently existing file systems use windows based file systems. Open source freedom. Due to the nature of samba being open source, it allows for...

Words: 804 - Pages: 4

Free Essay

Nt1430

...Nt1430 Unit 4 Chptr 14 1. Which commands can you use from the command line to send a file to the default printer? lp or lpr 2. Which command would you give to cancel all print jobs on the system? Either sudo lprm – or sudo cancel –a will remove all jobs from the print queues 3. Which commands list your outstanding print jobs? lpq or lpstat 4. What is the purpose of sharing a Linux printer using Samba? Sharing a Linux printer using Samba allows Windows and OS/2 clients to send print jobs to the printer. 5. Name three printing protocols that CUPS supports. Which is the CUPS native protocol? System-config-printer lpinfo Displays available drivers lpadmin configures printers The cups native protocol is IPP Chptr 10 1. Describe the similarities and differences between these utilities: a. scp and ftp SCP stands for Secure Copy Protocol, and FTP is an acronym for the File Transfer Protocol, which was the original file transfer protocol. SCP and FTP are two applications for copying files from one computer to another. Both were originally based on their own protocols, but both now use different protocols b. ssh and telnet Both are text-based protocols: mouse movements cannot be transferred only keystrokes. Both are connection-oriented and are client-server protocols. The main difference is in security. SSH offers security mechanisms that protect the users against anyone with malicious intent while Telnet has no security measures whatsoever c. rsh and ssh They...

Words: 459 - Pages: 2