<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=Big5" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Les Mikesell wrote:<br>
<blockquote cite="mid45CABF41.6090704@gmail.com" type="cite"><a class="moz-txt-link-abbreviated" href="mailto:edwardspl@ita.org.mo">edwardspl@ita.org.mo</a>
wrote:
  <br>
  <blockquote type="cite">
    <blockquote type="cite"><br>
I think the real solution is to teach your user that it is important
      <br>
not to let others know his password if he hasn't figured that out
      <br>
himself yet. And if others do need this access they should have their
      <br>
own accounts instead of being able to pretend to be someone else.
      <br>
      <br>
    </blockquote>
  </blockquote>
  <br>
  <blockquote type="cite"><br>
But I think the user account ( profile files ) is also problem, so, I
    <br>
want to know how limit the related files ( including the dot file ) !
    <br>
    <br>
  </blockquote>
  <br>
This was covered in another topic.
  <br>
Using normal unix permissions:
  <br>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/archives/fedora-list/2007-February/msg01197.html">https://www.redhat.com/archives/fedora-list/2007-February/msg01197.html</a>
  <br>
or with the special chattr operation:
  <br>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/archives/fedora-list/2007-February/msg01247.html">https://www.redhat.com/archives/fedora-list/2007-February/msg01247.html</a>
  <br>
  <br>
You'll have to fix them for the existing broken account first, though.
  Either delete the account and re-add it or copy working versions of
the files over from a working account as root.
  <br>
  <br>
</blockquote>
<font size="-1">Hello to you,<br>
<br>
1, The System is FC6.<br>
2, After run "adduser edward" and login with user "edward", then<br>
<br>
[edward@svr1 ~]$ ls -l -a<br>
total 36<br>
drwx------ 3 edward edward 4096 Feb  6 22:51 .<br>
drwxr-xr-x 5 root   root   4096 Feb  6 22:50 ..<br>
-rw------- 1 edward edward   67 Feb  7 12:47 .bash_history<br>
-rw-r--r-- 1 edward edward   24 Feb  6 22:50 .bash_logout<br>
-rw-r--r-- 1 edward edward  176 Feb  7 11:57 .bash_profile<br>
-rw-r--r-- 1 edward edward  124 Feb  6 22:50 .bashrc<br>
drwxr-xr-x 3 edward edward 4096 Feb  6 22:50 .kde<br>
-rw-r--r-- 1 edward edward  658 Feb  6 22:50 .zshrc<br>
[edward@svr1 ~]$<br>
<br>
3, Is it :<br>
</font>chown root /home/edward<br>
chmod g+rwx ( What number of g+rwx, eg : ?77 ) /home/edward
<br>
chmod +t ( What number of +t ) /home/edward
<br>
chown root /home/edward/ All_dot_filenames<br>
<font size="-1"><br>
Edward.</font>
</body>
</html>