PANTHEON™ Help

 Kazalo
 Glavna stran - Dobrodošli v PANTHEON navodila
[Collapse]PANTHEON
 [Collapse]Vodiči za PANTHEON
  [Expand]Vodič po PANTHEON-u
  [Expand]Vodič po PANTHEON Farming
  [Expand]Vodič po PANTHEON Retail
  [Expand]Vodič po PANTHEON Vet
 [Collapse]Uporabniški priročniki za PANTHEON
  [Collapse]Uporabniški priročnik za PANTHEON
   [Collapse]Kako začeti?
    [Expand]Nasveti o podjetništvu
     Prvi koraki v programu PANTHEON
    [Expand]Primer uporabe PANTHEON-a v namišljenem podjetju
    [Expand]Zagotavljanje skladnosti PANTHEON-a s SRS
    [Expand]PANTHEON Sistem
    [Collapse]Namestitev programa
      Proces namestitve
      Konfiguracija računalnika
     [Expand]PANTHEON Licenciranje
      Regionalne nastavitve
     [Expand]Vrste namestitve glede na konfiguracijo mreže
      Posodobi in odstrani
     [Collapse]Lokalna namestitev PANTHEON-a
      [Expand]Čarovnik za namestitev PANTHEONA lokalno
      [Collapse]Namestitev potrebnih orodij in komponent
        Potrebna orodja za namestitev PANTHEON-a
       [Collapse]Microsoft SQL strežnik
         Prenos in namestitev
         Nadgradnja SQL strežnika na verzijo 2019
         Nastavitve MS SQL strežnika za večja Pantheon™ oko
         Sprememba vrstnega reda SQL
        [Collapse]Varnost MS SQL Server
          Avtentikacija SQL strežnika
          Ustvarjanje prijav na strežnik
          Nastavitve storitve SQL Server
          Fiksna vloga strežnika
          Fiksna vloga baze podatkov
          Windows avtentikacija
          Šifriranje povezav SQL strežnika
        [Expand]Uporabni SQL poizvedbe
        Prenos in namestitev Microsoft Management Studio
        Vpenjanje baze na SQL strežnik
        Dodajanje uporabnikov na strežniški nivo (AddUser_
        Namestitev SQL za zunanji dostop
        Konfiguracijska datoteka .ini
        Namestitev PANTHEON klientov
        Windows Terminal server
     [Expand]Namestitev PANTHEON gostovanja
      Naročilo in nastavitve storitev ePoslovanja
      Seznam spletnih storitev
      Menjava verzije
      Migracija na nov strežnik
      Odstranitev programa
    [Expand]Osnovni pojmi in napotki
    [Expand]Materialni in blagovni tokovi
    [Expand]Napotki za šifriranje
    [Expand]Arhiv
   [Expand]Pogosta vprašanja o PANTHEON-u (F.A.Q.)
   [Expand]Uporabniški priročnik za ePoslovanje
   [Expand]Nastavitve
   [Expand]Naročila
   [Expand]Blago
   [Expand]Servis
   [Expand]Proizvodnja
   [Expand]Denar
   [Expand]Plansko-analitska orodja ZEUS
   [Expand]Kadri
   [Expand]Pomoč
   [Expand]Osebje
   [Expand]Arhiv uporabniških strani
  [Expand]Uporabniški priročnik za PANTHEON Retail
  [Expand]Uporabniški priročnik za PANTHEON Vet
[Collapse]PANTHEON Web
 [Collapse]Vodiči za PANTHEON Web
  [Expand]Vodič po PANTHEON Web Light
  [Expand]Vodič za PANTHEON Web Terminal
  [Expand]Vodič za PANTHEON Web Legal
  [Expand]Arhiv starih izdelkov
 [Collapse]Uporabniški priročniki za PANTHEON Web
  [Expand]Kako začeti
  [Expand]Uporabniški priročnik za PANTHEON Web Light
   Uporabniški priročnik za PANTHEON Web Terminal
  [Expand]Arhiv starih izdelkov
  [Expand]Uporabniški priročnik za PANTHEON Web Legal
[Collapse]PANTHEON Granule
 [Collapse]Vodiči za PANTHEON Granule
  [Expand]Granula Kadri
  [Expand]Granula Potni nalogi
  [Expand]Granula Dokumenti in Opravila
  [Expand]Granula Nadzorna plošča
  [Expand]Granula B2B Naročanje
  [Expand]Granula Servis na terenu
  [Expand]Inventar fiksnih sredstev
  [Expand]Granula Inventura skladišča
 [Collapse]Uporabniški priročniki za PANTHEON Granule
   Začetek
   Primer uporabe PANTHEON Granul v namišljenem podjetju
  [Expand]PANTHEON Granule in aktivacija
  [Expand]Granula Kadri
  [Expand]Granula Potni nalogi
  [Expand]Granula Dokumenti in opravila
  [Expand]Granula B2B naročanje
  [Expand]Granula Nadzorna plošča
  [Expand]Granula Servis na terenu
  [Expand]Granula Inventura osnovnih sredstev
  [Expand]Granula Inventura skladišča
   PANTHEON Granule - pogosta vprašanja in odgovori
   Arhiv
[Expand]Uporabniške strani

Load Time: 796.9008 ms
"
  2011 | 2561 | 336921 | Updated
Label

Creating Server Logins

Creating Server Logins

Creating Server Logins

A server login grants you access to the SQL Server instance. How much access you have depends on your login privileges.

The SQL Server installation uses the default login name sa (system administrator) without a password. The password can be changed only after the installation is complete.

Sa is a special login. By default it has the role of sysadmin fixed server, which cannot be changed. Even though sa is the default administrator login, it is not recommended to use it. Instead, create new users and assign them the sysadmin role.

When using SQL Server with Windows NT authentication, the sa login is irrelevant. But when using Mixed Mode, the default password must be changed to prevent unautorized access.

Creating a Login with Enterprise Manager

  1. In Enterprise Manager, find the desired SQL Server instance.
  2. Go to Security and then Logins.
  3. In the right-hand panel, existing logins for the server instance are listed. Right-click inside the panel and select New Login...
  4. Type in a name and password for the login.
  5. In the Server Roles tab, select a server role for the login.
  6. In the Database Access tab, select to which databases the login has access (see also Database role).
  7. Click OK to create the login.

 

The login name can be from 1 to 128 characters long, cannot be blank (null), cannot contain backslashes (\), and cannot be a reserved name.

004026.gif

Creating a Login with T-SQL

The T-SQL syntax for the function for adding logins is like follows:

sp_addlogin [@loginame =] 'login'
[,[@passwd =] 'password']
[,[@defdb =] 'database']
[,[@deflanguage =] 'language']
[,[@sid =] 'sid']
[,[@encryptopt =] 'encryption_option']

Parameters

[@loginame =] 'login'
The login name.
[@passwd =] 'password'
The login password; default is NULL.
[@defdb =] 'database'
The default database for the login; default is master.
[@deflanguage =] 'language'
The default language for the login; default is the same as the SQL Server instance.
[@sid =] 'sid'
The security identification number; default is zero. If it is zero at login, the system generates a unique SID.
[@encryptopt =] 'encryption_option'
Password encryption option.

Deleting a Login

You can delete a login by running the following command:

sp_droplogin [@loginame =] 'login'

[@loginame =] 'login' is the name of the login you wish to delete.

Changing the Password

You can change a login's password with the following command:

sp_password [[@old =] 'old_password',] 
{[@new =] 'new_password'}
[,[@loginame =] 'login']

Parameters

[@old =] 'old_password'
The old password; default is NULL.
[@new =] 'new_password'
The new password.
[@loginame =] 'login'
The login whose password you want to change. Only logins with the sysadmin fixed role can change passwords.

Granting and Denying Access

If you want to explicitly deny server access to a login, use the following command:

sp_denylogin [@loginame =] 'login'

where [@loginame =] 'login' is a user name or Windows NT group.

If you want to grant server access to a login, use the following command:

sp_grantlogin [@loginame =] 'login'

where [@loginame =]'login' is a user name or Windows NT group.



 

Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!