質問編集履歴

11

情報追加

2017/01/22 13:16

投稿

s.k
s.k

スコア423

test CHANGED
File without changes
test CHANGED
@@ -250,4 +250,172 @@
250
250
 
251
251
  ```
252
252
 
253
+
254
+
255
+
256
+
257
+ 【ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l /】
258
+
259
+
260
+
261
+ ローカルcloud9
262
+
263
+ ```ここに言語を入力
264
+
265
+ $ ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l /home
266
+
267
+ deploy@xxx.xx.xxx.xx's password:
268
+
269
+ $ ssh -p ポート番号 deploy@xxx.xx.xxx.xx /
270
+
271
+ bash: /home/deploy/.bashrc: Permission denied
272
+
273
+ total 82
274
+
275
+ dr-xr-xr-x. 2 root root 4096 Jan 21 05:03 bin
276
+
277
+ dr-xr-xr-x. 5 root root 1024 Jan 18 23:13 boot
278
+
279
+ drwxr-xr-x. 82 root root 4096 Jan 22 17:39 etc
280
+
281
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 mnt
282
+
283
+ bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
284
+
285
+ bash: /home/deploy/.bashrc: Permission denied
286
+
287
+ total 82
288
+
289
+ dr-xr-xr-x. 2 root root 4096 Jan 21 05:03 bin
290
+
291
+ dr-xr-xr-x. 5 root root 1024 Jan 18 23:13 boot
292
+
293
+ drwxr-xr-x 17 root root 3340 Jan 19 21:22 dev
294
+
295
+ dr-xr-xr-x. 2 root root 12288 Jan 21 05:03 sbin
296
+
297
+ bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
298
+
299
+ bash: /home/deploy/.bashrc: Permission denied
300
+
301
+ total 82
302
+
303
+ dr-xr-xr-x. 2 root root 4096 Jan 21 05:03 bin
304
+
305
+ dr-xr-xr-x. 5 root root 1024 Jan 18 23:13 boot
306
+
307
+ drwxr-xr-x 17 root root 3340 Jan 19 21:22 dev
308
+
309
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 mnt
310
+
311
+ bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
312
+
313
+ bash: /home/deploy/.bashrc: Permission denied
314
+
315
+ total 82
316
+
317
+ dr-xr-xr-x. 2 root root 4096 Jan 21 05:03 bin
318
+
319
+ dr-xr-xr-x. 5 root root 1024 Jan 18 23:13 boot
320
+
321
+ drwxr-xr-x 17 root root 3340 Jan 19 21:22 dev
322
+
323
+ drwxr-xr-x. 82 root root 4096 Jan 22 17:39 etc
324
+
325
+ drwx------. 5 root root 4096 Jan 22 17:33 home
326
+
327
+ dr-xr-xr-x. 10 root root 4096 Dec 6 19:09 lib
328
+
329
+ dr-xr-xr-x. 9 root root 12288 Jan 20 04:31 lib64
330
+
331
+ drwx------. 2 root root 4096 Dec 6 19:05 lost+found
332
+
333
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 media
334
+
335
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 mnt
336
+
337
+ drwxr-xr-x. 3 root root 4096 Dec 6 19:10 opt
338
+
339
+ dr-xr-xr-x 133 root root 0 Jan 19 21:22 proc
340
+
341
+ dr-xr-x---. 7 root root 4096 Jan 22 20:47 root
342
+
343
+ dr-xr-xr-x. 2 root root 12288 Jan 21 05:03 sbin
344
+
345
+ drwxr-xr-x. 2 root root 4096 Dec 6 19:06 selinux
346
+
347
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 srv
348
+
349
+ drwxr-xr-x 13 root root 0 Jan 19 21:22 sys
350
+
351
+ drwxrwxrwt. 4 root root 4096 Jan 22 19:28 tmp
352
+
353
+ drwxr-xr-x. 13 root root 4096 Dec 6 19:06 usr
354
+
355
+ drwxr-xr-x. 21 root root 4096 Jan 19 11:25 var
356
+
357
+ ```
358
+
359
+
360
+
361
+ サーバteraterm
362
+
363
+
364
+
365
+ ```ここに言語を入力
366
+
367
+ [root@tk2-241-30026 home]# ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l /
368
+
369
+ deploy@xxx.xx.xxx.xx's password:
370
+
371
+ Could not chdir to home directory /home/deploy: Permission denied
372
+
373
+ bash: /home/deploy/.bashrc: Permission denied
374
+
375
+ total 82
376
+
377
+ dr-xr-xr-x. 2 root root 4096 Jan 21 05:03 bin
378
+
379
+ dr-xr-xr-x. 5 root root 1024 Jan 18 23:13 boot
380
+
381
+ drwxr-xr-x 17 root root 3340 Jan 19 21:22 dev
382
+
383
+ drwxr-xr-x. 82 root root 4096 Jan 22 17:39 etc
384
+
385
+ drwx------. 5 root root 4096 Jan 22 17:33 home
386
+
387
+ dr-xr-xr-x. 10 root root 4096 Dec 6 19:09 lib
388
+
389
+ dr-xr-xr-x. 9 root root 12288 Jan 20 04:31 lib64
390
+
391
+ drwx------. 2 root root 4096 Dec 6 19:05 lost+found
392
+
393
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 media
394
+
395
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 mnt
396
+
397
+ drwxr-xr-x. 3 root root 4096 Dec 6 19:10 opt
398
+
399
+ dr-xr-xr-x 134 root root 0 Jan 19 21:22 proc
400
+
401
+ dr-xr-x---. 7 root root 4096 Jan 22 20:47 root
402
+
403
+ dr-xr-xr-x. 2 root root 12288 Jan 21 05:03 sbin
404
+
405
+ drwxr-xr-x. 2 root root 4096 Dec 6 19:06 selinux
406
+
407
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 srv
408
+
409
+ drwxr-xr-x 13 root root 0 Jan 19 21:22 sys
410
+
411
+ drwxrwxrwt. 4 root root 4096 Jan 22 19:28 tmp
412
+
413
+ drwxr-xr-x. 13 root root 4096 Dec 6 19:06 usr
414
+
415
+ drwxr-xr-x. 21 root root 4096 Jan 19 11:25 var
416
+
417
+ ```
418
+
419
+
420
+
253
421
  こんな感じでしょうか?

10

情報追加

2017/01/22 13:16

投稿

s.k
s.k

スコア423

test CHANGED
File without changes
test CHANGED
@@ -120,7 +120,7 @@
120
120
 
121
121
 
122
122
 
123
-
123
+ 【ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l /home】
124
124
 
125
125
 
126
126
 
@@ -164,4 +164,90 @@
164
164
 
165
165
 
166
166
 
167
+
168
+
169
+ 【ssh -p ポート番号 deploy@xxx.xx.xxx.xx /】
170
+
171
+
172
+
173
+ ローカルcloud9
174
+
175
+ ```ここに言語を入力
176
+
177
+ $ ssh -p ポート番号 deploy@xxx.xx.xxx.xx /
178
+
179
+ deploy@xxx.xx.xxx.xx's password:
180
+
181
+ Could not chdir to home directory /home/deploy: Permission denied
182
+
183
+ bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
184
+
185
+ bash: /home/deploy/.bashrc: Permission denied
186
+
187
+ bash: /: is a directory
188
+
189
+ ```
190
+
191
+
192
+
193
+ サーバteraterm
194
+
195
+ ```ここに言語を入力
196
+
197
+ [root@tk2-241-30026 home]# ssh -p ポート番号 deploy@xxx.xx.xxx.xx /
198
+
199
+ deploy@xxx.xx.xxx.xx's password:
200
+
201
+ Could not chdir to home directory /home/deploy: Permission denied
202
+
203
+ bash: /home/deploy/.bashrc: Permission denied
204
+
205
+ bash: /: is a directory
206
+
207
+ ```
208
+
209
+
210
+
211
+
212
+
213
+ 【ssh -p ポート番号 deploy@xxx.xx.xxx.xx id】
214
+
215
+
216
+
217
+ ローカルcloud9
218
+
219
+ ```ここに言語を入力
220
+
221
+ $ ssh -p ポート番号 deploy@xxx.xx.xxx.xx id
222
+
223
+ deploy@xxx.xx.xxx.xx's password:
224
+
225
+ Could not chdir to home directory /home/deploy: Permission denied
226
+
227
+ bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
228
+
229
+ bash: /home/deploy/.bashrc: Permission denied
230
+
231
+ uid=501(deploy) gid=501(deploy) groups=501(deploy),10(wheel)
232
+
233
+ ```
234
+
235
+
236
+
237
+ サーバ(teraterm)
238
+
239
+ ```ここに言語を入力
240
+
241
+ [root@tk2-241-30026 home]# ssh -p ポート番号 deploy@xxx.xx.xxx.xx id
242
+
243
+ deploy@xxx.xx.xxx.xx's password:
244
+
245
+ Could not chdir to home directory /home/deploy: Permission denied
246
+
247
+ bash: /home/deploy/.bashrc: Permission denied
248
+
249
+ uid=501(deploy) gid=501(deploy) groups=501(deploy),10(wheel)
250
+
251
+ ```
252
+
167
253
  こんな感じでしょうか?

9

情報追加

2017/01/22 12:59

投稿

s.k
s.k

スコア423

test CHANGED
File without changes
test CHANGED
@@ -128,7 +128,7 @@
128
128
 
129
129
  ```ここに言語を入力
130
130
 
131
- clou9$ ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l
131
+ $ ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l /home
132
132
 
133
133
  deploy@xxx.xx.xxx.xx's password:
134
134
 
@@ -138,47 +138,7 @@
138
138
 
139
139
  bash: /home/deploy/.bashrc: Permission denied
140
140
 
141
- total 82
142
-
143
- dr-xr-xr-x. 2 root root 4096 Jan 21 05:03 bin
144
-
145
- dr-xr-xr-x. 5 root root 1024 Jan 18 23:13 boot
146
-
147
- drwxr-xr-x 17 root root 3340 Jan 19 21:22 dev
148
-
149
- drwxr-xr-x. 82 root root 4096 Jan 22 17:39 etc
150
-
151
- drwx------. 5 root root 4096 Jan 22 17:33 home
152
-
153
- dr-xr-xr-x. 10 root root 4096 Dec 6 19:09 lib
154
-
155
- dr-xr-xr-x. 9 root root 12288 Jan 20 04:31 lib64
156
-
157
- drwx------. 2 root root 4096 Dec 6 19:05 lost+found
158
-
159
- drwxr-xr-x. 2 root root 4096 Sep 23 2011 media
141
+ ls: cannot open directory /home: Permission denied
160
-
161
- drwxr-xr-x. 2 root root 4096 Sep 23 2011 mnt
162
-
163
- drwxr-xr-x. 3 root root 4096 Dec 6 19:10 opt
164
-
165
- dr-xr-xr-x 133 root root 0 Jan 19 21:22 proc
166
-
167
- dr-xr-x---. 7 root root 4096 Jan 22 20:47 root
168
-
169
- dr-xr-xr-x. 2 root root 12288 Jan 21 05:03 sbin
170
-
171
- drwxr-xr-x. 2 root root 4096 Dec 6 19:06 selinux
172
-
173
- drwxr-xr-x. 2 root root 4096 Sep 23 2011 srv
174
-
175
- drwxr-xr-x 13 root root 0 Jan 19 21:22 sys
176
-
177
- drwxrwxrwt. 4 root root 4096 Jan 22 19:28 tmp
178
-
179
- drwxr-xr-x. 13 root root 4096 Dec 6 19:06 usr
180
-
181
- drwxr-xr-x. 21 root root 4096 Jan 19 11:25 var
182
142
 
183
143
  ```
184
144
 
@@ -190,17 +150,7 @@
190
150
 
191
151
  ```
192
152
 
193
- [root@tk2-241-30026 home]# ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l
153
+ [root@tk2-241-30026 home]# ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l /home
194
-
195
- The authenticity of host '[xxx.xx.xxx.xx]:ポート番号([xxx.xx.xxx.xx]:61203)' can't be established.
196
-
197
- RSA key fingerprint is 8a:c5:57:ee:8e:33:ac:17:29:eb:7b:59:81:aa:22:3e.
198
-
199
- Are you sure you want to continue connecting (yes/no)? y
200
-
201
- Please type 'yes' or 'no': yes
202
-
203
- Warning: Permanently added '[160.16.198.30]:61203' (RSA) to the list of known hosts.
204
154
 
205
155
  deploy@xxx.xx.xxx.xx's password:
206
156
 
@@ -208,47 +158,7 @@
208
158
 
209
159
  bash: /home/deploy/.bashrc: Permission denied
210
160
 
211
- total 82
212
-
213
- dr-xr-xr-x. 2 root root 4096 Jan 21 05:03 bin
214
-
215
- dr-xr-xr-x. 5 root root 1024 Jan 18 23:13 boot
216
-
217
- drwxr-xr-x 17 root root 3340 Jan 19 21:22 dev
218
-
219
- drwxr-xr-x. 82 root root 4096 Jan 22 17:39 etc
220
-
221
- drwx------. 5 root root 4096 Jan 22 17:33 home
222
-
223
- dr-xr-xr-x. 10 root root 4096 Dec 6 19:09 lib
224
-
225
- dr-xr-xr-x. 9 root root 12288 Jan 20 04:31 lib64
226
-
227
- drwx------. 2 root root 4096 Dec 6 19:05 lost+found
228
-
229
- drwxr-xr-x. 2 root root 4096 Sep 23 2011 media
161
+ ls: cannot open directory /home: Permission denied
230
-
231
- drwxr-xr-x. 2 root root 4096 Sep 23 2011 mnt
232
-
233
- drwxr-xr-x. 3 root root 4096 Dec 6 19:10 opt
234
-
235
- dr-xr-xr-x 134 root root 0 Jan 19 21:22 proc
236
-
237
- dr-xr-x---. 7 root root 4096 Jan 22 20:47 root
238
-
239
- dr-xr-xr-x. 2 root root 12288 Jan 21 05:03 sbin
240
-
241
- drwxr-xr-x. 2 root root 4096 Dec 6 19:06 selinux
242
-
243
- drwxr-xr-x. 2 root root 4096 Sep 23 2011 srv
244
-
245
- drwxr-xr-x 13 root root 0 Jan 19 21:22 sys
246
-
247
- drwxrwxrwt. 4 root root 4096 Jan 22 19:28 tmp
248
-
249
- drwxr-xr-x. 13 root root 4096 Dec 6 19:06 usr
250
-
251
- drwxr-xr-x. 21 root root 4096 Jan 19 11:25 var
252
162
 
253
163
  ```
254
164
 

8

情報追加

2017/01/22 12:24

投稿

s.k
s.k

スコア423

test CHANGED
File without changes
test CHANGED
@@ -124,6 +124,8 @@
124
124
 
125
125
 
126
126
 
127
+ ローカル(cloud9)
128
+
127
129
  ```ここに言語を入力
128
130
 
129
131
  clou9$ ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l
@@ -182,6 +184,10 @@
182
184
 
183
185
 
184
186
 
187
+
188
+
189
+ サーバ(Teraterm)
190
+
185
191
  ```
186
192
 
187
193
  [root@tk2-241-30026 home]# ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l

7

情報追加

2017/01/22 12:13

投稿

s.k
s.k

スコア423

test CHANGED
File without changes
test CHANGED
@@ -126,31 +126,123 @@
126
126
 
127
127
  ```ここに言語を入力
128
128
 
129
+ clou9$ ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l
130
+
131
+ deploy@xxx.xx.xxx.xx's password:
132
+
133
+ Could not chdir to home directory /home/deploy: Permission denied
134
+
135
+ bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
136
+
137
+ bash: /home/deploy/.bashrc: Permission denied
138
+
139
+ total 82
140
+
141
+ dr-xr-xr-x. 2 root root 4096 Jan 21 05:03 bin
142
+
143
+ dr-xr-xr-x. 5 root root 1024 Jan 18 23:13 boot
144
+
145
+ drwxr-xr-x 17 root root 3340 Jan 19 21:22 dev
146
+
147
+ drwxr-xr-x. 82 root root 4096 Jan 22 17:39 etc
148
+
149
+ drwx------. 5 root root 4096 Jan 22 17:33 home
150
+
151
+ dr-xr-xr-x. 10 root root 4096 Dec 6 19:09 lib
152
+
153
+ dr-xr-xr-x. 9 root root 12288 Jan 20 04:31 lib64
154
+
155
+ drwx------. 2 root root 4096 Dec 6 19:05 lost+found
156
+
157
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 media
158
+
159
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 mnt
160
+
161
+ drwxr-xr-x. 3 root root 4096 Dec 6 19:10 opt
162
+
163
+ dr-xr-xr-x 133 root root 0 Jan 19 21:22 proc
164
+
165
+ dr-xr-x---. 7 root root 4096 Jan 22 20:47 root
166
+
167
+ dr-xr-xr-x. 2 root root 12288 Jan 21 05:03 sbin
168
+
169
+ drwxr-xr-x. 2 root root 4096 Dec 6 19:06 selinux
170
+
171
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 srv
172
+
173
+ drwxr-xr-x 13 root root 0 Jan 19 21:22 sys
174
+
175
+ drwxrwxrwt. 4 root root 4096 Jan 22 19:28 tmp
176
+
177
+ drwxr-xr-x. 13 root root 4096 Dec 6 19:06 usr
178
+
179
+ drwxr-xr-x. 21 root root 4096 Jan 19 11:25 var
180
+
181
+ ```
182
+
183
+
184
+
185
+ ```
186
+
129
- [root@tk2-241-30026 home]# ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l-l
187
+ [root@tk2-241-30026 home]# ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l
130
-
188
+
131
- The authenticity of host '[xxx.xx.xxx.xx]:ポート番号 ([xxx.xx.xxx.xx]:61203)' can't be established.
189
+ The authenticity of host '[xxx.xx.xxx.xx]:ポート番号([xxx.xx.xxx.xx]:61203)' can't be established.
132
190
 
133
191
  RSA key fingerprint is 8a:c5:57:ee:8e:33:ac:17:29:eb:7b:59:81:aa:22:3e.
134
192
 
135
- ```
193
+ Are you sure you want to continue connecting (yes/no)? y
136
-
137
-
138
-
139
- ```
194
+
140
-
141
- cloud9$ ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l-l
195
+ Please type 'yes' or 'no': yes
196
+
142
-
197
+ Warning: Permanently added '[160.16.198.30]:61203' (RSA) to the list of known hosts.
198
+
143
- deploy@xxx.xx.xxx.xx's password:
199
+ deploy@xxx.xx.xxx.xx's password:
144
200
 
145
201
  Could not chdir to home directory /home/deploy: Permission denied
146
202
 
147
- bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
148
-
149
203
  bash: /home/deploy/.bashrc: Permission denied
150
204
 
205
+ total 82
206
+
151
- ls: invalid option -- '-'
207
+ dr-xr-xr-x. 2 root root 4096 Jan 21 05:03 bin
208
+
152
-
209
+ dr-xr-xr-x. 5 root root 1024 Jan 18 23:13 boot
210
+
211
+ drwxr-xr-x 17 root root 3340 Jan 19 21:22 dev
212
+
213
+ drwxr-xr-x. 82 root root 4096 Jan 22 17:39 etc
214
+
153
- Try `ls --help' for more information.
215
+ drwx------. 5 root root 4096 Jan 22 17:33 home
216
+
217
+ dr-xr-xr-x. 10 root root 4096 Dec 6 19:09 lib
218
+
219
+ dr-xr-xr-x. 9 root root 12288 Jan 20 04:31 lib64
220
+
221
+ drwx------. 2 root root 4096 Dec 6 19:05 lost+found
222
+
223
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 media
224
+
225
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 mnt
226
+
227
+ drwxr-xr-x. 3 root root 4096 Dec 6 19:10 opt
228
+
229
+ dr-xr-xr-x 134 root root 0 Jan 19 21:22 proc
230
+
231
+ dr-xr-x---. 7 root root 4096 Jan 22 20:47 root
232
+
233
+ dr-xr-xr-x. 2 root root 12288 Jan 21 05:03 sbin
234
+
235
+ drwxr-xr-x. 2 root root 4096 Dec 6 19:06 selinux
236
+
237
+ drwxr-xr-x. 2 root root 4096 Sep 23 2011 srv
238
+
239
+ drwxr-xr-x 13 root root 0 Jan 19 21:22 sys
240
+
241
+ drwxrwxrwt. 4 root root 4096 Jan 22 19:28 tmp
242
+
243
+ drwxr-xr-x. 13 root root 4096 Dec 6 19:06 usr
244
+
245
+ drwxr-xr-x. 21 root root 4096 Jan 19 11:25 var
154
246
 
155
247
  ```
156
248
 

6

情報追加

2017/01/22 12:12

投稿

s.k
s.k

スコア423

test CHANGED
File without changes
test CHANGED
@@ -115,3 +115,45 @@
115
115
  drwx------ 3 sagae sagae 4096 Jan 19 15:58 sagae
116
116
 
117
117
  ```
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+ ```ここに言語を入力
128
+
129
+ [root@tk2-241-30026 home]# ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l-l
130
+
131
+ The authenticity of host '[xxx.xx.xxx.xx]:ポート番号 ([xxx.xx.xxx.xx]:61203)' can't be established.
132
+
133
+ RSA key fingerprint is 8a:c5:57:ee:8e:33:ac:17:29:eb:7b:59:81:aa:22:3e.
134
+
135
+ ```
136
+
137
+
138
+
139
+ ```
140
+
141
+ cloud9$ ssh -p ポート番号 deploy@xxx.xx.xxx.xx ls -l-l
142
+
143
+ deploy@xxx.xx.xxx.xx's password:
144
+
145
+ Could not chdir to home directory /home/deploy: Permission denied
146
+
147
+ bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
148
+
149
+ bash: /home/deploy/.bashrc: Permission denied
150
+
151
+ ls: invalid option -- '-'
152
+
153
+ Try `ls --help' for more information.
154
+
155
+ ```
156
+
157
+
158
+
159
+ こんな感じでしょうか?

5

情報追加

2017/01/22 11:50

投稿

s.k
s.k

スコア423

test CHANGED
File without changes
test CHANGED
@@ -97,3 +97,21 @@
97
97
  [root@tk2-241-30026 ~]# ls -Zd /home/…drwx------. root root system_u:object_r:home_root_t:s0
98
98
 
99
99
  ```
100
+
101
+
102
+
103
+ [ホームディレクトリにログインできない場合の対処方](https://www45.atwiki.jp/server_c3/pages/20.html)
104
+
105
+ ```ここに言語を入力
106
+
107
+ [root@tk2-241-30026 home]# ls -l
108
+
109
+ total 12
110
+
111
+ drwx------ 2 capistrano capistrano 4096 Jan 22 17:33 capistrano
112
+
113
+ drwx------ 3 deploy deploy 4096 Jan 22 17:05 deploy
114
+
115
+ drwx------ 3 sagae sagae 4096 Jan 19 15:58 sagae
116
+
117
+ ```

4

情報追加

2017/01/22 11:28

投稿

s.k
s.k

スコア423

test CHANGED
File without changes
test CHANGED
@@ -84,6 +84,14 @@
84
84
 
85
85
 
86
86
 
87
+
88
+
89
+ [お天気SEの雑記帳](http://d.hatena.ne.jp/nob-magnetman/20110208/1297138180)
90
+
91
+
92
+
93
+ こちら以上ないと判断致しました!
94
+
87
95
  ```ここに言語を入力
88
96
 
89
97
  [root@tk2-241-30026 ~]# ls -Zd /home/…drwx------. root root system_u:object_r:home_root_t:s0

3

情報追加

2017/01/22 11:26

投稿

s.k
s.k

スコア423

test CHANGED
File without changes
test CHANGED
@@ -86,6 +86,6 @@
86
86
 
87
87
  ```ここに言語を入力
88
88
 
89
- [root@tk2-241-30026 ~]# ls -l /home/…total 12…drwx------ 2 capistrano capistrano 4096 Jan 22 17:33
89
+ [root@tk2-241-30026 ~]# ls -Zd /home/…drwx------. root root system_u:object_r:home_root_t:s0
90
90
 
91
91
  ```

2

情報追加

2017/01/22 11:25

投稿

s.k
s.k

スコア423

test CHANGED
File without changes
test CHANGED
@@ -81,3 +81,11 @@
81
81
  drwx------ 3 deploy deploy 4096 Jan 22 17:05 deploy
82
82
 
83
83
  ```
84
+
85
+
86
+
87
+ ```ここに言語を入力
88
+
89
+ [root@tk2-241-30026 ~]# ls -l /home/…total 12…drwx------ 2 capistrano capistrano 4096 Jan 22 17:33
90
+
91
+ ```

1

情報追加

2017/01/22 11:24

投稿

s.k
s.k

スコア423

test CHANGED
File without changes
test CHANGED
@@ -57,3 +57,27 @@
57
57
 
58
58
 
59
59
  どれをのせればいいのかわからず…
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+ ###追加
68
+
69
+
70
+
71
+
72
+
73
+ ```ここに言語を入力
74
+
75
+ [root@tk2-241-30026 ~]# grep deploy /etc/passwd
76
+
77
+ deploy:x:501:501::/home/deploy:/bin/bash
78
+
79
+ [root@tk2-241-30026 ~]# ls -l /home | grep deploy
80
+
81
+ drwx------ 3 deploy deploy 4096 Jan 22 17:05 deploy
82
+
83
+ ```