<!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 wrote:<br>
<blockquote cite="mid1170802216.6746.1.camel@localhost.localdomain"
type="cite">
<pre wrap="">On Tue, 2007-02-06 at 23:06 +0800, <a class="moz-txt-link-abbreviated" href="mailto:edwardspl@ita.org.mo">edwardspl@ita.org.mo</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Dear All,
How can we limit a user a/c when telnet to the server :
eg :
[edward@svr1 ~]$ ls -l -a
total 36
drwx------ 3 edward edward 4096 Feb 6 22:51 .
drwxr-xr-x 5 root root 4096 Feb 6 22:50 ..
-rw------- 1 edward edward 14 Feb 6 22:52 .bash_history
-rw-r--r-- 1 edward edward 24 Feb 6 22:50 .bash_logout
-rw-r--r-- 1 edward edward 176 Feb 6 22:50 .bash_profile
-rw-r--r-- 1 edward edward 124 Feb 6 22:50 .bashrc
drwxr-xr-x 3 edward edward 4096 Feb 6 22:50 .kde
-rw-r--r-- 1 edward edward 658 Feb 6 22:50 .zshrc
[edward@svr1 ~]$
Prevent user "edward" from doing the following :
modify / del the exiting files ( default by the system ).
Allow user "edward" create / del / modify other his own files / dirs.
Edward.
--
</pre>
</blockquote>
<pre wrap=""><!---->Have root create the files with root access, then put the world read and
execute privilege on them. Only root can then modify them.
Regards,
Les H
</pre>
</blockquote>
But when user "edward" login to the server by the telnet service, then
he can modify the dot file...<br>
<br>
</body>
</html>