From Wiki-UX.info

Example of File and directories Permitions
Jump to: navigation, search

Example of File and directories Permitions

Abstract

This document present an Example of permitions of files a directories on both server and client How_to_config_SSH_to_log_in_without_typing_password document is required.

The user is test1
The client server is mtlrc137
The host server is hpa40ign

Server files

[hpa40ign]/home/test1 >ll
drwx------   2 test1      users         8192 Jul 15 20:38 .ssh
 
[hpa40ign]/home/test1/.ssh >ll
-rw-------   1 test1      users          604 Jul 15 20:38 authorized_keys
-rw-r--r--   1 test1      users          884 Jul 15 20:17 known_hosts
-rw-------   1 test1      users         1024 Jul 15 20:17 prng_seed
-rw-r--r--   1 test1      users          604 Jul 15 20:30 test1_dsa_pub
 
/etc/passwd
test1::165:20::/home/test1:/sbin/sh

Client files

test1@mtlrc137:test1/.ssh> ll -d
drwx------   2 test1      users         8192 Jul 15 11:47 .
 
test1@mtlrc137:test1/.ssh> ll
-rw-------   1 test1      users          736 Jul 15 11:47 id_dsa
-rw-r--r--   1 test1      users          604 Jul 15 11:47 id_dsa.pub
-rw-------   1 test1      users         1743 Jul 15 11:47 id_rsa
-rw-r--r--   1 test1      users          396 Jul 15 11:47 id_rsa.pub
-rw-r--r--   1 test1      users          884 Jul 14 17:11 known_hosts
 
/etc/passwd
test1::165:20::/home/test1:/sbin/sh
  • Note: See the importance of concordance of the user UID and GUID across the servers
This page was last modified on 15 July 2008, at 20:49. This page has been accessed 948 times.