Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: samba


  • Subject: Re: lug-bg: samba
  • From: vasil@xxxxxxxxxxxxxxx (vasil@xxxxxxxxxxxxxxx)
  • Date: Tue, 20 Jul 1999 15:50:51 +0300 (EEST)



> Zdrawejte pak...znaci ako move nqkoj da mi prati fail-a smbpasswd nqma da e lo[o. Nqmam
> go izob]o i ne znam kakwo trqbwa da sydyrva.Sys nobody i pcguest pak ne stawa
Ami ima edin prost script kojto vurvi sus sambata,addtosmbpass ,s kojto 
addvash user v smbpasswd-to ot passwd-to.Sled tova s smbpasswd mozhesh da
mu smenqsh parolata...az dazhe sum si pisal sam script za taq rabota,koqto
e neshto takova:
------------ CUT HERE -------------
#!/bin/bash
#Tova tuka se promenq po izbor
PSWD_PATH=/usr/local/samba/private
if [ -z $1 ] ; then
   echo usage $0 username
   exit 2
fi

adduser $1
if grep $1 /etc/passwd >/dev/null ; then
   addtosmbpasswd $1 < $PSWD_PATH/smbpasswd >$PSWD_PATH/smbpasswd.1
   cp $PSWD_PATH/smbpasswd.1 $PSWD_PATH/smbpasswd
fi 
------------- CUT HERE --------------
E,leko e neskoposano,no vurshi rabota.... :)))

==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
For more send to lug-bg-request@xxxxxxxxxxxx a single word 'info'
==================================================================


  • Относно:

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.