Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Globale Systemvariablen beim Booten setzen

Empfohlene Antworten

Hi,

ich hab hier nen SLES8 und ne Anwendung (eigentlich mehrere) die ein paar Systemvariablen brauchen.

Damit ich jetzt nicht für jedes Konsolenfenster das ganze einzeln machen muss, wollt ich das ganze per Skript machen.

Ich weiß das ich in der ".bashrc" die exportbefehle machen kann, die sind dann aber nur für den einen user

--> Jeder user müsste eine angepasste .bashrc bekommen, bei änderungen müssen diese überall gemacht werden

==> nicht effizient, da sich die daten öfters mal ändern.

Da gibt es doch sicher sowas wie ne globale .bashrc, nur hab ich die bis jetzt nicht gefunden.

Laut google soll es beim SLES8 "/etc/rc.config.d" geben... bei mir nich O_o und dass soll wohl genau dafür da sein!?

Aber dann gibts noch die /etc/rc.d/boot.local

und und und...

kann mir bitte jemand verraten welche Datei ich suche? :)

Danke!

ja, du suchst die /etc/profile

da setzt man variablen für jeden user

When bash is invoked as an interactive login shell, or as a non-inter-

active shell with the --login option, it first reads and executes com-

mands from the file /etc/profile, if that file exists. After reading

that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,

in that order, and reads and executes commands from the first one that

exists and is readable. The --noprofile option may be used when the

shell is started to inhibit this behavior.

...der Vollständigkeit halber :e@sy

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.