запуск wds ошибка 1297

grep может искать файл строку и возвратится 0, если он находит его, Вы могли бы использовать это в качестве части условного выражения для замены файла, чего-то как:

 #!/bin/bash
 if [ !`/bin/grep -q teststring /path/to/file` ]; then
    cp newfile oldfile
 fi
1
задан 6 February 2013 в 22:49
1 ответ

This occurs because the NETWORK SERVICE account is not granted the appropriate user rights.

Look into this article on MS, if the server is not a DC, use Method 1 or Method 2. If the server is a domain controller, use Method 3 or Method 4.

Don't get confused that article is about Terminal Services, instructions there apply to any service (any service that is configured to start by using the NETWORK SERVICE account may experience similar symptoms).

0
ответ дан 4 December 2019 в 09:24

Теги

Похожие вопросы