Покажи Публикации - empty
* Виж публикациите на потр. | Виж темите на потр. | Виж прикачените файлове на потр
Страници: 1 [2] 3 4 ... 61
16  Linux секция за начинаещи / Настройка на програми / (РЕШЕН) Проблем със ssh -: Jun 27, 2008, 01:54
Свърши прекрасна работа! Точно каквото ми трябваше. Благодаря още веднъж!
17  Linux секция за начинаещи / Настройка на програми / (РЕШЕН) Проблем със ssh -: Jun 20, 2008, 21:59
Евала! Мерси много!
18  Linux секция за начинаещи / Настройка на програми / (РЕШЕН) Проблем със ssh -: Jun 20, 2008, 17:34
Проблема е, че като съм не активен на сървъра си той ме изхвърля от SSH. Не знам това на какво се дължи. Ако си работя няма проблеми, но ако не работя на сървъра той ми затваря сесията.
Сървъра е:
Linux tequila.osguides.net 2.6.25-gentoo-r2 #6 SMP Thu May 15 09:45:40 UTC 2008 i686 Intel® Celeron® CPU 2.40GHz GenuineIntel GNU/Linux

SSH версия: OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007

sshd_config
Примерен код
#       $OpenBSD: sshd_config,v 1.74 2006/07/19 13:07:10 dtucker Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

Port 222
Protocol 2
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768

# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile     .ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes

#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no

# no default banner path
#Banner /some/path

# here are the new patched ldap related tokens
# entries in your LDAP must have posixAccount & ldapPublicKey objectclass
#UseLPK yes
#LpkLdapConf /etc/ldap.conf
#LpkServers  ldap://10.1.7.1 ldap://10.1.7.2
#LpkUserDN   ou=users,dc=phear,dc=org
#LpkGroupDN  ou=groups,dc=phear,dc=org
#LpkBindDN cn=Manager,dc=phear,dc=org
#LpkBindPw secret
#LpkServerGroup mail
#LpkForceTLS no
#LpkSearchTimelimit 3
#LpkBindTimelimit 3

# override default of no subsystems
Subsystem       sftp    /usr/lib/misc/sftp-server

# Example of overriding settings on a per-user basis
#Match User anoncvs
#       X11Forwarding no
#       AllowTcpForwarding no
#       ForceCommand cvs server


Благодаря.



19  Linux секция за начинаещи / Настройка на програми / Пускане на flash player в 64bit opera -: Feb 07, 2008, 03:42
По - добре го напиши като малка статийка на сайта, че така ще се загуби из дебрите на форума и никой няма да го види '<img'> Особено като знаем хората които не могат да се справят с това как обичат да ползват търсачката ... '<img'>
20  Linux секция за начинаещи / Настройка на програми / Php + gd with jpeg support -: Feb 07, 2008, 03:39
Принципно gd-то идва с jpeg поддръжка. Не знам колко може да ти помогне това но пробвай да ъпдейтнеш jpeg library и пробвай да го компилираш отново.
Това е единственото нещо за което се сещам в момента.
21  Linux секция за начинаещи / Настройка на програми / Kubuntu 7.10 + ccproxy -: Feb 07, 2008, 03:30
Ами точно както при windows-а така и при linux-а трябва да настроиш всяка програма да минава през проксито.
22  Linux секция за начинаещи / Настройка на програми / Boot from floppy -: Feb 07, 2008, 03:28
Може да погледнеш ей тук.
23  Нетехнически теми / Коментар / Microsoft? -: Feb 04, 2008, 11:37
Хора на мен все ми се струва, че много се отдалечи работата от темата '<img'> Айде нема нужда да се заяждате ъ? Айде нема нужда да си мериме операционните системи '<img'> И май тук не е мястото да се обсъжда психическото състояение на който и да било. Не сме ли тук за да обменим опит, знание и възгледи, но като казвам възгледи не искам да кажа опорито доказване на гледна точка. Айде стига комунизъм ... Живееме в демократични времена и всеки има правото да си изрази мнението, но не и да го налага!

По отношение на unix сървърите ... Ами мога да кажа само едно. В компанията която работя сме предоставили около 8 хиляди дедикейтет сървъри на клиенти. 7 хиляди от които са инсталирани с unix производно и около 1000 с windows. Като гледам как вървят продажбите напоследък windows-ите не се овеличават ... Вие си правете извода.



24  Нетехнически теми / Коментар / Microsoft? -: Feb 03, 2008, 12:57
Значи само да кажа и аз нещо '<img'> Тая тема започва да прилича на хилядите такива "Windows vs Linux" и всички Санчо Пансовци почват да спорят '<img'> Линукс наистина не е съвършен, но кажете ми едно съвършенно нещо на този свят. С годините ползване на компютър и сменяне на операционни системи и в последствие останових, че компютрите са моето бъдеще и препитание... Малко се отплеснах, но исках да кажа, че с опита си до сега разбрах, че не можеш да кажеш за един софтуер, че е боклук. Ами това е творение и потене на някой пред клавиетурата. Това е труд на някой без значение дали му е платено или не. Всеки един софтуер си е оригинален до някъде. Всеки има право на избор дали да го ползва или не. В момента съм с виста. Имам и линукс но в момента ми трябваше да си трансферирам едни неща от лаптоп-а на тел-а а пък под линукс се оказа, че няма как да си пусна bluetooth-a. Просто е невъзможно. Това е минус на линукс-а. Да не говорим колко време ми отне да си настроя всичко и, че още не мога да намеря програмка за видео разговори м/у windows и linux. Това са минуси, но имам толкоз много плюсове, че няма сила която да ме накара да престана да го използвам. Свикнал съм си и си го обичам. С хубавото Yakoake само с един бутон съм в конзолка '<img'> А я погледнете вистата ... в момента сякаш се уча да пиша на клавиетура на ново... фонетиката я промениха ужасно.. Ето това на ми харесва ... И още да не изброявам колко много апсурди, но това не значи, че трябва да стана и да викам Windows sucкz, Linux RuLeZzz и така на татък. Всеки ползва това от което има нужда. И стига със тея безмислици и спорове. Аз съм фен на Linux и в кръвта си.. Но вече не плуя windows.

Тъкмо пишех и се оказа, че и агента е писал и видях поста му след моя. За сървъри не може да ги мерим. Линукс издухва windows и то с много. Виждал съм клиенти да пускат linux сървъри на които ще хостват ASP и се борят здраво да го подкара, но държът да е линукс или bsd. Защо ли?



25  Linux секция за начинаещи / Настройка на програми / Голям load от samba -: Jan 16, 2008, 02:15
Хора не знам защо се получава така но самбата ми качва load average на сървъра до 4 при трансфер което не е нормално. Сървъра е P4 2.4 GHz, 1.2GB RAM и това не е нормално. Файловата система е xfs ако това има значение. Дистрибуцията е Gentoo и се упдейтва постоянно до последен stable release. Ето го и smb.conf:
Примерен код
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# For a step to step guide on installing, configuring and using samba,
# read the Samba-HOWTO-Collection. This may be obtained from:
#  http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
#
# Many working examples of smb.conf files can be found in the
# Samba-Guide which is generated daily and can be downloaded from:
#  http://www.samba.org/samba/docs/Samba-Guide.pdf
#
# Any line which starts with a; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]

# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name


# netbios name is the name you will see in "Network Neighbourhood",
# but defaults to your hostname
;  netbios name = <name_of_this_server>

# server string is the equivalent of the NT Description field
server string = TheMachine

# 2. Printing Options:
# CHANGES TO ENABLE PRINTING ON ALL CUPS PRINTERS IN THE NETWORK
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = cups

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
printing = cups

# 3. Logging Options:
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
max log size = 50

# Set the log (verbosity) level (0 <= log level <= 10)
; log level = 3

# 4. Security and Domain Membership Options:
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page. Do not enable this if (tcp/ip) name resolution does
# not work for all the hosts in your network.
;   hosts allow = 192.168.1. 192.168.2. 127.

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
;  guest account = pcguest
# Allow users to map to guest:
map to guest = Bad User

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
# Use password server option only with security = server or security = domain
# When using security = domain, you should use password server = *
;   password server = <NT-Server-Name>
;   password server = *

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
;  password level = 8
;  username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
# Encrypted passwords are required for any use of samba in a Windows NT domain
# The smbpasswd file is only required by a server doing authentication, thus
# members of a domain do not need one.
encrypt passwords = yes

# The following are needed to allow password changing from Windows to
# also update the Linux system password.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#        the encrypted SMB passwords. They allow the Unix password
#        to be kept in sync with the SMB password.
;  unix password sync = Yes
# You either need to setup a passwd program and passwd chat, or
# enable pam password change
;  pam password change = yes
;  passwd program = /usr/bin/passwd %u
;  passwd chat = *New*UNIX*password* %n\n *Re*ype*new*UNIX*password* %n\n;*passwd:*all*authentication*tokens*updated*successfully*

# Unix users can map to different SMB User names
;  username map = /etc/samba/smbusers

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /etc/samba/smb.conf.%m

# Options for using winbind. Winbind allows you to do all account and
# authentication from a Windows or samba domain controller, creating
# accounts on the fly, and maintaining a mapping of Windows RIDs to unix uid's
# and gid's. idmap uid and idmap gid are the only required parameters.
#
# winbind separator is the character a user must use between their domain
# name and username, defaults to "\"
;  winbind separator = +
#
# winbind use default domain allows you to have winbind return usernames
# in the form user instead of DOMAIN+user for the domain listed in the
# workgroup parameter.
;  winbind use default domain = yes
#
# template homedir determines the home directory for winbind users, with
# %D expanding to their domain name and %U expanding to their username:
;  template homedir = /home/%D/%U

# When using winbind, you may want to have samba create home directories
# on the fly for authenticated users. Ensure that /etc/pam.d/samba is
# using 'service=system-auth-winbind' in pam_stack modules, and then
# enable obedience of pam restrictions below:
;  obey pam restrictions = yes

#
# template shell determines the shell users authenticated by winbind get
;  template shell = /bin/bash

# 5. Browser Control and Networking Options:
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
;   interfaces = 192.168.12.2/24 192.168.13.2/24

# Configure remote browse list synchronisation here
#  request announcement to, or browse list sync from:
#       a specific host or from / to a whole subnet (see below)
;   remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
;   remote announce = 192.168.1.255 192.168.2.44

# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
;   local master = no

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
;   os level = 33

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
;   domain master = yes

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
;   preferred master = yes

# 6. Domain Control Options:
# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations or Primary Domain Controller for WinNT and Win2k
;   domain logons = yes

# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
;   logon script = %m.bat
# run a specific logon batch file per username
;   logon script = %U.bat

# Where to store roaming profiles for WinNT and Win2k
#        %L substitutes for this servers netbios name, %U is username
#        You must uncomment the [Profiles] share below
;   logon path = \\%L\Profiles\%U

# Where to store roaming profiles for Win9x. Be careful with this as it also
# impacts where Win2k finds it's /HOME share
; logon home = \\%L\%U\.profile


# The add user script is used by a domain member to add local user accounts
# that have been authenticated by the domain controller, or when adding
# users via the Windows NT Tools (ie User Manager for Domains).

# Scripts for file (passwd, smbpasswd) backend:
; add user script = /usr/sbin/useradd -s /bin/false '%u'
; delete user script = /usr/sbin/userdel '%s'
; add user to group script = /usr/bin/gpasswd -a '%u' '%g'
; delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
; set primary group script = /usr/sbin/usermod -g '%g' '%u'
; add group script = /usr/sbin/groupadd %g && getent group '%g'|awk -F: '{print $3}'
; delete group script = /usr/sbin/groupdel '%g'

# Scripts for LDAP backend (assumes nss_ldap is in use on the domain controller.
# Needs IDEALX scripts, and configuration in smbldap_conf.pm.
# This assumes you've installed the IDEALX scripts into /usr/share/samba/scripts...
; add user script = /usr/share/samba/scripts/smbldap-useradd.pl '%u'
; delete user script = /usr/share/samba/scripts/smbldap-userdel.pl '%u'
; add user to group script = /usr/share/samba/scripts/smbldap-groupmod.pl -m '%u' '%g'
; delete user from group script = /usr/share/samba/scripts/smbldap-groupmod.pl -x '%u' '%g'
; set primary group script = /usr/share/samba/scripts/smbldap-usermod.pl -g '%g' '%u'
; add group script = /usr/share/samba/scripts/smbldap-groupadd.pl '%g' && /usr/share/samba/scripts/smbldap-groupshow.pl %g|awk '/^gidNumber:/ {print $2}'
; delete group script = /usr/share/samba/scripts/smbldap-userdel.pl '%g'


# The add machine script is use by a samba server configured as a domain
# controller to add local machine accounts when adding machines to the domain.
# The script must work from the command line when replacing the macros,
# or the operation will fail. Check that groups exist if forcing a group.
# Script for domain controller for adding machines:
; add machine script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false '%u'
# Script for domain controller with LDAP backend for adding machines (You need
# the IDEALX scripts, and to configure the smbldap_conf.pm first):
; add machine script = /usr/share/samba/scripts/smbldap-useradd.pl -w -d /dev/null -g machines -c 'Machine Account' -s /bin/false '%u'

# Domain groups:
# Domain groups are now configured by using the 'net groupmap' tool

# Samba Password Database configuration:
# Samba now has runtime-configurable password database backends.
# smbpasswd is for backwards compatibility only Default (not recommended),
# new installations should use tdbsam or ldap.
; passdb backend = smbpasswd
# TDB backend
; passdb backend = tdbsam
# LDAP with fallback to smbpasswd guest
# Enable SSL by using an ldaps url, or enable tls with 'ldap ssl' below.
; passdb backend = ldapsam:ldaps://ldap.mydomain.com
# Use the samba2 LDAP schema:
; passdb backend = ldapsam_compat:ldaps://ldap.mydomain.com

# idmap uid account range:
# This is a range of unix user-id's that samba will map non-unix RIDs to,
# such as when using Winbind
; idmap uid = 10000-20000
; idmap gid = 10000-20000

# LDAP configuration for Domain Controlling:
# The account (dn) that samba uses to access the LDAP server
# This account needs to have write access to the LDAP tree
# You will need to give samba the password for this dn, by
# running 'smbpasswd -w mypassword'
; ldap admin dn = cn=root,dc=mydomain,dc=com
; ldap ssl = start_tls
# start_tls should run on 389, but samba defaults incorrectly to 636
; ldap port = 389
; ldap suffix = dc=mydomain,dc=com
; ldap server = ldap.mydomain.com
# Seperate suffixes are available for machines, users, groups, and idmap, if
# ldap suffix appears first, it is appended to the specific suffix.
# Example for a unix-ish directory layout:
; ldap machine suffix = ou=Hosts
; ldap user suffix = ou=People
; ldap group suffix = ou=Group
; ldap idmap suffix = ou=Idmap
# Example for AD-ish layout:
; ldap machine suffix = cn=Computers
; ldap user suffix = cn=Users
; ldap group suffix = cn=Groups
; ldap idmap suffix = cn=Idmap


# 7. Name Resolution Options:
# All NetBIOS names must be resolved to IP Addresses
# 'Name Resolve Order' allows the named resolution mechanism to be specified
# the default order is "host lmhosts wins bcast". "host" means use the unix
# system gethostbyname() function call that will use either /etc/hosts OR
# DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
# and the /etc/resolv.conf file. "host" therefore is system configuration
# dependant. This parameter is most often of use to prevent DNS lookups
# in order to resolve NetBIOS names to IP Addresses. Use with care!
# The example below excludes use of name resolution for machines that are NOT
# on the local network segment
# - OR - are not deliberately to be known via lmhosts or via WINS.
; name resolve order = wins host lmhosts bcast

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
;   wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
#       Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one  WINS Server on the network. The default is NO.
;   wins proxy = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no
guest account = scary
restrict anonymous = no
guest ok = yes
domain master = no
preferred master = no
max protocol = NT
acl compatibility = winnt
ldap ssl = No
server signing = Auto

# 8. File Naming Options:
# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
;  preserve case = no
;  short preserve case = no
# Default case is normally upper case for all DOS files
;  default case = lower
# Be very careful with case sensitivity - it can break things!
;  case sensitive = no

# Enabling internationalization:
# you can match a Windows code page with a UNIX character set.
# Windows: 437 (US), 737 (GREEK), 850 (Latin1 - Western European),
# 852 (Czech), 861 ('<img'>), 932 (Japanese),
# 936 (Simplified Chin.), 949 (Korean Hangul),
# 950 (Trad. Chin.).
# More detail about code page is in
# "http://www.microsoft.com/globaldev/reference/oslocversion.mspx"
# UNIX: ISO8859-1 (Western European), ISO8859-2 (Eastern Eu.),
# ISO8859-5 (Russian Cyrillic), KOI8-R (Alt-Russ. Cyril.)
# This is an example for french users:
;   dos charset = 850
;   unix charset = ISO8859-1


#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
read only = no
# You can enable VFS recycle bin on a per share basis:
# Uncomment the next 2 lines (make sure you create a
# .recycle folder in the base of the share and ensure
# all users will have write access to it. See
# examples/VFS/recycle/REAME in the samba docs for details
;   vfs object = /usr/lib/samba/vfs/recycle.so

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
;   comment = Network Logon Service
;   path = /var/lib/samba/netlogon
;   guest ok = yes
;   writable = no

# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;    path = /var/lib/samba/profiles
;    browseable = no
;    guest ok = yes
# This script can be enabled to create profile directories on the fly
# You may want to turn off guest acces if you enable this, as it
# hasn't been thoroughly tested.
;root preexec = PROFILE=/var/lib/samba/profiles/%u; if [ ! -e $PROFILE ];;                then mkdir -pm700 $PROFILE; chown %u:%g $PROFILE;fi

# NOTE: If you have a CUPS print system there is no need to
# specifically define each individual printer.
# You must configure the samba printers with the appropriate Windows
# drivers on your Windows clients. On the Samba server no filtering is
# done. If you wish that the server provides the driver and the clients
# send PostScript ("Generic PostScript Printer" under Windows), you have
# to swap the 'print command' line below with the commented one.
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# set to yes to allow user 'guest account' to print.
guest ok = no
printable = yes

# This share is used for Windows NT-style point-and-print support.
# To be able to install drivers, you need to be either root, or listed
# in the printer admin parameter above. Note that you also need write access
# to the directory and share definition to be able to upload the drivers.
# For more information on this, please see the Printing Support Section of
# /usr/share/doc/samba-<version>/Samba-HOWTO-Collection.pdf
[print$]
path = /var/lib/samba/printers
write list = @adm root

[Aliens]
path = /mnt/storage/Aliens/
read only = no

[backups]
path = /mnt/storage/backups/
read only = no

[Clips]
path = /mnt/storage/Clips/
read only = no

[Docs]
path = /mnt/storage/Docs/
read only = no

[Downloads]
path = /mnt/storage/Downloads/
read only = no

[Fun]
path = /mnt/storage/Fun/
read only = no

[Howtos]
path = /mnt/storage/Howtos/
read only = no

[Install]
path = /mnt/storage/Install/
read only = no

[Movies]
path = /mnt/storage/Movies/
read only = no

[mp3z]
path = /mnt/storage/mp3z/
read only = no

[Pics]
path = /mnt/storage/Pics/
read only = no


Моля Ви помагайте ако имате някакви идеи.
26  Хумор, сатира и забава / Хумор / Бате Бил към сина си :) -: Dec 06, 2007, 01:03
Синът на Бил Гейтс пита баща си:
- Тате, искам да правя секс вече, какво трябва да направя?
- Много е просто, синко. Вземи само най-хубавата ми кола от гаража, облечи си най-хубавия костюм и заведи мадамата в най-луксозния апартамент. Купи и най-големия букет цветя. А после наеми президентския апартамент в най-скъпия хотел и ще бъде твоя.
- Но, тате! Къде са романтичните разходки по време на залеза, четенето на стихове на лунна светлина, флиртуването
- Момчето ми, всичките тези неща са ги измислили Linux феновете за да имат безплатен секс.
27  Linux секция за начинаещи / Настройка на програми / проблем с kde 3.5.8 -: Nov 19, 2007, 16:17
Може да провериш дали са се подновили всички пакети нужни за КДЕ. Виж да не би някой от нужните пакети да не е инсталиран.
28  Linux секция за начинаещи / Настройка на програми / Проблем с mozilla firefox и flash player -: Nov 19, 2007, 16:14
Флаша наистина натоварва доста и все още няма решение на този проблем. И аз много търсих, но безуспешно. Единствения съвет който мога да ти дам е да си свалиш последната версия на флаш и с него е малко по нормално.
29  Linux секция за начинаещи / Настройка на програми / имам проблеми с правата -: Nov 19, 2007, 16:08
А ако искаш да се логваш като root, за да изпълняваш повече от едно приложение директно в root терминал можеш да си зададеш парола за root account-а използвайки sudo passwd и след това можеш да преминаваш в root използвайки "su -". Минуса след su е важен за да смениш и пътищата на юзъра.

Успех!
30  Linux секция за начинаещи / Настройка на програми / проблем с grub и win vista -: Sep 30, 2007, 23:14
Само да кажа, че така както си го обяснил Vista-та трябва да се пада sda3 ако не е екстендед. Провери дали ти е на sda3 или не е на sda4. Казваш, че си имал FreeDOS и си инсталирал Vista на втори дял. После си форматирал на FreeDOS партицията и си направил 1 за убунтуто и 1 за swap. Това говори, че преди Vista-та имаш 2 партиций, което прави невъзможно Vista-та да ти е на sda2.

Успех!



Страници: 1 [2] 3 4 ... 61