Mac OS X 10.6 login procedure
Hi,
I would like to automatically start a program each time I log in.
At the moment, after logging in, I start a terminal window and from there execute the program manually.
How can I have the login procedure automatically do this?
I tried adding it to the .profile file, but that runs only upon opening a terminal window.
Thanks for your help.
Andynic
System Preferences>Accounts>Login items - click the '+' sign below the list and navigate to and select the application.
Similar Messages
-
I am using the mac QQ and when I login it said login timeout.
I am using the mac QQ and when I login it said login timeout.
If you are missing using google maps - try the Nokia map app called "here"
-
I just purchased a mac, I've made an apple id. But now when i try to update my mac. I need to login to itunes stroe.Whenever i try that i can login, then i need to confirm my details. And suddenly the mail adress is no longer valid.
How do I solve this problem?You've posted to the iTunes Match forum, which your questions do not appear to be about. Perhaps you would get better help by posting in the iTunes for Mac forum.
-
Exception handling in Custom Login procedure
Hi,
I have a custom login procedure. Now instead of handling the possible exceptions in a custom way too, I want to use the syntax of the exception handling API (probably the one in the PDK) the default login procedure uses. Can someone point me to the values the default login procedure uses?
Thanks, TonyTony,
The default login page (the source of which is now unwrapped in 3.0.0), uses the following snippet of code to report the errors:
if p_error then
wwerr_api_error_ui.show_inline_html;
end if;The errors are stacked when the ls_login procedure is executed, and the next time the login page is called up, it just displays the stacked errors. -
On new session after login procedure and :APP_USER
Hi,
I need to get some info using :APP_USER on a new session after login procedure but it's always null:
I'm referencing it this way:
my_var := :APP_USER;
Any help is wecome
For the forum moderator, I got some problems, could you please close 2 of my repeating treads. Thanks
Message was edited by:
Rafael MHi Scott,
I am facing the same problem. I have created one application process with process condition On New Session: After Authentication. In this application process i am checking for :app_user in particular table, if the person does not exist i am inserting a record in to the table. But every time :app_user is having null value with On New Session: After Authentication process condition. It is working fine for remaining process conditions.
Thanks in advance for your help
Regards
Ram. -
Passing Arguments to Login-Procedure
Hi,
i was trying to pass some own/more connection infos to our login procedure.
I used the "CON=" parameter.
CON=PROGRAM_USER=test_user@
PROGRAM_PASSWORD=pasword_hash@PROGRAM_CON_NAME=Test Connection
Is there a better way to pass such infos?
First I thought about the connectstring (e.g. ConnectString='DSN=myDatabase;UserDefinedOption=ABC') but i didn't find a way to access these infos in my login procedure.
How do i change the connection-name property in my login procedure?
set option name=Test Connection; -- does not work
Regards
StefanHi Stefan,
See the following sqlanywhere-forum thread for more details about changing the connection string after login - it can't be done (and really isn't intended for that purpose):
http://sqlanywhere-forum.sap.com/questions/8730/is-there-a-way-to-set-con-property-connection-apart-from-the-connection-…
So in summary, no, there isn't a way to change the connection name, and as Arcady points out, it isn't a very secure mechanism to transfer passwords. Arcady is also correct in that you should call the login procedure directly from your application.
There are two issues here:
1) Changing connection name information after login / passing information around on your connection
Instead of storing the information in the 'Name' connection property, you probably just want to use a connection-level variable or a customer user-specified database option (created by 'DBA' authority in SQL Anywhere 12 and lower or with the SET ANY USER DEFINED OPTION privilege in SQL Anywhere 16 ) to pass along information from the login procedure:
CREATE VARIABLE myVar VARCHAR(100);
SET myVar = 'Hello, World!';
SELECT myVar;
or
SET OPTION PUBLIC.custom_option = 'default'
SELECT * FROM SYS.SYSOPTION;
2) Creating a secure, custom, login procedure against another table
If you're going to be using just one database user with one set of permissions, you should look to pass the custom authentication information after the database connection has been made (hopefully over a strongly encrypted connection, for maximum security), and ideally using a prepared statement with bound parameters from the programming API you're using. Your application can then handle any SQL exceptions that are thrown from the login procedure statement and log-out the user from the application at that time.
You are correct in that this will need to be done outside of the original login procedure (that should really be verifying the supplied database username and password).
e.g. in Java:
==================
Connection con = DriverManager.getConnection( "jdbc:sqlanywhere:uid=DBA;pwd=sql" );
String sqlStr = "CALL sp_custom_login( ?, ? ) ";
// Prepare the statement
PreparedStatement stmt = con.prepareStatement( sqlStr );
// Set values
stmt.setString( 1, 'userName' );
stmt.setString( 2 'password' );
// Execute the statement
try {
int iRows = stmt.executeUpdate();
} catch (SQLException ex) {
// Can't log in - log user out of application...
ex.printStackTrace();
==================
Regards,
Jeff Albion
SAP Active Global Support -
Complete login procedure in ORACLE APPS.
Hi...
I am appearing for the interview and in one of the interview, i was asked to explain complete details about the login procedure. like what are the configuration files it will use and profile etc....
Please give me the possible detailed contents, if possible flow as well. thanks a lot for your help.
Regards
NEW APPS-DBA.Hi,
See this thread.
Full cycle ...
Re: Full cycle ...
Thanks,
Hussein -
My mac on snow leopard wont login
My mac on snow leopard wont login, i've been able to login on another admin account but even when i change the pssword to a blank field it says the password is incorrect?
Insert the Mac OS X Snow Leopard DVD, press C key on boot, go to Utilities > Password Reset, select this user and press Reset Home Directory Permissions and ACLs
-
Mac Mini with 2 Ghz Intel Core i7 running OS X 10.9.1. Recent problem with startup screen where I get a gray startup screen that is blank and does not show the login windows for username or password. Mousing over where they should be does provide a cursor change and I can click into the invisible window and login. Also, I can just type the information and hit enter and login without problems but the keystrokes do not appear either. This is not a big problem if I make sure that I type my login information correctly, but if I make a mistake it can be difficult make sure I am in the right place before I retype. Any ideas why the screen is just gray and does not show the windows? Once I type in the login info in the invisible windows and hit enter the computer starts up, loads finder, and runs without any other noticeable problems.
Please read this whole message before doing anything.
This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you boot, and again when you log in.
Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
Safe mode is much slower to boot and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Test while in safe mode. Same problem?
After testing, reboot as usual (not in safe mode) and verify that you still have the problem. Post the results of the test. -
Mac book pro freezes at login after upgrade to mavericks
Hi Peeps,
I'm new to Apple and this is my first Mac Book Pro... I bought it Oktober last year...
Today i wanted to upgrade to Mavericks... All went well, the mac installed... and now it is done.... The system launches until the login screen and then freezes... I've been reading about it on al possible forums... Don't know what to do and in two days i leave abroad again far away from civilization... this mac is my only connection to home and the normal world so yes..i'm a bit desperate
I tried the cmd+R thing to reinstall the OS X - same result...
Bit afraid to do this erase thing cause i'm not sure to do it right - cannot really afford to loose data on this pc apart from the OS.
Stupid me i didn't make a backup with Time machine or something else... can anyone please help me out here ????
Any advice is welcome...
Thanks all !!
Luc
<Email Edited by Host>Please read this whole message before doing anything.
This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
Safe mode is much slower to boot and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test. -
We have Firefox 10.o on our Macbook Pro OS X 10.5.8. I prefer using Firefox as my browser but my husband prefers Safari for now because of a long history of bookmarks and saved information he doesn't have time to re-do. He is tired of Firefox automatically opening when we start up the laptop, and even when we uncheck the "open at login" it still opens at login every time. He is about to uninstall it because of this. How can we disable? It does NOT show up in our account on the Mac OS as an application that starts at login, so we can't disable it there.
For those of you running Windows, I found this on another site. (Unfortunately, not before getting totally disgusted and switching to chrome.)
1. click start (or the windows flag button at the bottom left) 2. in the "search programs and files" or the RUN dialog box, enter "msconfig.exe" or "msconfig". 3. That should open the system configuration program. 4. click the "Startup" tab at the top of the opened program. 5. Under the "startup item" column, look for Mozilla firefox. 6. uncheck that one. 7. Click OK or apply. 8. click "exit without restart". 9. you're good to go. -
I have a mac firefox starts up on login How can I stop it.
I turn my Mac on and firefox starts up on login. Can I make it stop.
See:
* https://support.mozilla.org/kb/Firefox+launches+automatically+when+your+computer+starts
*http://www.maclife.com/article/howtos/how_remove_startup_items_os_x -
Does the Creative Cloud app on Mac have to launch at login to check for updates?
I don't really care to have the Creative Cloud app on my Mac running all the time. I don't use any of the features for it other than to update apps.
If I UNcheck "Launch at login"....will I still get notified of updates?
-KevinI certainly didn't have the Application Manager running all the time in CS6. Adobe must have had a background process checking for updates because in CS6 where there was an update, I would get the update icon in my menubar.
What I'm wondering now is.....does CC have a similar process that will notify me of updates? I don't want to have to manually launch the Creative Coud app just to check.
-Kevin -
Mac OS X Server : cannot login
I have a Mac OS X server 10.9.5.
Since a recent update of the Server App, I have the following problems :
- cannot login via imap and smtp to my server
- cannot "connect as" my self in Finder any more to see my home directory on the server from an Imac Server running also OS X 10.9.5
my server is accessed for the email as mail.agilebuild.com and when I connect from the IMac it is known as "agilebuild.local".
I think that I might have called the server ilantoutseul.agilebuild.com back when I set up Open Directory.
I see the following messages in /var/log/system.log
Any help will be appreciated.
Antoine
Dec 7 14:03:12 192.168.1.79 kdc[57]: Got a canonicalize request for a LKDC realm from local-ipc
Dec 7 14:03:12 192.168.1.79 kdc[57]: Asked for LKDC, but there is none
Dec 7 14:03:12 192.168.1.79 kdc[57]: Got a canonicalize request for a LKDC realm from local-ipc
Dec 7 14:03:12 192.168.1.79 kdc[57]: Asked for LKDC, but there is none
Dec 7 14:03:12 192.168.1.79 kdc[57]: AS-REQ [email protected] from 192.168.1.71:55075 for krbtgt/[email protected]
Dec 7 14:03:12 --- last message repeated 1 time ---
Dec 7 14:03:12 192.168.1.79 kdc[57]: Need to use PA-ENC-TIMESTAMP/PA-PK-AS-REQ
Dec 7 14:03:12 192.168.1.79 kdc[57]: AS-REQ [email protected] from 192.168.1.71:55063 for krbtgt/[email protected]
Dec 7 14:03:12 --- last message repeated 1 time ---
Dec 7 14:03:12 192.168.1.79 kdc[57]: Client sent patypes: ENC-TS
Dec 7 14:03:12 192.168.1.79 kdc[57]: Too large time skew, client time 2014-12-07T13:53:17 is out by 595 > 300 seconds -- [email protected]
Dec 7 14:03:12 192.168.1.79 kdc[57]: Need to use PA-ENC-TIMESTAMP/PA-PK-AS-REQ
Dec 7 14:03:12 192.168.1.79 kdc[57]: AS-REQ [email protected] from 192.168.1.71:49655 for krbtgt/[email protected]
Dec 7 14:03:12 --- last message repeated 1 time ---
Dec 7 14:03:12 192.168.1.79 kdc[57]: Client sent patypes: ENC-TS
Dec 7 14:03:12 192.168.1.79 kdc[57]: Too large time skew, client time 2014-12-07T13:53:17 is out by 595 > 300 seconds -- [email protected]
Dec 7 14:03:12 192.168.1.79 kdc[57]: Need to use PA-ENC-TIMESTAMP/PA-PK-AS-REQ
Dec 7 14:03:12 192.168.1.79 kdc[57]: AS-REQ [email protected] from 127.0.0.1:52952 for krbtgt/[email protected]
Dec 7 14:03:12 --- last message repeated 1 time ---
Dec 7 14:03:12 192.168.1.79 kdc[57]: Need to use PA-ENC-TIMESTAMP/PA-PK-AS-REQ
Dec 7 14:03:12 192.168.1.79 kdc[57]: AS-REQ [email protected] from 127.0.0.1:54789 for krbtgt/[email protected]
Dec 7 14:03:12 --- last message repeated 1 time ---
Dec 7 14:03:12 192.168.1.79 kdc[57]: Client sent patypes: ENC-TS
Dec 7 14:03:12 192.168.1.79 kdc[57]: ENC-TS pre-authentication succeeded -- [email protected]
Dec 7 14:03:12 192.168.1.79 kdc[57]: Client supported enctypes: aes256-cts-hmac-sha1-96, aes128-cts-hmac-sha1-96, des3-cbc-sha1, arcfour-hmac-md5, using aes256-cts-hmac-sha1-96/aes256-cts-hmac-sha1-96
Dec 7 14:03:12 192.168.1.79 kdc[57]: Requested flags: forwardable
Dec 7 14:03:12 192.168.1.79 kdc[57]: TGS-REQ [email protected] from 127.0.0.1:49155 for host/[email protected] [canonicalize, forwardable]
Dec 7 14:03:12 192.168.1.79 kdc[57]: Searching referral for 192.168.1.79
Dec 7 14:03:12 192.168.1.79 kdc[57]: Server not found in database: krbtgt/[email protected]: no such entry found in hdb
Dec 7 14:03:12 192.168.1.79 kdc[57]: Failed building TGS-REP to 127.0.0.1:49155
Dec 7 14:03:12 192.168.1.79 kdc[57]: TGS-REQ [email protected] from 127.0.0.1:57454 for krbtgt/[email protected] [forwardable]Hi Antoine,
According to this log at least the time between the server and client is off.
Dec 7 14:03:12 192.168.1.79 kdc[57]: Too large time skew, client time 2014-12-07T13:53:17 is out by 595 > 300 seconds -- [email protected]
Verify that both the client and the server have the same time, otherwise kerberos will not work.
Then open the terminal.app on your server and show us the output of:
sudo changeip -checkhostname
It will not change anything just give a reply about the hostname of your server.
That will give us more info on how to fix your problem.
Goodluck
Jeffrey -
Unable to read MAC address of router at login
I'm using the following bash function to get the MAC address of the current router when logging in. The script works when I run it after logging in but doesn't work from my login hook (running as root). The script fails even after sleeping for 30 seconds prior to running. I know the interface is up because my mail client is finished checking mail by the time the script pings the router runs the arp command. I could run it as a cron job, but I'd like to understand why it fails during login.
<pre style="border: 1px solid #ddd; padding-left: .75ex; padding-top: .25em; padding-bottom: .25em; margin-top: .5em; margin-bottom: .5em; margin-left: 1ex; max-width: 80ex; overflow: auto; font-size: 10px; font-family: Monaco, 'Courier New', Courier, monospace; color: #444; background: #eee; line-height: normal">get_route_mac() {
ip=$(netstat -nrfinet | awk '/^default/{print $2; exit}')
[[ "$ip" = *.*.*.* ]] || return 1
[ ${1:-0} -gt 0 ] && ping -nc$1 $ip 2>&1 >/dev/null
arp -n $ip | sed -n 's/.* at \(.*:.*:.*:.*:.*:.*\) on .*/\1/p'
</pre>
The idea is to do certain things when joining different networks. Especially when connected to an unknown network (stolen laptop recovery). I would like to support 10.3.9, so I'm avoiding launchd for now.PWD=/
SHLVL=1
SECURITYSESSIONID=ceb19270
_=/usr/bin/printenv
uid=0(root) gid=0(wheel) groups=0(wheel)
The script works much better when it can find the required programs. :0)
which netstat awk ping arp sed
/usr/sbin/netstat
/usr/local/bin/awk
/sbin/ping
/usr/sbin/arp
/usr/bin/sed
<pre style="border: 1px solid #ddd; padding-left: .75ex; padding-top: .25em; padding-bottom: .25em; margin-top: .5em; margin-bottom: .5em; margin-left: 1ex; max-width: 80ex; overflow: auto; font-size: 10px; font-family: Monaco, 'Courier New', Courier, monospace; color: #444; background: #eee; line-height: normal">get_route_mac() {
ip=$(/usr/sbin/netstat -nrfinet | /usr/local/bin/awk '/^default/{print $2; exit}')
[[ "$ip" = *.*.*.* ]] || return 1
[ ${1:-0} -gt 0 ] && /sbin/ping -nc$1 $ip 2>&1 >/dev/null
/usr/sbin/arp -n $ip | /usr/bin/sed -n 's/.* at (.*:.*:.*:.*:.*:.*) on .*/ /p'
}</pre>
Thanks for your help, Bob!
Maybe you are looking for
-
What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?
I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005. I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a singl
-
My key board is not working after my cat sat on it plus I have a small long flashing box
MY cat sat on my key board during working on a program which adds your signature and now even though I can sign in to my computer with out any problem once into any of my programs I can not type more than one or two letters with pressing very hard.
-
How do I open my raw files from my nikon 7100 (NEF files) in adobe photoshop
I recently downloaded a trial version of photoshop cc along with bridge and the adobe dng converter. All of which was suggested after finding out that my CS4 suite was no longer supported. I am sad to report that I still cannot open the files and the
-
hello there, i'm a newbie with java and servlets... and i'm having this problem: public class main extends HttpServlet { private static final long serialVersionUID = 1L; MyFrame a; public void doGet(HttpServletRequest request, HttpServ
-
We have bought 7 subscriptions through 2 adobe IDs. It permitted us doing so. But now we can only operate on 2 computers per Adobe ID. 1. Can the remaining susbcriptions be transferred to other adobe IDs? 2. Do we have to create 7 adobe IDs for 7 sub