Something similar to /etc/profile in LDAP?

My /etc/profile contains a logging feature which tracks the history of a local user. It doesn't work for ldap users though since I don't think LDAP looks at this file when ldap users login to a client.
Is there some way to make ldap users use this file as the initial login profile or is there some way to setup something similar in LDAP? ldapaddent won't add this file. The only thing I can think of is to make some sort of change on cn=default,ou=profile,dc=example,dc=com but I'm unsure as to whether that will work or how exactly to set it up.
Any help on this would be appreciated. Thanks.

Hi Liam. Thanks for your reply. When I used the Update Credit Card option and tested the form, I got the error message "Credit Card Payment Failed….Invoice Number Not Found". But after search for that error message in this forum, I found out that I should be using the "Credit Cards (existing orders)" option. This has worked, ie payment was successfully processed and was applied to the existing order; a new invoice was not created. I have received a receipt from the payment gateway (eWay) but not one from BC. Also, upon successfully submitting the form, I was then taken to a totally blank page. I'll have to do some more testing to see whether the blank page was just a one off. If not, I'll try adding code in the Action part of the form to redirect to specific page.
So thanks for your help. Though it didn't give me the correct answer, it l led me to it.

Similar Messages

  • Ntrights.exe Windows 2008 R2 Resource Kit Tool? Does it exist or is there something similar I can use?

    I am running Windows Server 2008 R2 Standard as a DC
    I am trying to add users/groups to the following local policies through a GPO, however I need to script it out using something similar to ntrights.exe. I do not want to do it through the GUI because this is going to be a re-occurring process.
    Below are the policies I am trying to configure via some kind of command prompt. I do not think I can do this with PowerShell 2.0 even with the import-module grouppolicy cmdlets.
    Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Allow log on locally
    Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Debug programs
    Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Force shutdown from a remote system
    Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Shut down the system
    Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Change the system time
    Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Allow logon through Remote Desktop Services
    Would it be safe to copy the Windows Server 2003 ntrights.exe resource kit tool and try it on Windows Server 2008 R2? I am working on a virtual test lab environment so I can actually take a snapshot before hand but wanted your expert thoughts on it first.
    Thank you in advance.

    I found the solution.....You can actually use "quoted" host names in the templates instead of the SIDs. Make sure that for Domain User Accounts you specify the Domain prefix. For Local User accounts you can just specify the local user name.
    The filename of the template that I made is LOCAL_SEC_TEMPLATE.inf
    Here's what's inside that LOCAL_SEC_TEMPLATE.inf template:
    [Unicode]
    Unicode=yes
    [Registry Values]
    [Privilege Rights]
    SeInteractiveLogonRight = "Administrators","XXDIGIHD\DigiOps","XXDIGIHD\Domain Admins"
    SeDebugPrivilege = "Administrators","XXDIGIHD\DigiOps","XXDIGIHD\Domain Admins"
    SeRemoteShutdownPrivilege = "Administrators","XXDIGIHD\DigiOps","XXDIGIHD\Domain Admins"
    SeSystemtimePrivilege = "Administrators","XXDIGIHD\DigiOps","XXDIGIHD\Domain Admins","LOCAL SERVICE"
    SeShutdownPrivilege = "Administrators","XXDIGIHD\DigiOps","XXDIGIHD\Domain Admins"
    SeRemoteInteractiveLogonRight = "Administrators","XXDIGIHD\DigiOps","XXDIGIHD\Domain Admins","Remote Desktop Users"
    [Version]
    signature="$CHICAGO$"
    Revision=1
    [Profile Description]
    Description=Local Security Template
    Here's how I applied the template to the Local Security Policy: (You can use PowerShell or the regular command prompt)
    SECEDIT /configure /db secedit.sdb /cfg "c:\LOCAL_SEC_TEMPLATE.inf"
    Here's the link on using SECEDIT >> http://www.appdeploy.com/tips/detail.asp?id=23
    Thanks for your help Gunter, this issue is solved.

  • [SOLVED] How do I set the default umask? Not in /etc/profile

    Hi guys
    This is probably not what you expect to hear about umasks... I have set it in /etc/profile:
    [2] ognyan@xxxlinux : ~ >grep umask /etc/profile
    #Set our umask
    umask 002
    If I log on via ssh, my umask is 0002. I can start a vnc server and a konsole inside, which has umask 0002. So far so good...
    I also have a vnc server running as a service. If I open a konsole from inside this vnc, bash says umask 0022. So there must be a more-default setting for umask, than /etc/profile. I found a setting in /etc/login.defs and changed it to "UMASK 007", then even rebooted, but bash inside the vnc service stays with umask 0022.
    It seems not to be a setting of KDE, since both vnc sessions have different umasks, inherited by their parents. What provides the environment for the service and how can I control it?
    Last edited by bigblondewolf (2013-12-11 08:37:26)

    on my server i have something like this in ~/.profile:
    # the default umask is set in /etc/profile; for setting the umask
    # for ssh logins, install and configure the libpam-umask package.
    umask 002
    and at home i have ~/.bash_profile, but no umask in it.
    or is this answer too obvious? not quite sure i get your problem.

  • /etc/profile.d scripts

    A while ago, I was helping a friend installing archlinux on his laptop.
    He wanted to use tcsh as his main shell, as he is used to this from FreeBSD.
    We then discovered that his path was never updated after installing new packages (for instance firefox) and then running source /etc/profile
    The reason, we later found out, was that most (if not all) of the scripts in /etc/profile.d does not have a valid shebang (usually the top row of a script, looking something like #!/bin/sh , telling the computer which shell to run the script in).
    This, in combination with tcsh (and probably csh as well, we never tested that though), results in our problem, since tcsh does not have the command export, which is built in in bash (and sh, zsh, and most of other shells out there).
    Tcsh uses the command set instead.
    My little question is this: Why doesn't those scripts have proper shebangs, so that it would be possible to use archlinux with tcsh?
    Does anybode have a good answer to that, and is this something that should be corrected in some way?

    As those files are getting sourced through /etc/profile they don't need a proper shebang.
    The only distro I know with support for csh is Slackware, don't expect it in Arch.

  • Dark area on screen, looks like smudge, anyone else seen something similar?

    Hi,
    I got a new 16GB white 3G yesterday and love it!
    It's been a long wait for us here in Sweden, but now the iPhone is finally here.
    Just one problem: I have a small area of the screen that is visibly darker than the rest. It is situated about one inch from the top edge, and in the middle "horizontally". It is about 5 - 6 m.m. in diameter and resembles a smudge, but it is not possible to whipe it away, and it also looks a bit different from different angles.
    It does not look like totally dead pixels since they just seem to be slightly darker than the surrounding areas. Possibly a smudge on the inside of the glass perhaps?
    It is mostly visible on light gray backgrounds, and when scrolling lists (e.g. of text) since then it appears and disappears as the list is being scrolled (it is not clearly visible if there is text on it).
    I know I should go back to the store to have them check, but I just thought I'd ask here first if anyone else has seen something similar?
    I might also wait a while to see if it changes, right now it is a bit difficult to see sometimes and I don't want to go back to the store just to have them "send me away" because they didn't see it.

    I have a similar problem with my iPhone 3G. The only screen that looks sharp and free of any horizontal lines or "tracers" from text or images is the home screen. Safari, contacts, etc. look bad. I have an iPod Touch as well and none of these issues have ever been manifest on it. On the iPhone there will be horizontal lines across the screen of a lighter color than the background along the edges of images (like a photo for a contact in the address book) or a safari page when multiple pages are displayed. Also none of the text in Safari or even in the crossword puzzle game I purchased are as crisp as the text on the Touch.
    I've played around with the brightness, but this has not helped (it becomes more evident when the screen is brightened).
    I'm on hold with AppleCare and if I find out something I will report back.
    Jim

  • Help with pico /etc/profile

    I have redhat 7.3 and i install the sdk. Its in usr/java/j2sdk1.4.1/bin
    Where exactly do I put the line path so every user can use the java/javac etc commands anywhere. I tried. but it dont work. Im I clicked on save settings, but im not sure that saves it. I was trying to follow the other thread instructions but everyone seems kinda different. Im very new to linux by the way. Think i installed it by accident :P
    # /etc/profile
    # System wide environment and startup programs, for login setup
    # Functions and aliases go in /etc/bashrc
    pathmunge () {
    if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
    if [ "$2" = "after" ] ; then
    PATH="$PATH:/usr/java/j2sdk1.4.0/bin"
    else
    PATH=$1:$PATH
    fi
    fi
    # Path manipulation
    if [ `id -u` = 0 ]; then
    pathmunge /sbin
    pathmunge /usr/sbin

    It seems to me that when ".plist" files contain references to other files or folders, most require full paths and they won't accept anything to represent a generic "home". Either that, or items are represented by "alias" data, referring to a specific file, which would be completely independent of paths. That of course means that any sort of "template" account must avoid containing references to items within the "home" folder because the template will contain references to the original items, not their counterparts in the new user's home. Note that things like the "sidebar" in a regular account or the "Dock" in a "Simple Finder" do contain shortcuts to items within the "home" folder, but these aren't generated from ".plist" files in the template but rather are generated on the fly by "Finder" during login.
    In the case of the default download location for "Safari", I think it defaults to the user's "Desktop" in the absence of a ".plist" file. However, if the user changes the location, then a ".plist" file is created at that point. It would also appear that the default download location is set to the user's "Desktop" if the default Safari "home page" is changed, which also causes the same file to be created. The file appears to be: "~/Library/Preferences/com.apple.internetconfigpriv.plist"
    I haven't tested this to see if it would work, but it might be possible to modify your existing template to remove the reference to the "download folder" while retaining the desired Safari "home page" using something along these lines:<pre style="overflow:auto; padding: 5px; width: 500px ; font-size: 10px; border:1">sudo defaults delete /System/Library/User\ Template/English.lproj/Library/Preferences/com.apple.internetconfigpriv DownloadFolder</pre>

  • After Effects Transform Effect  is there something similar in Motion?

    Is there a way to something similar to the AE transform effect to offset the motion caused by the displace filter.
    Example here:
    http://www.videocopilot.net/tutorial/disintegration/
    Starting at time 8:06
    Thanks
    Andrew

    Interesting tutorial, thanks!
    Here's a quickie Motion version covering the basic concepts they use. I didn't have a texture handy and I wanted this to be self contained, so I used the Cloud generator. I animated the gradient in a gradient generator to get the wipe, substituted Gradient Colorize for "Colorama", Underwater filter for "Turbulent Displace", used behaviors instead of keyframes, etc...
    I hope this gets you started:
    Disintegrator Movie.
    and the Project.
    come back with any questions...
    Patrick

  • [SOLVED] printenv output differs from settings in /etc/profile

    Hi, I just noticed that
    printenv PATH
    gives me something else (just '/usr/bin') than is defined in /etc/profiles, which is
    PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
    export PATH
    I'm using fish but there is no entry about variables in ./config/fish/config.fish.
    Thanks for your help!
    Last edited by ysetdng (2014-09-16 23:05:56)

    Let /etc/login.defs be, it isn't supposed to have the full PATH.
    Read https://wiki.archlinux.org/index.php/Fi … leshooting
    Arch wiki wrote:
    If you decide to set fish as your default shell, you may find that you no longer have very much in your path. You can add a section to your ~/.config/fish/config.fish file that will set your path correctly on login. This is much like .profile or .bash_profile as it is only executed for login shells.
    if status --is-login
    set PATH $PATH /usr/bin /sbin
    end
    Note that you will need to manually add various other environment variables, such as $MOZ_PLUGIN_PATH. It is a huge amount of work to get a seamless experience with fish as your default shell.

  • Scripts in /etc/profile.d seem not to work under certain circumstances

    While already logged in, if I open up a terminal and run a script in /etc/profile.d/ to set environment variables, the changes don't seem to take. I can think of two examples:
    1) Turning on KDE4 desktop integration in openoffice. I edited /etc/profile.d/openoffice.sh and changed OOO_FORCE_DESKTOP=KDE4, but when I ran the script I got an "export: command not found" error.
    2) When replacing Sun Java with OpenJDK in order to compile and use 389-console from the AUR, I got caught up on one of the dependencies, ldapjdk (also from the AUR). The PKGBUILD for this package contains the following block of code:
    which ant
    if [ $? -eq 1 ]; then
    . /etc/profile.d/apache-ant.sh
    fi
    ant dist
    In theory this should work, as /etc/profile.d/apache-ant.sh contains the following two lines:
    export ANT_HOME=/usr/share/java/apache-ant
    export PATH=$PATH:$ANT_HOME/bin
    However, upon running makepkg I got an error about "ant" not being in my path. To get around this I just edited the PKGBUILD and put the full path to ant, but this shouldn't have been necessary. The original PKGBUILD should have worked. I seem to have something out of whack and I don't quite know what. If anyone could be of assistance, it would be much appreciated.

    I'm well aware of this. I never said that I started openoffice from the plasma menu. I never even started it. /etc/profile.d/openoffice.sh errored out without setting the environment variable in the current shell session. If it had worked, I would have been able to run openoffice from the terminal to test the new environment variable, which is what I was intending to do in the first place. There's no need to logout to test these sort of changes, they can be done from the terminal.
    Your solution also doesn't address the problem I had in example #2, either. makepkg should be able to set environment variables in the current shell session, using the /etc/profile.d script detailed in the example. Running makepkg has nothing to do with my graphical session.
    I know that logging out and back in will "fix" the problem, but that's not the point. The point is that a script which should be able to set an environment variable is not working properly.
    Last edited by archtaku (2010-08-21 00:58:53)

  • TV listings not loading. (Oops something unexpected happened) etc etc.

    I'm trying to find out what's wrong with the tv listings. Theses pages are loading way too slow or not loading at all. When you click on program info, I get the  "Oops something unexpected happened etc etc".This has been going on for over a week. I'm using Windows 7 and have all updates. Also I'm using the most recent Google Chrome. I have cookies enabled for Comcast/Xfinity. I use a ad block add on but this condition persist regardless of it's settings. I deleted all cookies, cleared the cache and started over on all that with no luck. There appears to be some spy ware associated with the listings page after I used "PageSpeed Insight" to look at the page. I saw reference to Facebook, some ad stuff, and some errors after the program analyzed the page, but I believe the problem is somewhere else. I would appreciate any help with this. I've seen others post similar problems with this tv schedule, but I have not seen much in a remedy besides, "use another listing service". I depend on this but it appears to be undependable. Thanks...jim  

        A technician did call today and he was sure, in a more than non cordial way, that the problems were on our end. He was also sure that Comcast could come out and load the grid on their laptop for 49.95 + tax, which may be true. While this guy was explaining how smart he was, he also explained that Comcast did not fix computers (again, in a more than uncongenial way)  You could tell that this tech did not want to be bothered on his day off, and I may try to contact corporate on that.  Anyway, I tried 3 of the top browsers...IE, Chrome, and Firefox, all with the same results. I also un-installed Flash Player and Java and re-installed those with no luck. In the end, I may have a technician come out to check my pc. The reason I doubt that the pc is the problem is that I just re-installed the operating system. Sunday night....Suddenly, everything is trying to load correctly. It may be a cookie issue. I just checked the option to allow 3rd party cookies (which I don't care to do) All the followers on this subject may try that. I'm going to try to fine tune the cookie thing for Comcast only. By the way...thanks to the very smart Comcast tech...for nothing.

  • I have a question that I think I know the answer to, but am looking for confirmation.  I have a dell computer at home that has clip art available on it for putting pictures into documents.  Do I need to install an APP to get something similar to clip art?

    I have a question that I think I know the answer to, but am looking for confirmation.  I have a desktop computer at home that has clip art loaded onto it.  I recently got an iPad and am looking for something similar.  I assume I need to get an APP for it, and if that is correct, does anyone have one that they like?

    Sort of.  There is an app called art shop that gives you a place to park clip art.   But I don't think you really need it. 
    If you have a collection of clip art you want available, move it to the camera roll on your pad/ phone, then copy paste into your document the clip you want.
    You can get them into the camaera roll by putting them in a single event in your picture library and syncing them over,  or e mail them to your self, and save to the camera roll, or send them to drop box, and bring them down that way.
    The challenge is getting them all in one place to make it easy for you to find, which is why syncing might be the best approach in the long run.
    As near as I can tell there is not a ready made clip art collection in app format laying around.

  • When I open "Pages" all the forms are in spanish. ( I am english speaking) I travel a lot and wonder if the program picked up on me being in Spain or something similar. How do I change it to english?

    When I open "Pages" all the forms are in spanish. ( I am english speaking) I travel a lot and wonder if the program picked up on me being in Spain or something similar. How do I change it to english?

    See
    http://en.wikipedia.org/wiki/Lorem_ipsum
    If that is what you are seeing, you just select it and type in your own text.

  • 2011 MacBook Pro, 64 bit i7 quad core, upgraded to Lion OSx, Bootcamp installed with Windows 7, wanting to install Windows 8 (don't ask), tried downloading/installing bootcamp 5.0.5033, error message something similar to bootcamp doesn't support this Win

    2011 MacBook Pro, 64 bit i7 quad core, upgraded to Lion OSx, Bootcamp installed with Windows 7, wanting to install Windows 8 (don't ask), tried downloading/installing bootcamp 5.0.5033 (both on the mac/windows partitions (actually using a parallel to run Windows)), error message something similar to bootcamp doesn't support this Windows
    So the question is am I doing something wrong? Should I just try and install windows 8 through my windows 7 partition and see if I can use the bootcamp 5.05033. Or do I solely have to use the bootcamp to install Windows 8? I'm not too familiar with bootcamp and how it runs.

    if you're using parallels and full bootcamp then you're making it 100% more troublesome for youself then it needs to be
    bootcamp is running windows directly on the hardware this give full memory and cpu and 3d video game power
    running windows in parallels is running a virtual machine where one can't run powerful games and the like but one can have it in a window and change fast between osx and windows
    parallels as the only virutal machine (as far as I know) support not have the operating system as a file on the osx harddisk but can access a bootcamp parition as virtual machine but without the benefits bootcamps provides
    it's a service parallels provide for those who want both to play games in normal bootcamp and sometimes use windows in a virutal machine
    just install it like a normal virtual machine and you need not worry about bootcamp drivers and the likes
    plus it would mean that the windows part would be a part of the timemachine bacup of osx
    which it is not when it's in bootcamp

  • How to make something similar in 3d? (tv graphics, no only compositing topic!))

    Hi, I am aware that this is community for After Effects, and also this example contains some objects probably maded in some 3D programs, but I want to hear opinion form an expert how exampes below are did:
    These are examples from one tv station i Europe:
    I am curious how it is made:
    http://www.youtube.com/watch?v=QBrQ7krzrVw (please watch only begin and the end of this video)
    http://www.youtube.com/watch?v=j9pU_XIJQqA (especially from very end of video clip-cubes)
    I want to know way how to make something similar and how to composite them like this way?
    Any links related to tutorials, links for similar techniques (c4d, max...?)
    What is your opinion about modeling this scene?
    Thank you!

    It will probably take some 3-D modeling.  Bringing it into AE, I will point you to Andrew Kramer's Element 3D plugin - http://www.videocopilot.net/ 
    He has one demo that is doing a very similar effect -- http://www.videocopilot.net/tutorials/element_animation_engine/

  • /etc/profile isn't sourced on startx

    the command
    source /etc/profile
    isn't used on startx
    and now all paths and locales aren't set, has anyone an idea whats wrong here?
    if i login on console it behaves normal. But if i login on X with qingy or slim it doesn't work.
    It also doesn't work if i startx on a console with /etc/profile sourced.
    i hope someone can help me.
    so long
    ukognos

    but if i run X, there's no locale set, or environment variable, so how can i set that at startup of X?

Maybe you are looking for