ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Как добавить юзера в самбу?
@ 2003-05-22  8:46 Unit
  2003-05-22  9:08 ` Dmitriy Shcherbakov
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Unit @ 2003-05-22  8:46 UTC (permalink / raw)
  To: community

                                                                          
Hello, Community!

Не подскажете, как добавить самба-юзера?
Кстати, а почему не запускается swat? В браузере пишу: localhost:901 - пишет : "в доступе отказано"

-- 
Best Regards,
Unit

ICQ UIN #21558174

<Registered Linux user #301732>
<machine has registration number 187084>






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Как добавить юзера в самбу?
  2003-05-22  8:46 [Comm] Как добавить юзера в самбу? Unit
@ 2003-05-22  9:08 ` Dmitriy Shcherbakov
  2003-05-22  9:17 ` Eugene A. Suchkov
  2003-05-22  9:19 ` Ilya Palagin
  2 siblings, 0 replies; 7+ messages in thread
From: Dmitriy Shcherbakov @ 2003-05-22  9:08 UTC (permalink / raw)
  To: community

>
>
>                                                                          
>Hello, Community!
>
>Не подскажете, как добавить самба-юзера?
>  
>
если пользователь: smbpasswd -a user_name
если машинный аккаунт: smbpasswd -a -m machine_name
И в том и в другом случае, в системе должен существовать пользователь с 
таким именем, т.е. в файле /etc/passwd должны присутствовать записи для
user_name
machine_name$




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Как добавить юзера в самбу?
  2003-05-22  8:46 [Comm] Как добавить юзера в самбу? Unit
  2003-05-22  9:08 ` Dmitriy Shcherbakov
@ 2003-05-22  9:17 ` Eugene A. Suchkov
  2003-05-22 10:45   ` Unit
  2003-05-22  9:19 ` Ilya Palagin
  2 siblings, 1 reply; 7+ messages in thread
From: Eugene A. Suchkov @ 2003-05-22  9:17 UTC (permalink / raw)
  To: community

On Thu, 22 May 2003 12:46:10 +0400
Unit <alt_unit@pisem.net> wrote:

>                                                                     
     
> Hello, Community!
> 
> Не подскажете, как добавить самба-юзера?

sudo smbpasswd -a username

> Кстати, а почему не запускается swat? В браузере пишу: localhost:901 -
> пишет : "в доступе отказано"

/etс/xinetd.d/swat и /etc/xinetd.conf в студию.

Мое ИМХО, лучше эту бяку (свот) не пользовать.

-- 
Best regards...
Eugene A. Suchkov (a.k.a. CityHawk)
-------- ICQ UIN 177787156 --------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Как добавить юзера в самбу?
  2003-05-22  8:46 [Comm] Как добавить юзера в самбу? Unit
  2003-05-22  9:08 ` Dmitriy Shcherbakov
  2003-05-22  9:17 ` Eugene A. Suchkov
@ 2003-05-22  9:19 ` Ilya Palagin
  2003-05-23 10:21   ` Unit
  2 siblings, 1 reply; 7+ messages in thread
From: Ilya Palagin @ 2003-05-22  9:19 UTC (permalink / raw)
  To: community

Unit wrote:
>                                                                           
> Hello, Community!
> 
> Не подскажете, как добавить самба-юзера?
> Кстати, а почему не запускается swat? В браузере пишу: localhost:901 - пишет : "в доступе отказано"
> 
Слушай, имей совесть, почитай хоть _что-нибудь_ о предмете, прежде чем 
писать в рассылку.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Как добавить юзера в самбу?
  2003-05-22  9:17 ` Eugene A. Suchkov
@ 2003-05-22 10:45   ` Unit
  2003-05-22 12:16     ` Re[2]: " KoLyA
  0 siblings, 1 reply; 7+ messages in thread
From: Unit @ 2003-05-22 10:45 UTC (permalink / raw)
  To: community

                                                                          
On Thu, 22 May 2003 13:17:33 +0400
"Eugene A. Suchkov" <CityHawk@inbox.ru> wrote:

> 
> > Кстати, а почему не запускается swat? В браузере пишу: localhost:901 -
> > пишет : "в доступе отказано"
> 
> /etс/xinetd.d/swat и /etc/xinetd.conf в студию.

/etc/xinetd.d/swat:

# default: on
# description: SWAT is the Samba Web Admin Tool. Use swat \
#	       to configure your Samba server. To use SWAT, \
#	       connect to port 901 with your favorite web browser.
service swat
{
	port	= 901
	socket_type	= stream
	wait 	= no
	only_from = 127.0.0.1
	user	= root
	server	= /usr/sbin/swat
	log_on_failure	+= USERID
	disable = no
}

/etc/xinetd.conf:

#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
	log_type = SYSLOG authpriv info
	log_on_success = PID HOST DURATION
	log_on_failure = HOST
	instances = 100
	per_source = 5
	only_from = 127.0.0.1
}

includedir /etc/xinetd.d




-- 
Best Regards,
Unit

ICQ UIN #21558174

<Registered Linux user #301732>
<machine has registration number 187084>






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re[2]: [Comm] Как добавить юзера в самбу?
  2003-05-22 10:45   ` Unit
@ 2003-05-22 12:16     ` KoLyA
  0 siblings, 0 replies; 7+ messages in thread
From: KoLyA @ 2003-05-22 12:16 UTC (permalink / raw)
  To: community

-----Original Message-----
From: Unit <alt_unit@pisem.net>
To: community@altlinux.ru
Date: Thu, 22 May 2003 14:45:25 +0400
Subject: Re: [Comm] Как добавить юзера в самбу?

насчет only from не задумывался? лезешь локально или с другой тачки?
 кстати, я не помню: у свот свой сервер? или апач нужен?

> 
>                                                                           
> On Thu, 22 May 2003 13:17:33 +0400
> "Eugene A. Suchkov" <CityHawk@inbox.ru> wrote:
> 
> > 
> > > Кстати, а почему не запускается swat? В браузере пишу: localhost:901 -
> > > пишет : "в доступе отказано"
> > 
> > /etс/xinetd.d/swat и /etc/xinetd.conf в студию.
> 
> /etc/xinetd.d/swat:
> 
> # default: on
> # description: SWAT is the Samba Web Admin Tool. Use swat \
> #	       to configure your Samba server. To use SWAT, \
> #	       connect to port 901 with your favorite web browser.
> service swat
> {
> 	port	= 901
> 	socket_type	= stream
> 	wait 	= no
> 	only_from = 127.0.0.1
> 	user	= root
> 	server	= /usr/sbin/swat
> 	log_on_failure	+= USERID
> 	disable = no
> }
> 
> /etc/xinetd.conf:
> 
> #
> # Simple configuration file for xinetd
> #
> # Some defaults, and include /etc/xinetd.d/
> 
> defaults
> {
> 	log_type = SYSLOG authpriv info
> 	log_on_success = PID HOST DURATION
> 	log_on_failure = HOST
> 	instances = 100
> 	per_source = 5
> 	only_from = 127.0.0.1
> }
> 
> includedir /etc/xinetd.d
> 
> 
> 
> 
> -- 
> Best Regards,
> Unit
> 
> ICQ UIN #21558174
> 
> <Registered Linux user #301732>
> <machine has registration number 187084>
> 
> 
> 
> 
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community
> 

---
WBR Kolya - kolya-home.newmail.ru
            voron.hotmail.ru


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Как добавить юзера в самбу?
  2003-05-22  9:19 ` Ilya Palagin
@ 2003-05-23 10:21   ` Unit
  0 siblings, 0 replies; 7+ messages in thread
From: Unit @ 2003-05-23 10:21 UTC (permalink / raw)
  To: community

                                                                          
On Thu, 22 May 2003 16:19:19 +0700
Ilya Palagin <tux@fioc.kz> wrote:

>
> Слушай, имей совесть, почитай хоть _что-нибудь_ о предмете, прежде чем 
> писать в рассылку.
Смысл данного сообщения, - добавить свои три килобайта в общий трафик? 
ЗЫ: на брудершафт я с Вами, кажется, не пил, не так ли?
-- 
Best Regards,
Unit

ICQ UIN #21558174

<Registered Linux user #301732>
<machine has registration number 187084>






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-05-23 10:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-22  8:46 [Comm] Как добавить юзера в самбу? Unit
2003-05-22  9:08 ` Dmitriy Shcherbakov
2003-05-22  9:17 ` Eugene A. Suchkov
2003-05-22 10:45   ` Unit
2003-05-22 12:16     ` Re[2]: " KoLyA
2003-05-22  9:19 ` Ilya Palagin
2003-05-23 10:21   ` Unit

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git