Показать сообщение отдельно
Старый 24.08.2004, 15:28     # 2
biggyL
Member
 
Аватар для biggyL
 
Регистрация: 28.08.2002
Сообщения: 249

biggyL Нимб уже пробиваетсяbiggyL Нимб уже пробивается
Решил проблему в ручную:

Make make the following changes to your /etc/passwd file:

myworkstation$:x:9999:9999::/dev/null:/bin/false

Make the following changes to your /etc/shadow file:

myworkstation$:*:9797:0:::::

Note: In the above two examples, it is critical to add the dollar sign
($) at the end of each and every workstation name!

Next, make make the following changes to your /etc/group file:

machines::9999

Finally, run the following commands on your server. Note the lack
of a dollar-sign ($) at the end of the workstation name! This is
frequently overlooked and a cause of many headaches...

$ smbpasswd -m -a myworkstation

Вот и всё!
А через скрипт так и не получилось.
biggyL вне форума