    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>Linux.com :: Ubuntu Server Questions</title>
        <link>http://www.linux.com/archive/forums/topic/3147</link>
        <description>Everything Linux and Open Source</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>Linux.com Admin</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.linux.com" /> 
        <admin:errorReportsTo rdf:resource="mailto:noreply@linux.com" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>



<div class="xarbb-noteswrapper">
</div>

   <div class="xarbb-noteswrapper">
       <div class="xar-sub rightnote">
           <div>
                    <a href="http://www.linux.com/archive/forums/topic/3122">
Previous Topic</a>
|
                    <a href="http://www.linux.com/archive/forums/topic/3344">
Next Topic</a>
</div>

           <div>
                    <a href="http://www.linux.com/archive/forums/printtopic/3147?theme=print">
Print this topic</a> |
You are not subscribed            </div>
        </div>
        <div style="clear: both;"></div>
    </div>

    <h1>
        <a class="xar-title" href="http://www.linux.com/archive/forums/topic/3147">Ubuntu Server Questions</a>
   </h1>


   <div class="xarbb-topiccontrols">
<form action="http://www.linux.com/archive/forums?func=jump" method="post">
   <label for="xarbb_jump_menu">Forum Jump</label>
    <select name="f" id="xarbb_jump_menu" onchange="this.form.submit();">
        <optgroup label="Options">
            <option value="3" selected="selected">
Please select forum            </option>
            <option value="3">--------------------</option>
        </optgroup>
        <optgroup label="Forums">
                <option value="1">New to Linux</option>
                <option value="2">Hardware</option>
                <option value="3">Linux Distributions</option>
                <option value="4">Applications</option>
                <option value="5">Programming and Development</option>
                <option value="6">Miscellaneous Discussion</option>
                <option value="7">Linux.com Writers Forum</option>
                <option value="8">Jobs</option>
        </optgroup>
    </select>
    <input type="submit" class="button" value="Jump" />
</form>
<div style="clear: both;"></div>
   </div>

   <div class="xarbb-topiccontrols">

<span class="xar-sub">
    <a href="http://www.linux.com/archive/forums">
Forum Index    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/category/4181">
        Forums 
    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/forum/3">
        Linux Distributions   </a>
</span>
<div style="clear: both;"></div>
   </div>

<div class="xarbb-tablewrapper">



   <table>
       <tr>
           <th scope="col">
Author</th>
           <th scope="col">
Message</th>
       </tr>



            <tr>
                <td class="xar-norm author">
                    <div>
                        <a href="http://www.linux.com/archive/roles/411643">mark</a>
                   </div>
                   <div class="xar-sub">
Joined: Oct 13, 2008<br/>Posts: 4                        <br />
                        <a href="http://www.linux.com/archive/forums?by=411643&amp;func=searchtopics">
Other Topics</a>
                   </div>
               </td>

               <td class="xar-norm message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted Oct 13, 2008 at 9:10:42 PM</span>
                       </div>



<div style="float: left;">
                           <strong class="xar-sub">
Subject: Ubuntu Server Questions                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div>
                        Hi,
I'm newly registered to the site although I referenced it several times to transition from Xandros OCE; this site has been quite helpful. I was originally going with Slackware but decided Ubuntu Server would work well for my purposes. I'm like the digital picture archivist for my family so I'm running a home file/print server with ssh enabled. I have SAMBA and SSH working but I haven't set the printer up (CUPS) yet. I think I'm only slightly more than a Linux noob but I decided to go with a command line distro to force myself to learn.

My first question is how can I tell which user accounts are for the system and which are created for people to log in to the system? I understand that there are accounts created for the system to do its job and I only want those accounts plus the accounts I have authorized/created.

My second question is whether there a way that I can see a record of all logins (successful and attempted) to my system? I read that I can use &quot;last&quot; and lastb&quot; but will this show all logins since the system was created? I saw that there was a limitation to this command but I'm not clear. I know the computer would eventually fill up if it logged and kept every entry so I guess I'm looking for something along the lines of the &quot;history&quot; command but for logins.

I'm aware of RTFM and I have tried to read as much as possible but these issues I am uncertain of, regardless of how much reading I do. This is just a personal home server  and I have changed the default SSH port but I'll follow up on any other ideas about securing it if you have any. Thanks.

Mark</div>

                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/3147#top">
Back to top</a>
</td>
               <td class="xar-alt">

                        <a href="http://www.linux.com/archive/roles/411643">
                            <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                        </a>
                        <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=411643">
                            <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                       </a>
                            <a href="http://">
                                <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                           </a>
</td>
           </tr>





           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/400849">
                                proopnarine                           </a>
</strong>

                   <span class="xar-sub">
<br />
<br />
Joined Apr 03, 2008<br/>Posts: 590<br />
Location:San Francisco<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=400849&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-accent message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                Oct 14, 2008 2:41:03 AM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1200636" href="http://www.linux.com/archive/forums/topic/3147#1200636">
                                    Ubuntu Server Questions                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        Most of what you need can be found in the files in /var/log. That should work.<p class="hiddensignature">
<p>Take the red pill</p>
<p><a href="http://www.calacademy.org/blogs">Climate Change Blog</a></p>
<a href="http://proopnarine.wordpress.com">Food Weblog</a></p>
                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/3147#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/400849">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=400849">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://zeus.calacademy.org/roopnarine/peter.html">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>

           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/411643">
                                mark                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined Oct 13, 2008<br/>Posts: 4<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=411643&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-norm message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                Oct 14, 2008 4:59:54 PM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1200667" href="http://www.linux.com/archive/forums/topic/3147#1200667">
                                    Re:  Ubuntu Server Questions                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        Thanks, I'll check it out.                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/3147#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/411643">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=411643">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>

           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/412713">
                                Florian N                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined Oct 30, 2008<br/>Posts: 23<br />
Location:PA<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=412713&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-accent message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                Oct 30, 2008 8:30:03 PM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1201963" href="http://www.linux.com/archive/forums/topic/3147#1201963">
                                    Ubuntu Server Questions                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        A simple way to find which users are for &quot;people&quot; is to look in /home, every user has an account there by default .
Regarding the other question check /var/log/messages and /var/log/secure .

You could install a firewall that has a brute force detector and keeps logs for everything like CSF firewall.<p class="hiddensignature">
<br/>
<b><a href ="http://www.hostechs.com" target="_blank"> A life to learn </a></b> - Personal blog<br/>
</p>
                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/3147#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/412713">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=412713">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://hostechs.com">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>
</table>
</div>

<div class="xarbb-topiccontrols">

<span class="xar-sub">
    <a href="http://www.linux.com/archive/forums">
Forum Index    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/category/4181">
        Forums 
    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/forum/3">
        Linux Distributions   </a>
</span>

</div>



            </channel>
</rss>
