<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;A0INSHY8fCp7ImA9WhRaFEk.&quot;"><id>tag:blogger.com,1999:blog-6334265173812873959</id><updated>2012-02-16T21:33:19.874-06:00</updated><category term="Server-Security" /><category term="Network" /><category term="Information-gathering" /><category term="SLES-9-LDAP-NFS-Samba" /><category term="Hostname" /><category term="SLES-10" /><category term="Updates" /><category term="Xorg" /><category term="Installation-Server" /><category term="Runlevel 3" /><category term="startx" /><category term="Locking-Out-Root" /><category term="Tips" /><category term="Information" /><title>Doing IT With Linux</title><subtitle type="html">Dare To Be FREE. Use Linux.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.doingitwithlinux.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.doingitwithlinux.com/" /><author><name>GeS</name><uri>http://www.blogger.com/profile/03012955324521748550</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_frdLBTZXwBQ/SLuQGsg8KvI/AAAAAAAAACE/9nDFunrB_IU/S220/sharp-zaurus-5500.jpeg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/doingitwithlinux/mWeH" /><feedburner:info uri="doingitwithlinux/mweh" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;D0MHSXY9fCp7ImA9WhdXGE8.&quot;"><id>tag:blogger.com,1999:blog-6334265173812873959.post-9032178043577112256</id><published>2011-08-30T17:29:00.019-05:00</published><updated>2011-08-31T16:17:18.864-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-31T16:17:18.864-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Runlevel 3" /><category scheme="http://www.blogger.com/atom/ns#" term="Xorg" /><category scheme="http://www.blogger.com/atom/ns#" term="startx" /><title>Starting Xorg from runlevel 3 as a regular user in openSuSE 11.4</title><content type="html">Recently I had the opportunity to play with &lt;a href="http://susestudio.com/"&gt;SuSE Studio&lt;/a&gt; by creating a minimal  X virtual machine. My choice of runlevel was 3. As such, I tried logging in to my desktop as a regular user. I kept receiving Xorg errors that hinted at changing Xorg to suid or adjust my permissions dot local file. After conducting some tests to try to understand what I wasn't doing properly and with unsuccessful results, I did some research.
&lt;br /&gt;
&lt;br /&gt;The suid bit means to execute some file as the owner of that file.
&lt;br /&gt;I came across a nice article that helped me to understand how to use the &lt;a href="http://doc.opensuse.org/products/opensuse/openSUSE/opensuse-reference/cha.new.bash.html#sec.shell.commands"&gt;suid bit&lt;/a&gt;. This says if the suid is going to applied, add the number 4 in front of the rest of the file permissions.
&lt;br /&gt;
&lt;br /&gt;For example: "/usr/bin/Xorg" has a file permission of 755. Add the 4 in front of 755 to show as 4755. The suid has now been applied. The command would be: chmod 4755
&lt;br /&gt;
&lt;br /&gt;Starting Xorg from runlevel 3 as a regular user is now possible.
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;I welcome any and all helpful ideas, questions, comments and suggestions.
&lt;br /&gt;
&lt;br /&gt;--GeS
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6334265173812873959-9032178043577112256?l=blog.doingitwithlinux.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zVxWkloJ9ZjgnTsbVBSOKev23Dw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zVxWkloJ9ZjgnTsbVBSOKev23Dw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zVxWkloJ9ZjgnTsbVBSOKev23Dw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zVxWkloJ9ZjgnTsbVBSOKev23Dw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/doingitwithlinux/mWeH/~4/vI8yiDkhwsw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.doingitwithlinux.com/feeds/9032178043577112256/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6334265173812873959&amp;postID=9032178043577112256&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/9032178043577112256?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/9032178043577112256?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/doingitwithlinux/mWeH/~3/vI8yiDkhwsw/starting-xorg-from-runlevel-3-as.html" title="Starting Xorg from runlevel 3 as a regular user in openSuSE 11.4" /><author><name>GeS</name><uri>http://www.blogger.com/profile/03012955324521748550</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_frdLBTZXwBQ/SLuQGsg8KvI/AAAAAAAAACE/9nDFunrB_IU/S220/sharp-zaurus-5500.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.doingitwithlinux.com/2011/08/starting-xorg-from-runlevel-3-as.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08NSXs7fCp7ImA9WxNaEU4.&quot;"><id>tag:blogger.com,1999:blog-6334265173812873959.post-595400034418706104</id><published>2009-07-03T05:26:00.058-05:00</published><updated>2009-11-25T01:58:18.504-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-25T01:58:18.504-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Information-gathering" /><category scheme="http://www.blogger.com/atom/ns#" term="Information" /><title>The Power of Social Networking</title><content type="html">Do you want to know somethings about a person? Do you want to learn about an individual's intimate details? Do you desire to understand you target's patterns?&lt;br /&gt;&lt;br /&gt;Then continue to read...&lt;br /&gt;&lt;br /&gt;Social networking (SN) websites are great places to make new friends that share similar interests. It is also a great place to get some ideas. Additionally, the fact that is is possible to be involved in various networks with others from all over the globe is an amazing feat in itself.&lt;br /&gt;&lt;br /&gt;However, a much &lt;span style="font-weight: bold;"&gt;darker&lt;/span&gt; side of social networking exists...&lt;br /&gt;&lt;br /&gt;The type of information that can be collected from these types of networks can range from the most basic information to the most detailed. For example, email addresses, phone numbers, resident location(s), work related details, family members and leisure activities. These examples can continue to make a rather long lists from just one member.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;EXERCISE ONE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;For those of you that play social networking games, such as, &lt;a href="http://www.zynga.com/"&gt;Mafia Wars by Zynga&lt;/a&gt;, typically require at some point to have, at most, 501 members to effectively play the game. Choose a member's profile page and gather as much information from what the individual has chose to share with the world and develop your own interpretation. The interpretation is either assumed or may contain a degree of accuracy.&lt;br /&gt;&lt;div style="text-align: center;"&gt;-- End Exercise --&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;PHOTOS&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;Some profiles have become quite complacent over a period of time. Pictures can tell what an individual's interests are. Photos that are uploaded to these (SN) sites can be configured to show names, places, events and other significant information for anyone to obtain.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;GENERAL INFORMATION&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;Some individuals choose to have their email address and phone numbers displayed as general information. Some have specific networks that they are a part of. For example, on Facebook, a network might suggest the city and state of an individual's residence, a place that their leisure time is spent or some other significant reason.&lt;br /&gt;&lt;br /&gt;Profile the individual's profile...Get a feel of their personality, interests, hobbies, (extra) curricular activities and other variables...In essence, when profiling...become one with the profile (for information gathering purposes). This might look and/or sound silly, but target information leads to other information that could be advantageous.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;APPLICATIONS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;The reasons for social applications is to bring people to a higher plain that suggests communication with others on different levels. Some applications do this very well, while other applications might take a different approach, they are just as effective in their own way. These applications could suggest an individual's thoughts, desires and/or particular problems that they might be facing at the moment.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;WALLS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;The Wall, if not maintained, is the window through which gives all the information to a "would be" attacker. For example, the Wall holds all records of events that an individual conducts...when and whom friendships occur, the groups and/or pages that individuals are interested and really the list can continue on...&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;CONCLUSION&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;In conclusion, the information on these profiles are publicly available. Anyone can obtain this information which could be used in various ways against a member of the social networking community. Individuals are not the only victims that are vulnerable to this type of an attack, organizations can become vulnerable as well.&lt;br /&gt;&lt;br /&gt;Attempt to secure your information that you choose to share with the world. If you don't know how, find someone that may be able to help you privatize you information.&lt;br /&gt;&lt;br /&gt;We welcome any and all helpful ideas, questions, comments and suggestions.&lt;br /&gt;&lt;br /&gt;--GeS&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6334265173812873959-595400034418706104?l=blog.doingitwithlinux.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vcuw0T-Z73gjKuTQCa7XOiCoahw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vcuw0T-Z73gjKuTQCa7XOiCoahw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vcuw0T-Z73gjKuTQCa7XOiCoahw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vcuw0T-Z73gjKuTQCa7XOiCoahw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/doingitwithlinux/mWeH/~4/A0agDhOQPd8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.doingitwithlinux.com/feeds/595400034418706104/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6334265173812873959&amp;postID=595400034418706104&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/595400034418706104?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/595400034418706104?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/doingitwithlinux/mWeH/~3/A0agDhOQPd8/power-of-facebook.html" title="The Power of Social Networking" /><author><name>GeS</name><uri>http://www.blogger.com/profile/03012955324521748550</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_frdLBTZXwBQ/SLuQGsg8KvI/AAAAAAAAACE/9nDFunrB_IU/S220/sharp-zaurus-5500.jpeg" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.doingitwithlinux.com/2009/07/power-of-facebook.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYDSX0yfyp7ImA9WxVRGUo.&quot;"><id>tag:blogger.com,1999:blog-6334265173812873959.post-1396335687729595903</id><published>2009-01-26T05:47:00.013-06:00</published><updated>2009-01-26T06:16:18.397-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-26T06:16:18.397-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Updates" /><title>We Never Left</title><content type="html">After a long, anticipated and eventful think tank session, (vacation, leave of absence), call it what you will, the Doing IT With Linux Team has come back with a modified agenda. Our agenda will still include Linux network Solutions, but with added instances in business related networking, sharing and above all &lt;u&gt;Network and System Security&lt;/u&gt;. Additionally, We value the knowledge and ideas from the community. So, if you feel like sharing your experiences, please, feel free to contact us at: info at doingitwithlinux dot com.&lt;br /&gt;&lt;br /&gt;We welcome any and all helpful ideas, questions, comments and suggestions.&lt;br /&gt;&lt;br /&gt;--GeS&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6334265173812873959-1396335687729595903?l=blog.doingitwithlinux.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/18mZTxjsAH9gr5Y7v9_SeGrgeCg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/18mZTxjsAH9gr5Y7v9_SeGrgeCg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/18mZTxjsAH9gr5Y7v9_SeGrgeCg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/18mZTxjsAH9gr5Y7v9_SeGrgeCg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/doingitwithlinux/mWeH/~4/A98SWACRZlg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.doingitwithlinux.com/feeds/1396335687729595903/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6334265173812873959&amp;postID=1396335687729595903&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/1396335687729595903?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/1396335687729595903?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/doingitwithlinux/mWeH/~3/A98SWACRZlg/we-never-left.html" title="We Never Left" /><author><name>GeS</name><uri>http://www.blogger.com/profile/03012955324521748550</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_frdLBTZXwBQ/SLuQGsg8KvI/AAAAAAAAACE/9nDFunrB_IU/S220/sharp-zaurus-5500.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.doingitwithlinux.com/2009/01/we-never-left.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0ECSX4_eyp7ImA9WxdbGE8.&quot;"><id>tag:blogger.com,1999:blog-6334265173812873959.post-5351364673536392650</id><published>2008-08-13T15:30:00.001-05:00</published><updated>2008-08-15T13:41:08.043-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T13:41:08.043-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips" /><title>SSH Collaboration Using Screen</title><content type="html">&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;INTRODUCTION&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Instances arise with in an organization that require remote collaboration. With the use of SSH (Secure SHell) and a neat little program called &lt;a href="http://www.gnu.org/software/screen/"&gt;screen&lt;/a&gt;, loss of productivity can be minimized.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;SCENARIO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Bob and Joe work in the same building. However, Bob is on the 48th floor logged into 'computer-a' and Joe is on the 42nd floor logged into 'computer-c'. Bob phones Joe with a software problem that requires immediate attention. Instead of Joe walking 5 miles to get to the 48th floor to do some magic, Joe shells into Bob's computer and uses screen to show Bob how fix the problem.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;SOLUTION&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;NOTE: In order for this to work, both parties must be logged in as the same user.&lt;br /&gt;&lt;br /&gt;Joe uses SSH to tunnel into Bob's computer:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ssh computer-a&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;NOTE: In order to ssh or shell into a computer using a host name rather than ip address on the same network or subnet, the &lt;span style="font-style: italic;"&gt;/etc/hosts&lt;/span&gt; file must be configured. To do this, in terminal as root, type either &lt;span style="font-style: italic;"&gt;vi /etc/hosts&lt;/span&gt; or &lt;span style="font-style: italic;"&gt;gedit /etc/hosts&lt;/span&gt;. At the bottom of the file it reads:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;127.0.0.2       computer-c.site computer-c&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On the next line, enter the ip address of computer-a and the host name. For example:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;192.168.1.12     computer-a.site computer-a&lt;/span&gt;&lt;/blockquote&gt; &lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Once logged into computer-a via ssh, initiate a screen session by typing:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;screen -S name-of-session&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The program, screen is a virtual terminal manager. The &lt;span style="font-style: italic;"&gt;-S&lt;/span&gt; option means the particular title of the session. It could be any name that is desired. In place of the &lt;span style="font-style: italic;"&gt;name-of-session&lt;/span&gt;, give it some generic name.&lt;br /&gt;&lt;br /&gt;Going back to the scenario, Joe instructs Bob to type:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;screen -x name-of-session&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The &lt;span style="font-style: italic;"&gt;-x&lt;/span&gt; option means to attach to an existing screen session.&lt;br /&gt;&lt;br /&gt;This will create a joined terminal session. This means that whatever is typed, both parties can see what is going on. In the scenario, Joe can actually show Bob how to fix the software problem without being physically at Bob's computer.&lt;br /&gt;To detach the session to only return to at a later time, press the Ctrl+A+D keys at the same time. To return to the same session, retype the command in the terminal, &lt;span style="font-style: italic;"&gt;screen -x name-of-session&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;OTHER NON-WORK RELATED USES&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;If Joe wanted to talk with Ginger over at HR with out leaving his desk, Joe would initiate the same type of session with Ginger. Instead of seeing '&lt;span style="font-style: italic;"&gt;bash: hello: command not found&lt;/span&gt;' error every time a non-command is entered, just type:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;cat &gt; chat&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This way, Joe and Ginger can yap it up, during their lunch break. Just remember to hit Ctrl + C when finished.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;CONCLUSION&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;In this document, &lt;span style="font-style: italic;"&gt;ssh&lt;/span&gt; has been used along with &lt;span style="font-style: italic;"&gt;screen&lt;/span&gt; to initiate collaboration with another user on the network.&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;THANKS&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;This particular &lt;a href="http://www.ibm.com/developerworks/linux/library/l-10sysadtips/#T3"&gt;SSH tip&lt;/a&gt; came from Vallard Benincosa at IBM.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;br /&gt;We welcome any and all helpful ideas, questions, comments and suggestions.&lt;br /&gt;&lt;br /&gt;--GeS&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6334265173812873959-5351364673536392650?l=blog.doingitwithlinux.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0kOkfA0jFIG1DzaWMJH0k6Prbco/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0kOkfA0jFIG1DzaWMJH0k6Prbco/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0kOkfA0jFIG1DzaWMJH0k6Prbco/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0kOkfA0jFIG1DzaWMJH0k6Prbco/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/doingitwithlinux/mWeH/~4/uoAwYdj9l4A" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.doingitwithlinux.com/feeds/5351364673536392650/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6334265173812873959&amp;postID=5351364673536392650&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/5351364673536392650?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/5351364673536392650?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/doingitwithlinux/mWeH/~3/uoAwYdj9l4A/ssh-collaboration-using-screen.html" title="SSH Collaboration Using Screen" /><author><name>GeS</name><uri>http://www.blogger.com/profile/03012955324521748550</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_frdLBTZXwBQ/SLuQGsg8KvI/AAAAAAAAACE/9nDFunrB_IU/S220/sharp-zaurus-5500.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.doingitwithlinux.com/2008/08/ssh-collaboration-using-screen.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUNSH44fyp7ImA9WxRWGUo.&quot;"><id>tag:blogger.com,1999:blog-6334265173812873959.post-4706680755616962783</id><published>2008-08-03T11:35:00.003-05:00</published><updated>2008-11-06T06:24:59.037-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-06T06:24:59.037-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Network" /><category scheme="http://www.blogger.com/atom/ns#" term="SLES-10" /><category scheme="http://www.blogger.com/atom/ns#" term="Installation-Server" /><title>SLES 10 NFS, HTTP and FTP Installation Server</title><content type="html">&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;INTRODUCTION&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Creating a local network based Linux installation server can save both time and bandwidth. Further more, adding an update repository on a local installation server could ensure package availability as well as an increase in productivity. This document will describe the set up of a NFS, HTTP and FTP methods of an installation server. In addition to these methods, the media sources will be in a dot iso (Linux-version.iso) format only.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;REMOTE INSTALLATION REQUIREMENTS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;ol&gt;&lt;li&gt;Linux distribution (dvd.iso)&lt;/li&gt;&lt;li&gt;A network boot disk for that particular Linux distribution&lt;/li&gt;&lt;/ol&gt;This document uses Fedora 9 DVD distribution as well as the Fedora 9 network installation disk. Both of which can be retrieved from the &lt;a href="http://fedoraproject.org/"&gt;Fedora Project&lt;/a&gt;. However the network boot disk can also be retrieved from the DVD as well.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;INSTALLATION&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;The server in this example utilizes a 40GB hard drive with 512MB of ram and a cdrom. When installing the SLES 10 Server, 3 partitions were created (swap, root and custom). For example, the swap partition was created with 1024MB space or 1GB, the root partition was created with about a 12GB space and the custom partition, which was named with a &lt;span style="font-style: italic;"&gt;/product&lt;/span&gt; label and was created with a 25GB space.&lt;br /&gt;The software that was selected was the default selection. In addition to the default selection, include the software packages &lt;span style="font-style: italic;"&gt;vsftp&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;apache2&lt;/span&gt;. Proceed with the installation until it is finished and then log into the system, preferably with a regular user name that can perform root functions. For example, the Admin user that was created in the &lt;a href="http://blog.doingitwithlinux.com/2008/04/sles-9-ldap-nfs-and-samba.html"&gt;LDAP configuration&lt;/a&gt;. &lt;span style="font-weight: bold;"&gt;Not root&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;NFS CONFIGURATION&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;After the server has been secured by &lt;a href="http://blog.doingitwithlinux.com/search/label/Locking-Out-Root"&gt;locking out root&lt;/a&gt;, it is time for the initial configuration of the NFS server. Begin by opening up a terminal and typing &lt;span style="font-style: italic;"&gt;sudo&lt;/span&gt; or &lt;span style="font-style: italic;"&gt;su -&lt;/span&gt; for root privileges. Since a 25GB partition called &lt;span style="font-style: italic;"&gt;/product&lt;/span&gt; had been created, this is the starting point of the NFS configuration. Navigate to that partition or directory by typing '&lt;span style="font-style: italic;"&gt;cd /product&lt;/span&gt;'. Create a directory that is relative to the particular distribution. For example, this document will use the &lt;a href="http://fedoraproject.org/en/get-fedora"&gt;Fedora 9&lt;/a&gt; DVD release. Type '&lt;span style="font-style: italic;"&gt;mkdir fedora9&lt;/span&gt;'. The directory that has just been created needs to exported for other hosts on the network to be able to have access to that directory for the NFS remote installation method. Using a text editor, for example &lt;span style="font-style: italic;"&gt;vi&lt;/span&gt; or &lt;span style="font-style: italic;"&gt;gedit&lt;/span&gt;, in the terminal, type either '&lt;span style="font-style: italic;"&gt;vi /etc/exports&lt;/span&gt;' or '&lt;span style="font-style: italic;"&gt;gedit /etc/exports&lt;/span&gt;' to open the exports file. In the file, type the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/product/fedora9 *(ro,root_squash,sync)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The "&lt;span style="font-weight: bold;"&gt;/product/fedora9&lt;/span&gt;" directory is the directory that needs to be exported.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;* &lt;/span&gt;or asterisk symbol means that any and all hosts on the network for purposes of remote installation are allowed to access the "/product/fedora9" directory.&lt;/li&gt;&lt;li&gt;The "ro" means all files on the share to be read-only. This is the default behavior.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;root_squash &lt;/span&gt;maps the root user to the nobody user. This has the effect of not allowing a root user on a client to gain root file access permissions on the server.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;sync&lt;/span&gt; ensures data is written to disk before another request is serviced.&lt;/li&gt;&lt;/ul&gt;Save the file.&lt;br /&gt;&lt;br /&gt;To start the NFS server, type in a terminal as root:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;service nfsserver start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To have the NFS server start at run levels 3 and 5 or at boot time, type in a terminal as root:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;chkconfig -s nfsserver 35&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;chkconfig -s nfsserver on&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NOTE: the "&lt;span style="font-style: italic;"&gt; -s&lt;/span&gt; " option in the command "&lt;span style="font-style: italic;"&gt;chkconfig -s&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;" &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;means the service that is to be started.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;FTP CONFIGURATION&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;In a terminal as root, type:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mkdir /srv/ftp/fedora9&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To start the FTP server, type in a terminal as root:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;service vsftpd start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;chkconfig -s vsftpd 35&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;chkconfig -s vsftpd on&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NOTE: Remember that the 3 and 5 in the "&lt;span style="font-style: italic;"&gt;chkconfig -s service 35&lt;/span&gt;" are the particular run levels to have the service start at boot time.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;HTTP CONFIGURATION&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;A directory needs to be made in the http directory that will contain the installation files. In a terminal as root, type the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mkdir /srv/www/htdocs/fedora9&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;service apache2 start&lt;br /&gt;chkconfig -s apache2 35&lt;br /&gt;chkconfig -s apache2 on&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;FIREWALL CONFIGURATION&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;To have this installation server be successful with regards to security, the firewall needs to be configured for NFS, HTTP and FTP services.&lt;br /&gt;To do this, open &lt;span style="font-style: italic;"&gt;YAST &gt;&lt;/span&gt; &lt;span style="font-style: italic;"&gt;Security and Users &gt; Firewall&lt;/span&gt;. Select "Allowed Services" from the column on the left. In the "Allowed Services for Selected Zone" drop down list, ensure "External Zone" is selected. In the "Service to Allow" drop down list, select and add "NFS", "HTTP" and "FTP". Select the "Next" button and "Accept" to finish the configuration.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;MOUNTING THE ISO&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;Mounting the ISO by itself as a loop device allows for the copying of the contents to another directory. This is done so that the remote system has access to the installation files and directories during the installation process. The directories called 'fedora9' have already been created in their prospective paths (FTP, HTTP and NFS). To do this, open a terminal and type as root:&lt;br /&gt;&lt;br /&gt;'&lt;span style="font-style: italic;"&gt;mount /product/fedora9dvd/*.iso /mnt -o loop&lt;/span&gt;'&lt;br /&gt;'&lt;span style="font-style: italic;"&gt;cd /mnt&lt;/span&gt;'&lt;br /&gt;&lt;br /&gt;Verify the contents are in the /mnt directory.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;'&lt;span style="font-style: italic;"&gt;cp -a * /srv/www/htdocs/fedora9&lt;/span&gt;'&lt;br /&gt;'&lt;span style="font-style: italic;"&gt;cp -a * /srv/ftp/fedora9&lt;/span&gt;'&lt;br /&gt;'&lt;span style="font-style: italic;"&gt;cp -a * /product/fedora9&lt;/span&gt;'&lt;br /&gt;&lt;br /&gt;After the contents have been copied, which might of taken a while,  exit out of the /mnt directory and unmount the directory that the ISO is mount to. To do this, type the following in a terminal as root:&lt;br /&gt;&lt;br /&gt;'&lt;span style="font-style: italic;"&gt;umount /mnt&lt;/span&gt;'&lt;br /&gt;&lt;br /&gt;Restart the services in relation to which the contents of the ISO have been copied. For example, If the contents of the ISO had been copied to the HTTP directory (/srv/www/htdocs/fedora9), restart apache2. If the contents were copied to either the FTP (/srv/ftp/fedora9) or the exported NFS directory (/product/fedora9) then restart those services by typing in a terminal as root:&lt;br /&gt;&lt;br /&gt;'&lt;span style="font-style: italic;"&gt;service apache2 reload&lt;/span&gt;' or '&lt;span style="font-style: italic;"&gt;service apache2 restart&lt;/span&gt;'&lt;br /&gt;'&lt;span style="font-style: italic;"&gt;service nfsserver restart&lt;/span&gt;'&lt;br /&gt;'&lt;span style="font-style: italic;"&gt;service vsftpd restart&lt;/span&gt;'&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;PERFORMING THE INSTALLATION&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;On the computer that, in this example, Fedora 9, is to be installed, insert the network installation cd.&lt;br /&gt;The network installation cd can either be obtained directly from the Fedora 9 DVD or by downloading it from the &lt;a href="http://fedora.secsup.org/linux/releases/9/Fedora/i386/iso/"&gt;index of Fedora releases&lt;/a&gt;. The particular network installation cd is called "netins.iso" or from the DVD.iso, copy the "boot.iso" that is located in the images directory, to a computer that can burn images to a cd and burn it.&lt;br /&gt;&lt;br /&gt;Boot up the network installation cd. The method of installation depends where the installation files are located. The choices are either NFS or URL in regards to installing via a network.&lt;br /&gt;&lt;br /&gt;NFS - refers to a local directory on the local network&lt;br /&gt;URL - refers to a directory that uses a URL, such as "ftp://" or "http://"&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;NFS METHOD&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;If the method of a NFS installation will be used, choose the "NFS directory" option. In the next window labeled "Configure TCP/IP" The example in this document uses the manual IPv4 configuration. Use an ip address that is not in use. Next, use the network subnet that the installation server is on. Finally, use the gateway address.&lt;br /&gt;&lt;br /&gt;NOTE: Leave the name server field blank. For the purposes of this document, a name server is not used.&lt;br /&gt;&lt;br /&gt;The next window is the NFS setup. This field is the IP address of the installation server. The next field is the particular directory the installation files are located (&lt;span style="font-style: italic;"&gt;/product/fedora9&lt;/span&gt;). After those fields are configured, proceed with the "OK" button.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;FTP AND HTTP METHOD&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;Select the URL method of installation. Input the manual configuration of IPv4. The next window titled "URL Setup" is the field that requires either a HTTP address or a FTP address. For example, if a http or ftp installation is going to take place, all that needs typed is "http://ip.address/fedora9" or "ftp://ip.address/fedora9"&lt;br /&gt;&lt;br /&gt;the actual installation over the network is the same as though installation were done directly from the media itself.&lt;br /&gt;&lt;br /&gt;NOTE: Some older computers, no matter what has been done, will not be able to perform a remote Linux installation.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;UPDATES AND SOFTWARE REPOSITORIES&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;After the installation has been completed, in this example, Fedora 9, the software and update repositories need to be configured. to do this, the NFS directory which is located on the installation server needs to be mounted. First, as root, created a directory called &lt;span style="font-style: italic;"&gt;/f9&lt;/span&gt; on the root partition. Open a terminal and as root type the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mkdir /f9&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To mount the NFS directory:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mount -t nfs ip.address.of.installation.server:/product/fedora9 /f9&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;Next, the yum repository configuration files need to be modified. These files tell the system where to look for additional software and updates. The particular files are called &lt;span style="font-style: italic;"&gt;"fedora.repo"&lt;/span&gt; and "&lt;span style="font-style: italic;"&gt;fedora-updates.repo"&lt;/span&gt; . They are located in &lt;span style="font-style: italic;"&gt;/etc/yum.repos.d &lt;/span&gt;directory on Fedora 9. In this example, these files need to be modified to read from the local installation server. After backing up these files, begin by opening a terminal and as root type:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;vi /etc/yum.repos.d&lt;/span&gt;/&lt;span style="font-style: italic;"&gt;fedora.repo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;gedit /etc/yum.repos.d/fedora.repo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The 5th line down from the top is the line: &lt;span style="font-style: italic;"&gt;mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&amp;amp;arch=$basearch&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Comment this line out by adding a pound or # sign in front of "mirrorlist. It should look like:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&amp;amp;arch=$basearch&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Directly below this line, add the local software repository: &lt;span style="font-style: italic;"&gt;baseurl=file:///f9&lt;/span&gt; and save the file.&lt;br /&gt;NOTE: Remember the "&lt;span style="font-style: italic;"&gt;/f9&lt;/span&gt;" directory is where the remote NFS installation directory is mounted.&lt;br /&gt;&lt;br /&gt;Finally, the the &lt;span style="font-style: italic;"&gt;fedora-updates.repo&lt;/span&gt; file needs to be modified to receive the updates to the software.&lt;br /&gt;Begin by opening a terminal and as root type:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;vi /etc/yum.repos.d&lt;/span&gt;/&lt;span style="font-style: italic;"&gt;fedora-updates.repo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;gedit /etc/yum.repos.d/fedora-updates.repo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The 5th line down from the top is the line: &lt;span style="font-style: italic;"&gt;mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&amp;amp;arch=$basearch&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Again, comment this line out by adding a pound or # sign in front of "mirrorlist. It should look like:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&amp;amp;arch=$basearch&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Directly below this line, add the local software repository: &lt;span style="font-style: italic;"&gt;baseurl=file:///f9/Updates/i386&lt;/span&gt; and save the file.&lt;br /&gt;&lt;br /&gt;Now, the Fedora 9 installation that has been performed is able to receive additional software and updates from the Network Installation Server.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;CONCLUSION&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;With the use of a local network based Linux installation server, organizations can save both time and bandwidth. Further more, adding an update repository on a local installation server could ensure package availability as well as an increase in productivity&lt;br /&gt;In this document, a Network Installation Server had been created using SLES 10. In addition, HTTP, FTP and NFS methods of installation have been configured and tested and repositories have been added.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;ADDITIONAL INFORMATION&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;a href="http://www.novell.com/documentation/sles10/sles_admin/index.html?page=/documentation/sles10/sles_admin/data/sec_deployment_remoteinst_instserver.html#sec_deployment_remoteinst_instserver%3EInstallation%20Server%20Setup%3C/a%3E%3Cbr%3E%3Cspan%20style="&gt;Installation Server Setup&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.novell.com/coolsolutions/feature/15986.html"&gt;A Tour of NFS&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We welcome any and all helpful ideas, questions, comments and suggestions.&lt;br /&gt;&lt;br /&gt;--GeS&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6334265173812873959-4706680755616962783?l=blog.doingitwithlinux.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/se4uEZKMRecRcaaXQRP8YduVyfE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/se4uEZKMRecRcaaXQRP8YduVyfE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/se4uEZKMRecRcaaXQRP8YduVyfE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/se4uEZKMRecRcaaXQRP8YduVyfE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/doingitwithlinux/mWeH/~4/CeU2HWYxeRQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.doingitwithlinux.com/feeds/4706680755616962783/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6334265173812873959&amp;postID=4706680755616962783&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/4706680755616962783?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/4706680755616962783?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/doingitwithlinux/mWeH/~3/CeU2HWYxeRQ/sles-10-nfs-http-and-ftp-installation.html" title="SLES 10 NFS, HTTP and FTP Installation Server" /><author><name>GeS</name><uri>http://www.blogger.com/profile/03012955324521748550</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_frdLBTZXwBQ/SLuQGsg8KvI/AAAAAAAAACE/9nDFunrB_IU/S220/sharp-zaurus-5500.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.doingitwithlinux.com/2008/07/sles-10-nfs-http-and-ftp-installation.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0MGRX04fSp7ImA9WxdWGE0.&quot;"><id>tag:blogger.com,1999:blog-6334265173812873959.post-6747674490741582493</id><published>2008-07-11T11:43:00.037-05:00</published><updated>2008-07-11T15:50:24.335-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-11T15:50:24.335-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips" /><category scheme="http://www.blogger.com/atom/ns#" term="Hostname" /><title>SLES/SuSE Host Name Change</title><content type="html">&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;&lt;p style="margin-bottom: 0.2in;"&gt;Changing the host name on either an openSUSE, on a SLES Server or any distribution of Linux can be accomplished by the Command Line Interface (CLI). In addition to the command line, the GUI method for openSUSE and SLES will be discussed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;NOTE&lt;/b&gt;: This document is for computers that are &lt;u&gt;not&lt;/u&gt; part of an existing Linux domain.&lt;/p&gt; &lt;p style="margin-bottom: 0.2in;" align="center"&gt;&lt;b&gt;INTRODUCTION&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0.2in;" align="left"&gt;The info pages or the man pages, in the Linux Programmer's Manual, for '&lt;i&gt;hostname&lt;/i&gt;' describe the definitions as well as the commands and their switches or options. The definitions of these commands are as follows:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;hostname - will show or  set the computer's host name&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;domainname - shows or  sets the computer's NIS/YP domain name&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;dnsdomainname - shows  the computer's DNS domain name&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p align="left"&gt;nodename - shows or sets the computer's DECnet  node name&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;b&gt;NOTE&lt;/b&gt;: The definition for the acronym "YP" - &lt;i&gt;Yellow Pages(TM), a registered trademark in the UK of British Telecom plc. &lt;/i&gt;&lt;br /&gt;&lt;b&gt;Source&lt;/b&gt;: &lt;a href="http://www.linux-nis.org/nis-howto/HOWTO/glossary.html"&gt;linux-nis.org&lt;/a&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="center"&gt;&lt;b&gt;COMMAND LINE&lt;/b&gt;&lt;/p&gt; &lt;p align="left"&gt;&lt;br /&gt;The usage for the command 'hostname' is:&lt;br /&gt;&lt;i&gt;hostname name&lt;/i&gt;&lt;br /&gt;For example, to set the host name of a computer which already has a host name of computer1, execute the command:&lt;br /&gt;'&lt;i&gt;hostname computer2&lt;/i&gt;' or '&lt;i&gt;hostname -v computer2&lt;/i&gt;'&lt;br /&gt;The '-v' in this example means verbose. If the '-v' option is used, the output will look similar to what is below:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;computer1~# hostname -v computer2&lt;br /&gt;Setting hostname to `computer2'&lt;br /&gt;computer1~#&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Exit out of the terminal and restart the terminal again. The terminal now reads:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;computer2~# &lt;/i&gt;&lt;br /&gt;&lt;br /&gt;However, with the above example, it might not be a global change with in your Linux system.&lt;/p&gt; &lt;p align="center"&gt;&lt;b&gt;/etc/HOSTNAME&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;On an openSUSE system, the '&lt;i&gt;/etc&lt;/i&gt;' directory houses a file name "HOSTNAME". By opening this file with an editor, the current host name of the computer is displayed contrasted by the name that was sent to the '&lt;i&gt;hostname&lt;/i&gt;' command. To change the name of the computer, the dns name and have the HOSTNAME file display this change, issue the command as root:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;computer1~# dnsdomainname&lt;br /&gt;computer1~# site&lt;/i&gt;&lt;br /&gt;&lt;i&gt;computer1~# echo computer2.suse &gt; /etc/HOSTNAME&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Either issue the command '&lt;span style="font-style: italic;"&gt;hostname&lt;/span&gt;' and issue the command '&lt;span style="font-style: italic;"&gt;dnsdomainname&lt;/span&gt;' from a terminal to view the changes, issue the command '&lt;span style="font-style: italic;"&gt;cat /etc/HOSTNAME&lt;/span&gt;' or reboot the computer.&lt;/p&gt;  &lt;p align="center"&gt;&lt;b&gt;CHANGING THE HOST NAME THROUGH YAST&lt;/b&gt;&lt;/p&gt; &lt;p align="left"&gt;This method is specific to SUSE Linux. Open the YAST control center.&lt;br /&gt;Navigate to Network Services &gt; DNS and Hostname.&lt;br /&gt;The Hostname and Name Server Configuration window appears. Under the Hostname field, change the host name to a desired name and click the finish button.&lt;br /&gt;Reboot the computer.&lt;/p&gt; &lt;p align="center"&gt;&lt;b&gt;LDAP HOSTNAME AND DOMAIN NAME CHANGE&lt;/b&gt;&lt;/p&gt; &lt;p align="left"&gt;Generally, it is not recommended that such a process be executed on a live directory server. If a decision is made to change the host name and/or the domain name of a Linux LDAP machine, it might be easier to completely rebuild the directory service from the start.&lt;/p&gt; &lt;p align="center"&gt;&lt;b&gt;CONCLUSION&lt;/b&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;First, the 'hostname' and related commands have been defined. Next, the host name and domain name name have been changed by issuing the echo command. Finally, an GUI method using YAST has been discussed.&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;br /&gt;We welcome any and all helpful ideas, questions, comments and suggestions.&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;--GeS&lt;br /&gt;&lt;/p&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6334265173812873959-6747674490741582493?l=blog.doingitwithlinux.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/B-tfOXs2ALXEHQLAlYPfNhNtA9s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/B-tfOXs2ALXEHQLAlYPfNhNtA9s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/B-tfOXs2ALXEHQLAlYPfNhNtA9s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/B-tfOXs2ALXEHQLAlYPfNhNtA9s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/doingitwithlinux/mWeH/~4/4qUnuo_4j1k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.doingitwithlinux.com/feeds/6747674490741582493/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6334265173812873959&amp;postID=6747674490741582493&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/6747674490741582493?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/6747674490741582493?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/doingitwithlinux/mWeH/~3/4qUnuo_4j1k/slessuse-host-name-change.html" title="SLES/SuSE Host Name Change" /><author><name>GeS</name><uri>http://www.blogger.com/profile/03012955324521748550</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_frdLBTZXwBQ/SLuQGsg8KvI/AAAAAAAAACE/9nDFunrB_IU/S220/sharp-zaurus-5500.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.doingitwithlinux.com/2008/07/slessuse-host-name-change.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUNQXgyeSp7ImA9WxVWF08.&quot;"><id>tag:blogger.com,1999:blog-6334265173812873959.post-7752448065319890004</id><published>2008-06-22T15:29:00.072-05:00</published><updated>2009-02-27T01:38:10.691-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-27T01:38:10.691-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Network" /><category scheme="http://www.blogger.com/atom/ns#" term="Locking-Out-Root" /><category scheme="http://www.blogger.com/atom/ns#" term="Server-Security" /><title>SLES 9 Basic Security Configuration - Part I</title><content type="html">&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;INTRODUCTION&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;This segment will explain some basic techniques and configuration to secure the &lt;a href="http://blog.doingitwithlinux.com/2008/04/sles-9-ldap-nfs-and-samba.html"&gt;LDAP Server&lt;/a&gt; that was created earlier. Security is an ongoing process. It does not stop nor is there a "one setting" solution. The goal to securing our LDAP server is to provide both tight security measures as well as to provide network functionality.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;CREATING THE SUDO ACCOUNT&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;We must create an account to serve as root and to have the privileges to perform the administrative functions. When we created the LDAP server, we also created an '&lt;span style="font-style: italic;"&gt;admin account'&lt;/span&gt;. This user account will be configured to be the substitute root or SUDO.&lt;br /&gt;In the &lt;span style="font-style: italic;"&gt;/etc&lt;/span&gt; directory, open the &lt;span style="font-style: italic;"&gt;sudoers &lt;/span&gt;configuration file using the vi editor. For example, issue the command from a terminal as root: &lt;span style="font-style: italic;"&gt;visudo&lt;/span&gt; . In the example below, remove the pound sign from the &lt;span style="font-weight: bold;"&gt;second&lt;/span&gt; 'wheel' entry and save the file. The vi editor must be used in order complete the process.&lt;br /&gt;&lt;br /&gt;# Uncomment to allow people in group wheel to run all commands&lt;br /&gt;# %wheel        ALL=(ALL)       ALL&lt;br /&gt;&lt;br /&gt;# Same thing without a password&lt;br /&gt;%wheel ALL=(ALL)       NOPASSWD: ALL&lt;br /&gt;&lt;br /&gt;To add the user &lt;span style="font-style: italic;"&gt;admin&lt;/span&gt; to the wheel group, which is the group for root privileges, issue the command as from the terminal as root: &lt;span style="font-style: italic;"&gt;usermod -G wheel admin . &lt;/span&gt;To verify the the user admin has been added to the&lt;span style="font-style: italic;"&gt; wheel &lt;/span&gt;group, issue the command in a terminal from the shell as root: &lt;span style="font-style: italic;"&gt;groups admin&lt;/span&gt; . At that point, the command shows all the groups the user admin belongs to.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;LOCKING OUT ROOT&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;NOTE&lt;/span&gt;&lt;/span&gt;: Before editing any configuration file, it is good practice to back the particular file that is to be edited.&lt;br /&gt;The first task is to disable 'root' from logging in the machine through the GDM or KDM. For purposes of this document, the GDM configuration is discussed. The GDM configuration is located in '&lt;span style="font-style: italic;"&gt;/etc/opt/gnome/gdm&lt;/span&gt;' and is titled as &lt;span style="font-style: italic;"&gt;gdm.conf&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;.&lt;/span&gt;&lt;/span&gt; About a third of the way down shows the entry for root as &lt;span style="font-style: italic;"&gt;'AllowRoot=true&lt;/span&gt;' change the &lt;span style="font-style: italic;"&gt;true&lt;/span&gt; statement to &lt;span style="font-style: italic;"&gt;false&lt;/span&gt; and save the file. I used  vi to edit and save the file. Test the configuration by rebooting the machine.&lt;br /&gt;&lt;br /&gt;The next task is to lock out all console access that root can use. This file is in the &lt;span style="font-style: italic;"&gt;/etc&lt;/span&gt; directory and is named &lt;span style="font-style: italic;"&gt;securetty&lt;/span&gt;. issue the command: &lt;span style="font-style: italic;"&gt;cat securetty&lt;/span&gt; to see the console and various terminal entries that root is able to use. Backup the file and then issue the command: &lt;span style="font-style: italic;"&gt;echo &gt; /etc/securetty&lt;/span&gt; . This will erase or blank out the contents of the &lt;span style="font-style: italic;"&gt;securetty&lt;/span&gt; file to prevent root from logging in the machine using a terminal or console.&lt;br /&gt;&lt;br /&gt;Finally, the sshd_config file needs to be edited to provide a more strict ssh environment. In the &lt;span style="font-style: italic;"&gt;/etc/ssh&lt;/span&gt; directory, open the sshd_config using an editor of choice. For purposes of this document, the default port of 22 will be kept. However, it can easily be changed to a non-standard port for better security. The default protocol version for ssh is version 2 and version 1. In the following description of the &lt;span style="font-style: italic;"&gt;sshd_config&lt;/span&gt; file example, edit the protocol to read 2 only as below.&lt;br /&gt;&lt;br /&gt;#Port 22&lt;br /&gt;Protocol 2&lt;br /&gt;#AddressFamily any&lt;br /&gt;#ListenAddress 0.0.0.0&lt;br /&gt;#ListenAddress ::&lt;br /&gt;&lt;br /&gt;In the next example of editing the &lt;span style="font-style: italic;"&gt;sshd_config&lt;/span&gt; file:&lt;br /&gt;&lt;br /&gt;# Authentication:&lt;br /&gt;&lt;br /&gt;LoginGraceTime 1m&lt;br /&gt;PermitRootLogin no&lt;br /&gt;&lt;br /&gt;&lt;file truncated=""&gt;Remove the pound signs from the entries as noted above and edit the default ' &lt;/file&gt;'&lt;span style="font-style: italic;"&gt;LoginGraceTime' &lt;/span&gt;&lt;file truncated=""&gt;from 2m to 1m. Edit the default &lt;span style="font-style: italic;"&gt;PermitRootLogin&lt;/span&gt;' from yes to no. Save the file and either restart the sshd service by issuing the command as root, &lt;span style="font-style: italic;"&gt;service sshd restart&lt;/span&gt; or reboot the machine.&lt;br /&gt;&lt;br /&gt;&lt;/file&gt;&lt;div style="text-align: center;"&gt;&lt;file truncated=""&gt;&lt;span style="font-weight: bold;"&gt;ONLY ALLOW ROOT TO ACCESS CRON&lt;/span&gt;&lt;br /&gt;&lt;/file&gt;&lt;div style="text-align: left;"&gt;&lt;file truncated=""&gt;&lt;br /&gt;The cron deamon is used to schedule processes. The &lt;span style="font-style: italic;"&gt;crontab&lt;/span&gt; command is used to create personal crontab entries for users or the root account. To enhance the security of the cron scheduler, establish the &lt;span style="font-style: italic;"&gt;cron.deny&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;cron.allow&lt;/span&gt; files to control the use of the crontab. The following commands will establish root as the only user with permissions to add cron jobs. In a terminal as either SUDO or root type:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;cd /etc&lt;br /&gt;/bin/rm -f cron.deny at.deny&lt;br /&gt;echo root &gt; cron.allow&lt;br /&gt;echo root &gt; at.allow&lt;br /&gt;/bin/chown root:root cron.allow at.allow&lt;br /&gt;/bin/chmod 400 cron.allow at.allow&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/file&gt;&lt;div style="text-align: center;"&gt;&lt;file truncated=""&gt;&lt;span style="font-weight: bold;"&gt;SECURITY ON KEY FILES&lt;/span&gt;&lt;br /&gt;&lt;/file&gt;&lt;div style="text-align: left;"&gt;&lt;file truncated=""&gt;Certain key files in the /etc directory should not be world readable. Users should not be able to either read these filesnor have access to them. Set ownership and permissions for the /etc/fstab, /etc/passwd, /etc/group and /etc/shadow&lt;/file&gt; files. Issue the following commands in a terminal:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/bin/chown root:root /etc/fstab&lt;br /&gt;/bin/chown 644 /etc/fstab&lt;br /&gt;/bin/chown root:root /etc/passwd /etc/shadow /etc/group&lt;br /&gt;/bin/chmod 644 /etc/passwd /etc/group&lt;br /&gt;/bin/chmod 400 /etc/shadow&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;SUMMARY&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;In this document, a SUDO account has been established to perform administrative functions of the server. The GDM has been configured to deny root login. All console and terminal access has been removed from root access. The service ssh has been configured to allow only version 2 as well as denying root from directly logging in through ssh. The cron scheduler has been configured to allow only root to access to control the usage of cron tables. Finally, some key file ownership and permissions in the /etc directory have been established.&lt;br /&gt;&lt;br /&gt;We welcome any and all helpful ideas, questions, comments and suggestions.&lt;br /&gt;&lt;br /&gt;--GeS&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;file truncated=""&gt;&lt;/file&gt;&lt;/div&gt;&lt;file truncated=""&gt;&lt;/file&gt;&lt;/div&gt;&lt;file truncated=""&gt;&lt;/file&gt;&lt;/div&gt;&lt;file truncated=""&gt;&lt;/file&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6334265173812873959-7752448065319890004?l=blog.doingitwithlinux.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/LFOkOAv3xmq8XwFl4jZM_g7H1XE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LFOkOAv3xmq8XwFl4jZM_g7H1XE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/LFOkOAv3xmq8XwFl4jZM_g7H1XE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LFOkOAv3xmq8XwFl4jZM_g7H1XE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/doingitwithlinux/mWeH/~4/J2wzsdBK3dY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.doingitwithlinux.com/feeds/7752448065319890004/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6334265173812873959&amp;postID=7752448065319890004&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/7752448065319890004?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/7752448065319890004?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/doingitwithlinux/mWeH/~3/J2wzsdBK3dY/sles-9-basic-security-configuration.html" title="SLES 9 Basic Security Configuration - Part I" /><author><name>GeS</name><uri>http://www.blogger.com/profile/03012955324521748550</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_frdLBTZXwBQ/SLuQGsg8KvI/AAAAAAAAACE/9nDFunrB_IU/S220/sharp-zaurus-5500.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.doingitwithlinux.com/2008/06/sles-9-basic-security-configuration.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQCRXw7cCp7ImA9WxRWGUo.&quot;"><id>tag:blogger.com,1999:blog-6334265173812873959.post-3844681459657612116</id><published>2008-04-03T10:23:00.135-05:00</published><updated>2008-11-06T06:26:04.208-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-06T06:26:04.208-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Network" /><category scheme="http://www.blogger.com/atom/ns#" term="SLES-9-LDAP-NFS-Samba" /><title>SLES 9 - LDAP, NFS and Samba</title><content type="html">&lt;div style="text-align: left;"&gt;The following is a basic LDAP setup using SuSE Linux Enterprise Server 9.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;This is the installation of the Lightweight Directory Access Protocol or (LDAP), Network File System or (NFS) and Samba. In short, we will create a Linux domain structure for Linux and Windows clients.&lt;br /&gt;Begin by obtaining SuSE Linux Enterprise Server 9 and the service packs from &lt;a href="http://download.novell.com/Download?buildid=1HYSkGYIYow%7E"&gt;SLES 9&lt;/a&gt;. The LDAP documentation  is located at the following website for you convenience: &lt;a href="http://www.novell.com/coolsolutions/feature/15384.html"&gt;LDAP Setup&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This post assumes that you might have some experience with either SuSE Linux or any other Linux distribution. This outline is specific to SLES 9.&lt;br /&gt;&lt;br /&gt;I used a 40 GB hard drive and 512MB RAM. I formatted the swap partition with 1.0GB and the root or '/' took up the rest of the space on the hard drive. I also chose to format the partition as ext3.&lt;br /&gt;&lt;br /&gt;Next, I selected all the software, resolve the dependency conflicts and begin the installation. After the software installation completes and the machine reboots itself, type in the root password and move to the network section of the remaining configuration processes.&lt;br /&gt;&lt;br /&gt;Set the IP address of the NIC card to static a static IP. Keep the address in the same IP addressing scheme. Next, set the host name and the site DNS.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For the host name, I chose &lt;span style="font-weight: bold;"&gt;ldap&lt;/span&gt;. Choose a domain name, for example, &lt;span style="font-style: italic;"&gt;example.com&lt;/span&gt; or whatever you like.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The next configuration step is the Certificate Authority. Accept the default CA and click next. At this point, the actual configuration of the ldap server begins.&lt;br /&gt;&lt;br /&gt;In the following modules, the following will be configured:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;LDAP Server:&lt;/li&gt;&lt;li&gt;LDAP Client&lt;/li&gt;&lt;li&gt;User Settings&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;LDAP Server&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;The default source of user authentication in the next module is LDAP. This is how users will be authenticated. Accept the default selection of (LDAP). The next module is the LDAP client configuration.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;LDAP Client&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;In this module, users will be authenticated using OpenLDAP. The default setting in this module are as follows:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The &lt;span style="font-style: italic;"&gt;use LDAP&lt;/span&gt; radio button is selcted&lt;/li&gt;&lt;li&gt;The &lt;span style="font-style: italic;"&gt;LDAP TLS/SSL&lt;/span&gt; check box is checked&lt;/li&gt;&lt;li&gt;The &lt;span style="font-style: italic;"&gt;Start Automounter&lt;/span&gt; check box is unchecked&lt;/li&gt;&lt;/ul&gt;Accept the default settings in this module. Select the &lt;span style="font-style: italic;"&gt;Advanced Configuration&lt;/span&gt; button.&lt;br /&gt;&lt;div style="text-align: left;"&gt;In the &lt;span style="font-style: italic;"&gt;Advanced Configuration&lt;/span&gt; section of the LDAP Client Module, under the &lt;span style="font-style: italic;"&gt;User and Group&lt;/span&gt; sub-heading, the check boxes that include &lt;span style="font-style: italic;"&gt;File Server (home directories are stored here)&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;Enable LDAP Users to Log In&lt;/span&gt; are checked by default. Keep those settings as they are. Under the &lt;span style="font-style: italic;"&gt;Access to LDAP Server&lt;/span&gt;&lt;span&gt;, the &lt;span style="font-style: italic;"&gt;Base DN&lt;/span&gt; and &lt;/span&gt;the &lt;span style="font-style: italic;"&gt;Administrator DN&lt;/span&gt; should be automatically set. For example, in the &lt;span style="font-style: italic;"&gt;Base DN&lt;/span&gt; it should read &lt;span style="font-style: italic;"&gt;ou=ldapconfig,dc=your-domain-name, dc=top-level-domain (.com, .net, ....) &lt;/span&gt;and in the &lt;span style="font-style: italic;"&gt;Administrator DN&lt;/span&gt; it should read &lt;span style="font-style: italic;"&gt;cn=Administrator,dc=your-domain-name,dc=top-level domain (.com, .net, ...). &lt;/span&gt;Deselect the check box that is labeled&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-style: italic;"&gt;Create Default Configuration Objects&lt;/span&gt; and click the &lt;span style="font-style: italic;"&gt;Configure User Management Settings&lt;/span&gt; button.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;User Management Settings&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;Group Configuration:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: left;"&gt;In the &lt;span style="font-style: italic;"&gt;User Management&lt;/span&gt; panel, select the &lt;span style="font-style: italic;"&gt;new&lt;/span&gt; button to begin configuring management settings. Upon selecting the &lt;span style="font-style: italic;"&gt;new&lt;/span&gt; button, start by selecting the &lt;span style="font-style: italic;"&gt;*groupconfiguration&lt;/span&gt; radio button. Type in the space provided &lt;span style="font-style: italic;"&gt;groupconfiguration&lt;/span&gt; and enter. Accept the default settings for the group configuration.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;User Configuration:&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Select the &lt;span style="font-style: italic;"&gt;new&lt;/span&gt; button again to configure user management settings. Upon selecting the  button, select the &lt;span style="font-style: italic;"&gt;new*userconfiguration&lt;/span&gt; radio button. Type in the space provided &lt;span style="font-style: italic;"&gt;userconfiguration&lt;/span&gt; and enter. Edit the &lt;span style="font-style: italic;"&gt;suseminuniqueid&lt;/span&gt; and the &lt;span style="font-style: italic;"&gt;susemaxuniqueid&lt;/span&gt; fields &lt;span style="font-weight: bold;"&gt;from&lt;/span&gt; 1000 &lt;span style="font-weight: bold;"&gt;to&lt;/span&gt; 10000. From there, select the &lt;span style="font-style: italic;"&gt;configure template&lt;/span&gt; button. Under the &lt;span style="font-style: italic;"&gt;Default Values for New Objects&lt;/span&gt; heading, edit the &lt;span style="font-style: italic;"&gt;home directory&lt;/span&gt; value to read &lt;span style="font-style: italic;"&gt;/users/%uid&lt;/span&gt;. At this point, the &lt;span style="font-style: italic;"&gt;User Configuration&lt;/span&gt; portion of the setup is complete. Click through to finish the installation process.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;NOTE&lt;/span&gt;:&lt;/span&gt; Choose a LDAP user such as &lt;span style="font-style: italic;"&gt;Admin &lt;/span&gt;to administer the&lt;span style="font-style: italic;"&gt; &lt;/span&gt;LDAP server. Log in as that user to configure the rest of the server.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;NFS Server Configuration&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;NFS Server&lt;/span&gt;:&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Begin the NFS Server configuration by going to Yast &gt; Network Services &gt; NFS Server. Choose the radio button &lt;span style="font-style: italic;"&gt;start the NFS server&lt;/span&gt; and click the next button. In the configuration window, choose the &lt;span style="font-style: italic;"&gt;add directory&lt;/span&gt; button to export a directory to the other Linux clients. At the beginning of the LDAP setup procedure, a directory called "users" had been created to be the home directory for all LDAP users. This is the directory that needs to be exported. After this particular directory has been added, a new window will automatically appear&lt;br /&gt;that requests which host or hosts can have access to that exported directory. The configuration will read &lt;span style="font-style: italic;"&gt;* ro,root_squash,sync. &lt;/span&gt;Change the&lt;span style="font-style: italic;"&gt; read only (ro) &lt;/span&gt;portion to&lt;span style="font-style: italic;"&gt; read write (rw)&lt;/span&gt;.  Click the finish  button.&lt;br /&gt;In addition to this change, an entry must be provided in the &lt;span style="font-style: italic;"&gt;/etc/fstab&lt;/span&gt; that reads as follows:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;users     /users     rw,root_squash,sync&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Samba Server Configuration&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;Samba Server&lt;/span&gt;:&lt;br /&gt;Begin the Samba Server Configuration module by going to Yast &gt; Network Services &gt; Samba Server.&lt;br /&gt;Under the &lt;span style="font-weight: bold;"&gt;Start Up&lt;/span&gt; tab, choose to &lt;span style="font-style: italic;"&gt;enable the services when booting&lt;/span&gt; radio button.&lt;br /&gt;Under the &lt;span style="font-weight: bold;"&gt;Shares&lt;/span&gt; tab, edit the entry that is labeled "Enable users". In the next window, edit the users path, which by default is /home, change the path to read &lt;span style="font-style: italic;"&gt;/users&lt;/span&gt;. Click the OK button.&lt;br /&gt;Under the &lt;span style="font-weight: bold;"&gt;Identity&lt;/span&gt; tab, change the default workgroup or domain name to the name of the domain that has been created. For example, &lt;span style="font-style: italic;"&gt;EXAMPLE&lt;/span&gt;. Do not include the (.com) or top level domain. In the NetBIOS Host Name section, enter the name of the computer or host. For example, ldap, as mentioned previously. Select &lt;span style="font-style: italic;"&gt;User Authentication Sources&lt;/span&gt; in the Advanced Settings drop down button.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;User Authentication Sources&lt;/span&gt;:&lt;br /&gt;Select the &lt;span style="font-style: italic;"&gt;Add&lt;/span&gt; button &gt; select the LDAP radio buton &gt; the select &lt;span style="font-style: italic;"&gt;Add&lt;/span&gt; to add LDAP to the list. Move the LDAP entry to the top of the list. The reason is that users will primarily log on as a LDAP user. After the entry is listed, select the OK button. Select &lt;span style="font-style: italic;"&gt;LDAP Settings&lt;/span&gt; in the Advanced Settings drop down button. Set the Administration Password which is usually the root password. Click through to finish the Samba Server set up.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Creating Users and Groups&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;Groups&lt;/span&gt;:&lt;br /&gt;Add users and groups by going to Yast &gt; Security and Users &gt; Edit and Create Users. First, the LDAP password will be required to add, edit and/or remove groups and users. Upon entering the LDAP password, select the &lt;span style="font-style: italic;"&gt;groups&lt;/span&gt; radio button located at the top of the window. Near the bottom is the filter drop down button. Select &lt;span style="font-style: italic;"&gt;LDAP Groups &lt;/span&gt;and begin adding some groups. I chose to leave the password field for the group I had just created - blank.&lt;br /&gt;Click &lt;span style="font-style: italic;"&gt;Next&lt;/span&gt; and add that group to &lt;span style="font-style: italic;"&gt;Manage Samba Group Parameters&lt;/span&gt;. Click next until returned to the &lt;span style="font-style: italic;"&gt;User and Group Administration&lt;/span&gt; window. Repeat the same procedure for each group added.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Users&lt;/span&gt;:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;Filter the users by LDAP and create the user. After the name and password have been created, select the &lt;span style="font-style: italic;"&gt;Details&lt;/span&gt; button to add that user to some groups. Notice the groups that have been recently created. Add the newly created user to some of the LDAP groups and click the &lt;span style="font-style: italic;"&gt;Next&lt;/span&gt; button.&lt;br /&gt;In the next window, &lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;Additional User Settings&lt;/span&gt;&lt;/span&gt;, highlight the &lt;span style="font-style: italic;"&gt;Edit Remaining Attributes of LDAP User&lt;/span&gt; and click the &lt;span style="font-style: italic;"&gt;Launch&lt;/span&gt; button. After editing some fields, click &lt;span style="font-style: italic;"&gt;Next&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;which will take you back to the previous window.&lt;br /&gt;Highlight the &lt;span style="font-style: italic;"&gt;Edit Samba Account Parameters&lt;/span&gt;, click the &lt;span style="font-style: italic;"&gt;Add or Remove Plugin &lt;/span&gt;button. When it is added, a check mark will appear next to the setting. Click the &lt;span style="font-style: italic;"&gt;Launch&lt;/span&gt; button for additional configuration fields.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Samba Attributes&lt;/span&gt;: Edit the home drive field by deselecting the &lt;span style="font-style: italic;"&gt;Use Default Values&lt;/span&gt; check box. Edit the home drive field by selecting a drive letter  that is not in use by the Windows Operating System, such as: U: or Z: or whatever drive letter that you choose. Edit the home path field. The naming convention is \\netbios-name\user . As mentioned earlier, the name of the LDAP server is ldap. The home path in the Samba Attributes would be \\ldap\user (the user name of the user account).&lt;br /&gt;Click &lt;span style="font-style: italic;"&gt;next &lt;/span&gt;and until finished.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Server Summary&lt;/span&gt;: So far, the LDAP server has be installed and configured, a NFS server has been configured to accept clients and a Samba server has been configured. LDAP groups and users have been created and configured with Samba.&lt;br /&gt;Next, the configuration of the Linux and Windows clients.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Linux Client&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;In Suse 10.2, go to the Yast control panel. Yast &gt; Network Services &gt; LDAP Client. In the LDAP Client Configuration window, Configure the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;User Authentication: select the &lt;span style="font-style: italic;"&gt;use LDAP&lt;/span&gt; radio button.&lt;/li&gt;&lt;li&gt;Address of LDAP Server: Type in the IP address of the physical server.&lt;/li&gt;&lt;li&gt;LDAP Base DN: dc=example,dc=com&lt;/li&gt;&lt;/ul&gt;Ensure the &lt;span style="font-style: italic;"&gt;LDAP TLS/SSL&lt;/span&gt; and the &lt;span style="font-style: italic;"&gt;Start Automounter &lt;/span&gt;check boxes are checked. Select the &lt;span style="font-style: italic;"&gt;Finish&lt;/span&gt; button to finalize the LDAP client configuration.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;NFS Client&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;Open the NFS Client Configuration module. Yast &gt; Network Services &gt; NFS Client. In the NFS Client Configuration window, configure the following:&lt;br /&gt;Select the &lt;span style="font-style: italic;"&gt;Add&lt;/span&gt; button to add the NFS server. In the server configuration window, add the server's static IP address. In this outline, we decided to use the directory &lt;span style="font-style: italic;"&gt;/users&lt;/span&gt;. In the &lt;span style="font-style: italic;"&gt;remote file system&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;the local mount point&lt;/span&gt;, add &lt;span style="font-style: italic;"&gt;/users. &lt;/span&gt;The options field, is kept as &lt;span style="font-style: italic;"&gt;default&lt;/span&gt;s. After the &lt;span style="font-style: italic;"&gt;ok&lt;/span&gt; button is selected and in the main configuration window, check the box that states &lt;span style="font-style: italic;"&gt;Open Port in Firewall&lt;/span&gt;. Click finish.&lt;br /&gt;&lt;br /&gt;After the configuration is finished, the NFS share ought to be made available. The Admin user credentials that had been created earlier in this outline can be used to log in the NFS share when a dialog prompts for a user name and password.&lt;br /&gt;&lt;br /&gt;Now the Linux client configuration is completed.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Windows Client&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Using Windows XP, right click on the "My Computer" icon or from the start menu or Desktop, right click "My Computer" and select properties. In the System Properties window, select the Computer Name tab. To rename the computer or join a domain, click the change button. Select the "Domain" radio button. Type in the domain name. For example, in ldap.example.com, the domain name is example.com. The domain name, &lt;span style="font-style: italic;"&gt;example&lt;/span&gt; would need to be typed in the domain name field, &lt;span style="font-style: italic;"&gt;not "&lt;span style="font-weight: bold;"&gt;example.com&lt;/span&gt;"&lt;/span&gt; and click OK. A window will appear that will prompt for the user name and password of the authorized user to allow the client to join the name. This will be the &lt;span style="font-style: italic;"&gt;root&lt;/span&gt; user name and root's password. After clicking the OK button, wait a few seconds and an dialog box will appear that welcomes the client to the domain. At that point, the computer needs rebooted. Log in with your Windows client user name and password and select the domain that the client is logging on to.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;ADDENDUM&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;Now, the burning question that is in every heart and soul of the world's citizens:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q&lt;/span&gt;: How can I install an application on the Linux LDAP to save space on my Windows machine?&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A&lt;/span&gt;: Map the network drive. To do this, using Windows XP Professional, right click my computer and select 'Map Network Drive'.    Next, Select the drive by browsing to the specific user directory on the Linux LDAP machine. A dialog will appear that prompts for the Linux LDAP's root's user name and password.&lt;br /&gt;The application that is to be installed on this new mapped drive will need to be pointed to the mapped drive during the application's installation process.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Summary&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;In this outline, a Linux domain using Suse Linux Enterprise Server 9 Service Pack 4 has been configured. Users and groups were established. Client and server connectivity has been accomplished as well as central management for Linux clients.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;(notes on) Central Management&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;Linux central management can be conducted with the use of a program called &lt;span style="font-style: italic;"&gt;&lt;a href="http://extragear.kde.org/apps/kiosktool/"&gt;Kiosk Admin Tool&lt;/a&gt;&lt;/span&gt;.  Log on as admin from the client machine. Start the Kiosk Admin Tool and start configuring the Linux users.&lt;br /&gt;&lt;br /&gt;Unfortunately, central management for Windows clients through a Linux domain is complex and difficult. That was my experience. By default, Windows clients will not be able to perform any administrative functions or use programs that require administrative rights while logged on a Linux domain. I am not aware of how to accomplish such a task.&lt;br /&gt;&lt;br /&gt;We welcome any and all helpful ideas, questions, comments and suggestions.&lt;br /&gt;&lt;br /&gt;--GeS&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6334265173812873959-3844681459657612116?l=blog.doingitwithlinux.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/e4SNfZ-mE1XzVVKVhkzM8lk8lHU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e4SNfZ-mE1XzVVKVhkzM8lk8lHU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/e4SNfZ-mE1XzVVKVhkzM8lk8lHU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e4SNfZ-mE1XzVVKVhkzM8lk8lHU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/doingitwithlinux/mWeH/~4/ivjZuZ6S9So" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.doingitwithlinux.com/feeds/3844681459657612116/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6334265173812873959&amp;postID=3844681459657612116&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/3844681459657612116?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/3844681459657612116?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/doingitwithlinux/mWeH/~3/ivjZuZ6S9So/sles-9-ldap-nfs-and-samba.html" title="SLES 9 - LDAP, NFS and Samba" /><author><name>GeS</name><uri>http://www.blogger.com/profile/03012955324521748550</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_frdLBTZXwBQ/SLuQGsg8KvI/AAAAAAAAACE/9nDFunrB_IU/S220/sharp-zaurus-5500.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.doingitwithlinux.com/2008/04/sles-9-ldap-nfs-and-samba.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0AAR3Y8fSp7ImA9WxZVEkg.&quot;"><id>tag:blogger.com,1999:blog-6334265173812873959.post-8092078374246799164</id><published>2008-03-22T18:34:00.010-05:00</published><updated>2008-03-23T00:55:46.875-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-23T00:55:46.875-05:00</app:edited><title>We Have A New Domain</title><content type="html">Doing IT With Linux is proud to announce that we have obtained a domain name. We are now located at &lt;a href="http://blog.doingitwithlinux.com/"&gt;blog.doingitwithlinux.com&lt;/a&gt; .&lt;br /&gt;What this means for us is that we can expand our operations in a more efficient manner. What this means for you is that you can get more information, more ideas and more know how for your Linux infrastructure and your Linux projects.&lt;br /&gt;We will be redesigning the website as well as re-categorizing the information for easier reference with-in the days to come.&lt;br /&gt;Thanks to everyone that has helped in the progress and the future of Doing IT With Linux.&lt;br /&gt;&lt;br /&gt;----&lt;br /&gt;Doing IT With Linux Team&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6334265173812873959-8092078374246799164?l=blog.doingitwithlinux.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/DNoJZbglRlUZyL3XvInJCtn1_Ko/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DNoJZbglRlUZyL3XvInJCtn1_Ko/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/DNoJZbglRlUZyL3XvInJCtn1_Ko/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DNoJZbglRlUZyL3XvInJCtn1_Ko/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/doingitwithlinux/mWeH/~4/w-kJjxLzIYI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.doingitwithlinux.com/feeds/8092078374246799164/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6334265173812873959&amp;postID=8092078374246799164&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/8092078374246799164?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6334265173812873959/posts/default/8092078374246799164?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/doingitwithlinux/mWeH/~3/w-kJjxLzIYI/we-have-new-domain.html" title="We Have A New Domain" /><author><name>GeS</name><uri>http://www.blogger.com/profile/03012955324521748550</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://4.bp.blogspot.com/_frdLBTZXwBQ/SLuQGsg8KvI/AAAAAAAAACE/9nDFunrB_IU/S220/sharp-zaurus-5500.jpeg" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.doingitwithlinux.com/2008/03/we-have-new-domain.html</feedburner:origLink></entry></feed>

