Sponsored Content
Full Discussion: User Profile
Top Forums UNIX for Dummies Questions & Answers User Profile Post 302079503 by gagasan_makmur on Tuesday 11th of July 2006 02:01:34 AM
Old 07-11-2006
Bug

thanks bro...
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

User profile

Sorry to I am not familiar with script writing , attach is the /etc/profile in my system , we have limit each user can only have one login in the system . When the user login , if the system found the user have a dead process in the system , the system will confirm the user to kill the previous... (1 Reply)
Discussion started by: ust
1 Replies

2. Shell Programming and Scripting

accerssing user profile?

Hello there, I would like to know how can i prevent a normal user (not root user) from accessing his .profile and editing its information? Also, how can i prevent this user from deleting a certain file named "script"? Any help in that? Thanks in advance, (3 Replies)
Discussion started by: charbel
3 Replies

3. UNIX for Dummies Questions & Answers

refresh user profile

Scenario: a non-root user is under primary group "devel" and I change their primary group to "nondevel"; I then want to be able to give the user a command which refreshes their user profile so that any new files created under their session are assigned to the new group. What is the command for... (1 Reply)
Discussion started by: dhinge
1 Replies

4. UNIX for Dummies Questions & Answers

How can I find a user profile

Hi, I want to know how can i find a user when he has logged in and how many times and days (2 Replies)
Discussion started by: darwinscp@hotma
2 Replies

5. IP Networking

how can i find a user profile

Hi I want to know how can i find a user when he has logged in, at what time and how many days, anyone can help me (1 Reply)
Discussion started by: darwinscp@hotma
1 Replies

6. AIX

Which file has the user profile?

It's been a long time since I've done this and I can't remember which file is needed to edit. I would like to change the prompt for a user on my AIX 5.3 box, but I don't see a .profile file or a rc.ksh file to edit. Which file do I need to edit to get this? (1 Reply)
Discussion started by: bbbngowc
1 Replies

7. Infrastructure Monitoring

trap in etc/profile and user .profile

Hello I really wonder what's trap in etc/profile and in each user .profile. I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing. I want to know ... 1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies

8. Shell Programming and Scripting

User profile, environment

Hello , i am on sles 11, and i can't figure out how can i locate my profile file, the one that is use for setting the environment when i log in. oracle@r200:~> cd oracle@r200:~> pwd /opt/oracle oracle@r200:~> echo $SHELL /bin/bash oracle@r200:~> oracle@r200:~> cat .profile cat: .profile:... (4 Replies)
Discussion started by: tonijel
4 Replies

9. UNIX for Dummies Questions & Answers

Copying the .profile of one user to another.

I want to copy .Profile file from user1 homedirectoryto user2 homedirectory in Aix. Please help me with the process. (4 Replies)
Discussion started by: Laxxi
4 Replies
lb_register(3ncs)														 lb_register(3ncs)

Name
       lb_register - register an object and an interface with the Location Broker

Syntax
       #include <idl/c/lb.h>

       void lb_$register(object, obj_type, obj_interface, flags, annotation,			location, location_length, entry, status)
       uuid_$t *object;
       uuid_$t *obj_type;
       uuid_$t *obj_interface;
       lb_$server_flag_t flags;
       unsigned char annotation[64];
       socket_$addr_t *location;
       unsigned long location_length;
       lb_$entry_t *entry;
       status_$t *status;

Arguments
       object		   The UUID of the object being registered.

       obj_type 	   The UUID of the type of the object being registered.

       obj_interface	   The UUID of the interface being registered.

       flags		   Must  be  either  lb_$server_flag_local  (specifying registration with only the LLB at the local host) or 0 (specifying
			   registration with both the LLB and the GLB).

       annotation	   A character array used only for informational purposes.  This field can contain a textual description of the object and
			   the interface.  For proper display by the tool, the annotation should be terminated by a null character.

       location 	   The socket address of the server that exports the interface to the object.

       location_length	   The length, in bytes, of the socket address specified by the location field.

       entry		   A copy of the entry that was entered in the Location Broker database.

       status		   The completion status.  If the completion status returned in is equal to status_$ok , then the routine that supplied it
			   was successful.

Description
       The routine registers with the Location Broker an interface to an object and the location of a server that exports  that  interface.   This
       routine replaces any existing entry in the Location Broker database that matches object, obj_type, obj_interface, and both the address fam-
       ily and host in location; if no such entry exists, the routine adds a new entry to the database.

       If the flags parameter is the entry is registered only in the LLB database at the host where the  call  is  issued.   Otherwise,  the  flag
       should be 0 to register with both the LLB and the GLB databases.

Examples
       The following statement registers the interface to the object identified by :
       lb_$register (&bank_id, &bank_$uuid, &bank_$if_spec.id, 0,
			  BankName, &saddr, slen, &entry, &status);

Diagnostics
       This section lists status codes for errors returned by this routine in

       lb_$database_invalid
			   The format of the Location Broker database is out of date.  The database may have been created by an old version of the
			   Location Broker; in this case, delete the out-of-date database and reregister any entries that it contained.   The  LLB
			   or  GLB that was accessed may be running out-of-date software; in this case, update all Location Brokers to the current
			   software version.

       lb_$database_busy   The Location Broker database is currently in use in an incompatible manner.

       lb_$update_failed   The Location Broker was unable to register the entry.

       lb_$cant_access	   The Location Broker cannot access the database.  Among the possible reasons:

			   1. The database does not exist, and the Location Broker cannot create it.

			   2. The database exists, but the Location Broker cannot access it.

			   3. The GLB entry table is full.

       lb_$server_unavailable
			   The Location Broker Client Agent cannot reach the requested GLB or LLB.  A communications failure occurred or the  bro-
			   ker was not running.

Files
See Also
       intro(3ncs), lb_unregister(3ncs)

																 lb_register(3ncs)
All times are GMT -4. The time now is 03:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy