It appears that new permissions on /etc/issue and /etc/motd are reverting back to the original even if we change them. This is on systems running RHEL 5 and RHEL 6.  Is there any rc script which controls the permissions on /etc files?


Question: ASP.NET Entity Framework Filter results by currrent user
Answer: Thank you so much for your answer.

// GET: /Test/
public ActionResult Index()
{
    var userId = User.Identity.GetUserId();
    var tests = db.Tests.Where(t=&gt;t.TestUser == userId);
    return View(tests.ToList());
}


This works perfectly where Testuser is the column in my model that contains the id of the Asp logged user

Regards