TOP TEMA: Debian fan club

Diskusije usko vezane uz Debian distribuciju.

Moderator/ica: Moderatori/ce

The Acacia Strain
Postovi: 1464
Pridružen/a: 12 kol 2008, 00:06
Spol: M

Re: Debian fan club

Post Postao/la The Acacia Strain »

Kod: Označi sve

awk -F":" ' {print "username: " $1 "\t\tuid:" $3 }' /etc/passwd
username: root		uid:0
username: daemon		uid:1
username: bin		uid:2
username: sys		uid:3
username: sync		uid:4
username: games		uid:5
username: man		uid:6
username: lp		uid:7
username: mail		uid:8
username: news		uid:9
username: uucp		uid:10
username: proxy		uid:13
username: www-data		uid:33
username: backup		uid:34
username: list		uid:38
username: irc		uid:39
username: gnats		uid:41
username: nobody		uid:65534
username: libuuid		uid:100
username: sshd		uid:101
username: messagebus		uid:102
username: Debian-exim		uid:103
username: statd		uid:104
username: avahi-autoipd		uid:105
username: avahi		uid:106
username: usbmux		uid:107
username: Debian-gdm		uid:108
username: saned		uid:109
username: hplip		uid:110
username: mirza		uid:1000

Kod: Označi sve

who
mirza    tty7         2011-01-15 03:35 (:0)
mirza    pts/0        2011-01-15 03:37 (:0.0)

Kod: Označi sve

aptitude search gdm sudo
p   dpsyco-sudo                                                            - Automate administration of sudo privileges                                      
p   gdm                                                                    - GNOME Display Manager                                                           
p   gdm-themes                                                             - Themes for the GNOME Display Manager                                            
i   gdm3                                                                   - Next generation GNOME Display Manager                                           
p   gdmap                                                                  - Tool to visualize diskspace                                                     
v   gnome-sudo                                                             -                                                                                 
v   gnome-sudoku                                                           -                                                                                 
p   gosa-plugin-sudo                                                       - sudo plugin for GOsa²                                                           
p   gosa-plugin-sudo-schema                                                - LDAP schema for GOsa² sudo plugin                                               
p   kdesudo                                                                - sudo frontend for KDE                                                           
p   kdm-gdmcompat                                                          - Provide basic gdm functionality to systems running kdm                          
p   ksudoku                                                                - Sudoku puzzle game and solver                                                   
p   liblcgdm-dev                                                           - LCG Data Management common development files                                    
p   liblcgdm1                                                              - LCG Data Management common libraries                                            
i A sudo                                                                   - Provide limited super user privileges to specific users                         
p   sudo-ldap                                                              - Provide limited super user privileges to specific users                         
p   sudoku                                                                 - console based sudoku                                                            
p   vdr-plugin-sudoku                                                      - VDR-Plugin to generate and solve Sudokus
sto se tice .bashrc fileova i ostalog, nista nije prckano, svjeza je instalacija... dakle nakon restarta kada je sve bilo instalirano, prvi put sam mogao upisat pass da bi usao u sistem, nakon toga vise nikad.. nista nije dirano...
DebianResources
DebianHandbook
devil je napisao/la:nije neka tamo kanta pametnija od nas tu.
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Debian fan club

Post Postao/la glaskoncILLa »

zanimljivo, iako nisam siguran da mi se svidja ako ce to biti default..

daj cat/etc/gdm/gdm.conf
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
The Acacia Strain
Postovi: 1464
Pridružen/a: 12 kol 2008, 00:06
Spol: M

Re: Debian fan club

Post Postao/la The Acacia Strain »

glaskoncILLa je napisao/la:zanimljivo, iako nisam siguran da mi se svidja ako ce to biti default..

daj cat/etc/gdm/gdm.conf

Kod: Označi sve

No such file or directory
DebianResources
DebianHandbook
devil je napisao/la:nije neka tamo kanta pametnija od nas tu.
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Debian fan club

Post Postao/la glaskoncILLa »

treba razmak izmedju cat i /etc.. :)
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
The Acacia Strain
Postovi: 1464
Pridružen/a: 12 kol 2008, 00:06
Spol: M

Re: Debian fan club

Post Postao/la The Acacia Strain »

glaskoncILLa je napisao/la:treba razmak izmedju cat i /etc.. :)
hah da da..
skuzih to odma, al svejedno je ;)
DebianResources
DebianHandbook
devil je napisao/la:nije neka tamo kanta pametnija od nas tu.
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Debian fan club

Post Postao/la glaskoncILLa »

svejedno?
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
The Acacia Strain
Postovi: 1464
Pridružen/a: 12 kol 2008, 00:06
Spol: M

Re: Debian fan club

Post Postao/la The Acacia Strain »

glaskoncILLa je napisao/la:svejedno?
da.. ovakva je situacija:
u /etc-u uopce nema gdm direktorija, vec samo gdm3
isao sam trazit gdm.conf da li ima kamo drugdje, dobio sam ovo:

Kod: Označi sve

locate gdm.conf
/etc/dbus-1/system.d/gdm.conf
zatim:

Kod: Označi sve

cat /etc/dbus-1/system.d/gdm.conf
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- Only root can own the service -->
  <policy user="root">
    <allow own="org.gnome.DisplayManager"/>

    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Manager"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.LocalDisplayFactory"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Settings"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Slave"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Session"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DBus.Properties" />
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.freedesktop.DBus.Introspectable"/>

  </policy>

  <policy context="default">
    <deny send_destination="org.gnome.DisplayManager"
          send_interface="org.gnome.DisplayManager.Manager"/>
    <deny send_destination="org.gnome.DisplayManager"
          send_interface="org.gnome.DisplayManager.Display"/>
    <deny send_destination="org.gnome.DisplayManager"
          send_interface="org.gnome.DisplayManager.LocalDisplayFactory"/>
    <deny send_destination="org.gnome.DisplayManager"
          send_interface="org.gnome.DisplayManager.Slave"/>
    <deny send_destination="org.gnome.DisplayManager"
          send_interface="org.gnome.DisplayManager.Session"/>
    <deny send_destination="org.gnome.DisplayManager"
          send_interface="org.gnome.DBus.Properties" />
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.freedesktop.DBus.Introspectable"/>

    <!-- Controlled by Policykit -->
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Settings"/>

    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
           send_member="GetId"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
           send_member="GetRemoteHostname"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
           send_member="GetSeatId"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
           send_member="GetX11DisplayName"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
           send_member="GetX11DisplayNumber"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
           send_member="IsLocal"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"
           send_member="IsNested"/>

    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.LocalDisplayFactory"
           send_member="CreateTransientDisplay"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.LocalDisplayFactory"
           send_member="CreateNestedDisplay"/>

    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Manager"
           send_member="GetDisplays"/>

  </policy>

  <policy user="Debian-gdm">
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Manager"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Display"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.LocalDisplayFactory"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DisplayManager.Settings"/>
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.gnome.DBus.Properties" />
    <allow send_destination="org.gnome.DisplayManager"
           send_interface="org.freedesktop.DBus.Introspectable"/>
  </policy>

</busconfig>
DebianResources
DebianHandbook
devil je napisao/la:nije neka tamo kanta pametnija od nas tu.
Avatar
madone
Postovi: 1594
Pridružen/a: 09 srp 2008, 09:49
Spol: M
OS: Debian
Lokacija: Zagreb

Re: Debian fan club

Post Postao/la madone »

Pokreni

Kod: Označi sve

gdmsetup
pa probaj tamo promijenit postavke. Ili napravi file gdm.conf

Kod: Označi sve

# GDM Custom Configuration file.
#
# This file is the appropriate place for specifying your customizations to the
# GDM configuration.   If you run gdmsetup, it will automatically edit this
# file for you and will cause the daemon and any running GDM GUI programs to
# automatically update with the new configuration.  Not all configuration
# options are supported by gdmsetup, so to modify some values it may be
# necessary to modify this file directly by hand.
#
# This file overrides the default configuration settings.  These settings 
# are stored in the GDM System Defaults configuration file, which is found
# at the following location.
#
# /usr/share/gdm/defaults.conf.  
#
# This file contains comments about the meaning of each configuration option,
# so is also a useful reference.  Also refer to the documentation links at
# the end of this comment for further information.  In short, to hand-edit
# this file, simply add or modify the key=value combination in the
# appropriate section in the template below this comment section.
#
# For example, if you want to specify a different value for the Enable key
# in the "[debug]" section of your GDM System Defaults configuration file,
# then add "Enable=true" in the "[debug]" section of this file.  If the
# key already exists in this file, then simply modify it.
#
# Older versions of GDM used the "gdm.conf" file for configuration.  If your
# system has an old gdm.conf file on the system, it will be used instead of
# this file - so changes made to this file will not take effect.  Consider
# migrating your configuration to this file and removing the gdm.conf file.
#
# If you hand edit a GDM configuration file, you can run the following
# command and the GDM daemon will immediately reflect the change.  Any
# running GDM GUI programs will also be notified to update with the new
# configuration.
#
# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
#
# e.g, the "Enable" key in the "[debug]" section would be "debug/Enable".
#
# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
# re-read the new configuration settings.  You can also restart GDM by sending
# a HUP or USR1 signal to the daemon.  HUP behaves like gdm-restart and causes
# any user session started by GDM to exit immediately while USR1 behaves like
# gdm-safe-restart and will wait until all users log out before restarting GDM.
#
# For full reference documentation see the gnome help browser under
# GNOME|System category.  You can also find the docs in HTML form on
# http://www.gnome.org/projects/gdm/
#
# NOTE: Lines that begin with "#" are considered comments.
#
# Have fun!

[daemon]

[security]

[xdmcp]

[gui]

[greeter]



GraphicalTheme=debian-greeter

Include=mirza



Browser=false

[chooser]

[debug]

# Note that to disable servers defined in the GDM System Defaults
# configuration file (such as 0=Standard, you must put a line in this file
# that says 0=inactive, as described in the Configuration section of the GDM
# documentation.
#
[servers]

# Also note, that if you redefine a [server-foo] section, then GDM will
# use the definition in this file, not the GDM System Defaults configuration
# file.  It is currently not possible to disable a [server-foo] section
# defined in the GDM System Defaults configuration file.
#
The Acacia Strain
Postovi: 1464
Pridružen/a: 12 kol 2008, 00:06
Spol: M

Re: Debian fan club

Post Postao/la The Acacia Strain »

uspio sam tako sto sam removao gdm3 kompletno i stavio gdm... sad je sve ok!
DebianResources
DebianHandbook
devil je napisao/la:nije neka tamo kanta pametnija od nas tu.
Avatar
Suko
Site Admin
Postovi: 16079
Pridružen/a: 03 tra 2008, 18:09
Spol: M
OS: Mint 17 Cinnamon
Lokacija: Svugdi me ima. Slavonija uglavnom.

Re: Debian fan club

Post Postao/la Suko »

Sad kad vam se krvi napijem!
Ni ne znate koga ste u svoje redove pozvali... slika
Muhaha! :bleh
Odgovori