06-22-2012
Thanks bartus11 . Got it now and will never forget it. Cool stuff.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello all
say im logged in to account ar root , but I can't change any thing there ( like username )
if someone is already logged in also . how can I know who is ( user name ) also connected to the user im using ? (2 Replies)
Discussion started by: umen
2 Replies
2. Shell Programming and Scripting
guys
i have a unix user (say "x") which is also an application owner ..thru this user i manage most (90 %) of my tasks related to application i.e application down/up,processes stop/start etc..in short i manage my "tuxedo" via this user..
now
i want a new user to be created (on my name) which... (7 Replies)
Discussion started by: abhijeetkul
7 Replies
3. UNIX for Advanced & Expert Users
I am running a serverapplication on a HP-UX machine where I need to handle some of the commands as a specified user called "druser".
When I log on as this user with the command;
sudo -u druser -sit starts an instance of the shell as that user.
However, it doesn't load that users .profile from... (1 Reply)
Discussion started by: ukiome
1 Replies
4. Cybersecurity
Hello,
My DBAs are connecting to the unix servers with ORACLE account.
I would like to create for each one of them a private user .
Only after connecting in ther private user allow them to su -oracle .
My problem is that i need to prevent them from connecting remothly with SSH as oracle user.... (1 Reply)
Discussion started by: yoavbe
1 Replies
5. AIX
How do I get a command like "ssh Theuser@host date" to execute the /home/Theuser/.profile before executing the "date" command? (5 Replies)
Discussion started by: IL-Malti
5 Replies
6. Shell Programming and Scripting
Hi Team,
Thank you for your time.
i have a situation where the user IDs of the applicatio users have been locked down to Read only.
Hence I am writing a script to invoke their old .profile every time they login.
My problem is : when i run . $userpath/.profile from within the ksh script... (9 Replies)
Discussion started by: anitha111
9 Replies
7. Shell Programming and Scripting
The .profile file should be read when the user logs in. So, there should be no need to execute .profile file again in a cron job (since the cron job is run after the user logs in). Doesn't the cron require login from the user. Then, from where does the cron execute? Please help!! (1 Reply)
Discussion started by: thulasidharan2k
1 Replies
8. HP-UX
Hello,
Just wanting to know if it is possible. Also I am new to command line. I am running 5.1b, if that matters.
Thanks in advance (10 Replies)
Discussion started by: bcha
10 Replies
9. AIX
Hello, I find out that there is a way from putty to pass a command to your shell when trying to log in to a server and bypass .profile. Actually you can do this if you open a bash shell. The command to bypass .profile is the following: ssh -t hostname "bash --noprofile" Is there a way to... (32 Replies)
Discussion started by: omonoiatis9
32 Replies
10. UNIX for Beginners Questions & Answers
Hello and thanks in advance for anyone that can offer me any help with this!
I'm trying to figure out a quick & easy way to see a list of everyone's effective user id... I would have thought 'w' or 'who' would be able to display if someone had switched user accounts... but it's only showing the... (3 Replies)
Discussion started by: bodisha
3 Replies
LEARN ABOUT LINUX
costransactions_resource
CosTransactions_Resource(3erl) Erlang Module Definition CosTransactions_Resource(3erl)
NAME
CosTransactions_Resource - This module implements the OMG CosTransactions::Resource interface.
DESCRIPTION
To get access to the record definitions for the structures use:
-include_lib("cosTransactions/include/CosTransactions.hrl").
EXPORTS
commit(Resource) -> Return
Types Resource = #objref
Return = ok | {'EXCEPTION', E}
E = #'CosTransactions_NotPrepared'{} | #'CosTransactions_HeuristicRollback'{} | #'CosTransactions_HeuristicMixed'{} | #'Cos-
Transactions_HeuristicHazard'{}
This operation instructs the Resource to commit all changes made as a part of the transaction.
The Resource can raise:
* Heuristic Exception - if a Heuristic decision is made which differ from the true outcome of the transaction. The Resource must
remember the Heuristic outcome until the forget operation is performed.
commit_one_phase(Resource) -> Return
Types Resource = #objref
Return = ok | {'EXCEPTION', E}
E = #'CosTransactions_HeuristicHazard'{} | #'CosTransactions_TransactionRolledBack'{}
If possible, the Resource should commit all changes made as part of the transaction, else it should raise the TRANSACTION_ROLLEDBACK
exception. This operation can only be used if the Resource is the only child of its parent.
forget(Resource) -> Return
Types Resource = #objref
Return = ok
This operation informs the Resource that it is safe to forget any Heuristic decisions and the knowledge of the transaction.
prepare(Resource) -> Return
Types Resource = #objref
Return = Vote | {'EXCEPTION', E}
Vote = 'VoteReadOnly' | 'VoteCommit' | 'VoteRollback'
E = #'CosTransactions_HeuristicMixed'{} | #'CosTransactions_HeuristicHazard'{}
This operation is invoked on the Resource to begin the two-phase commit protocol.
The Resource can reply:
* 'VoteReadOnly' - if no persistent data has been modified by the transaction. The Resource can forget all knowledge of the trans-
action.
* 'VoteCommit' - if the Resource has been prepared and is able to write all the data needed to commit the transaction to stable
storage.
* 'VoteRollback' - under any circumstances but must do so if none of the alternatives above are applicable.
* Heuristic Exception - if a Heuristic decision is made which differ from the true outcome of the transaction. The Resource must
remember the Heuristic outcome until the forget operation is performed.
rollback(Resource) -> Return
Types Resource = #objref
Return = ok | {'EXCEPTION', E}
E = #'CosTransactions_HeuristicCommit'{} | #'CosTransactions_HeuristicMixed'{} | #'CosTransactions_HeuristicHazard'{}
This operation instructs the Resource to rollback all changes made as a part of the transaction.
The Resource can raise:
* Heuristic Exception - if a Heuristic decision is made which differ from the true outcome of the transaction. The Resource must
remember the Heuristic outcome until the forget operation is performed.
Ericsson AB cosTransactions 1.2.10 CosTransactions_Resource(3erl)