This will place the banner text in the login box itself, above the user name entry. I investigated alternatives and came up with the following that could be used as an alternative (or in addition) to the above method. a DOE auditor), it isn't obvious that a banner is used for the graphical login. However, this is not present on the login screen itself, and thus to a passing observer (eg. A nice feature of this method is that it requires (nominally) an action on the user's part upon logging in to acknowledge the banner. There are also buttons for Yes/OK or No/Cancel (whether it is "Yes and No" or "Ok and Cancel" depends on whether it is RHEL/SL4 or 5). This pops up the login banner text AFTER a user enters successful credentials. Gdialog -infobox "Logging Out in 10secs" 1 20 & # and to miss the date with xsession-error dialog # To avoid staring at a blank screen for next 10 second, \nClicking Yes or OK indicates that you accept these conditions." 10 100 \n\nLOG OFF IMMEDIATELY (byĬlicking No or Cancel) if you do not agree to the conditions stated in this warning. \n\nBy continuing to use this system you indicate your awareness of and consent to these terms and conditions of use. Lt in administrative disciplinary action and civil and criminal penalties. \n\nUnauthorized or improper use of this system may resu To such interception, monitoring, recording, copying, auditing, inspection, and disclosure \nat the discretion of authorized site or Department of Energy personnel. \n\nBy using this system, the user consents Nspected, and disclosed to \nauthorized site, Department of Energy, and law enforcement personnel, as well as authorized officials of other agencies, both domestic and foreign. \nAny or all uses of this system and all files on this system may be intercepted, monitored, recorded, copied, audited, i \nUsers (authorized or unauthorized) have no explicit or implicit expectation of privacy. usr/bin/gdialog -yesno "NOTICE TO USERS \n\nThis is a Federal computer system (and/or it is directly connected to a BNL local network system) and is the property of the United States Government. In the past, to create a login banner the GUI/X Windows login, I have been editing /etc/X11/gdm/PreSession/Default (RHEL/SL 4) or /etc/gdm/PreSession/Default (RHEL/SL5), putting the following in after the PATH declaration near the top: A few tidbits on setting a login banner with GDM:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |