limitation of user a/c ( telnet service )
Les
hlhowell at pacbell.net
Tue Feb 6 22:50:16 UTC 2007
On Tue, 2007-02-06 at 23:06 +0800, edwardspl at ita.org.mo wrote:
> Dear All,
>
> How can we limit a user a/c when telnet to the server :
> eg :
>
> [edward at 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 at 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.
> --
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
More information about the users
mailing list