- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- user profile
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 09:13 PM
12-05-2005 09:13 PM
I have some qns on user profile.Presently, my company is embarking on a new ERP application replacing the current one.
Users accessing the current ERP apps via the .profile in each user /home dir.
My qns are as follows:
1) Without creating a new user id, can i use the same id to access the new ERP apps, ie users r able to access either one of the ERP apps
2) Do I need to create a secondary group for this purpose?
My reasons for the above qns is to avoid creating another set of user ids for the new ERP.
Thanks
regards,
Mok
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 09:19 PM
12-05-2005 09:19 PM
Re: user profile
in my opinion you can use the same user id and create secondary group, obviusly according to ERP apps requests.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 09:20 PM
12-05-2005 09:20 PM
Re: user profile
Else, you can access with your user account and group to access it.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 09:35 PM
12-05-2005 09:35 PM
Re: user profile
The anwsers can be
1) Creation of new user is not required as we can modify the /etc/profile to make system wide variables required to enable the new ERP App working & also we can add necessary lines ( executable/variables) to the individual users, specific to their need, so that they will be able to use the new ERP.
2) Secondary Group creation is required only when the new ERP appn requires diffrent set of permisions. ( ALSO during the installation of the new ERP we can also customize this )
HtH,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 11:32 PM
12-05-2005 11:32 PM
Re: user profile
/home/user/.profile contain a script file to access ERP A. I want to add another script file to access ERP B. But the problem is I do not how to tell the server which script to use for which purpose?
regards,
Mok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 12:15 AM
12-06-2005 12:15 AM
Re: user profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 12:27 AM
12-06-2005 12:27 AM
Re: user profile
Allow me to explain the situation.User A access to ERP A via .profile in /home/userA/ and i want to use the same user A id to access ERP B.
User A will need to access both ERP A & ERP B at the same time for cross checking of data till one fine day, user A will only access to ERP B.
I have added a secondary group for all users and I really apprecuare if anyone can show me the way to do it?
My last option will be to create new set of user ids for ERP B which I'm trying to avoid.
tks
Mok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 12:28 AM
12-06-2005 12:28 AM
Re: user profile
Allow me to explain the situation.User A access to ERP A via .profile in /home/userA/ and i want to use the same user A id to access ERP B.
User A will need to access both ERP A & ERP B at the same time for cross checking of data till one fine day, user A will only access to ERP B.
I have added a secondary group for all users and I really apprecuare if anyone can show me the way to do it as I'm not an expert in scripting?
My last option will be to create new set of user ids for ERP B which I'm trying to avoid.
tks
Mok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 12:31 AM
12-06-2005 12:31 AM
Re: user profile
if user have to login on server and then can use ERP then,as Andy wrote, you can arrange .profile with case istruction;
if user acces ERP by gui interface/client ...
maybe creation of new user (server side) is needed
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 12:32 AM
12-06-2005 12:32 AM
SolutionLOGO="ERP Access Menu"
badchoice () { MSG="Invalid Selection ... Please Try Again" ; }
# Menu Prompts
amenu="a. ERP A" ;
bmenu="b. ERP B" ;
cmenu="c. Exit" ;
# Commands to execute
apick () { /command_to_start_ERP_A ; }
bpick () { /command_to_start_ERP_B ; }
cpick () { exit ; }
# Display the Menu
themenu () {
clear
echo "\t\t\t" $LOGO
echo
echo
echo "\t\t\t"$amenu
echo "\t\t\t"$bmenu
echo
echo "\t\t\t"$cmenu
echo
echo $MSG
echo
echo "\t\t\tEnter Your Selection: \c" ; }
MSG=
while true
do
themenu
read answer
MSG=
case $answer in
a|A) apick;;
b|B) bpick;;
c|C) cpick;;
x|X) exit;;
*) badchoice;;
esac
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 06:30 AM
12-06-2005 06:30 AM
Re: user profile
we usually just have 2 .env files in the users' home directories (i.e. applmgr, appsmgr, etc.) one will be called 11idev.env and the other might be 11ipatch.env.
Once the user logs in....they can just source the .env file of the instance they wish to work in....these .env files setup the required oracle PATH and other VARIABLES for each env.
This way...the .profile doesn't have to be modified.
Are these users DBAs/application admins or just app users?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 01:29 PM
12-06-2005 01:29 PM
Re: user profile
Thanks for the script. I will try it out and let u know of the outcome.
Hi Siva,
Can you give me some examples?
Hi Christine,
Users are apps users.
Hi All,
Users will be using different client emulation to access respective ERP (I guess it will not be much of a different). Nevertheless, I will try out the script given by Andy.
Thanks again
Mok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 06:30 PM
12-06-2005 06:30 PM
Re: user profile
${HOME:-.}/.profile[13]: syntax error: `}' unexpected = while running the script, its pointing to cmenu="c. Exit";
regards,
Mok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 06:49 PM
12-06-2005 06:49 PM
Re: user profile
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 06:57 PM
12-06-2005 06:57 PM
Re: user profile
The attached file as requested.
regards,
Mok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 07:08 PM
12-06-2005 07:08 PM
Re: user profile
#Commands to execute
apick () {$BSE/bin/check_licenses;}
bpick () {/home/esoper01/pronto;}
cpick () {exit;}
Problem is with
#Commands to execute
apick () { $BSE/bin/check_licenses;}
bpick () { /home/esoper01/pronto;}
cpick () { exit;}
It will work after that change.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 07:33 PM
12-06-2005 07:33 PM
Re: user profile
Thanks for reply. The menu works but nothing happen when I choose either a or b. Only c (exit) works. Anything that I might have missed out.
Mok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 07:50 PM
12-06-2005 07:50 PM
Re: user profile
a) /home/esoper01/pronto and $BSE/bin/check_licenses
Is it running in command line? Can you paste the results. If it is not running then script will not make to run it.
# $BSE/bin/check_licenses
# /home/esoper01/pronto
Paste the results or error here.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 12:15 AM
12-07-2005 12:15 AM
Re: user profile
You removed quite a few spaces from the menu I posted ealier. I cleaned it up a bit and attached it here. Try this one without editing the spaces.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 12:54 AM
12-07-2005 12:54 AM
Re: user profile
The scripts works great. Now I'm having another problem.Option A will work when user group is at primary which is current. Option B will work when I change user group is secondary manually.
How do I change the gid according to respective ERP apps via script?
Thanks
Mok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 01:00 AM
12-07-2005 01:00 AM
Re: user profile
As long as the user is a member of both groups they should have access to both options, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 01:08 AM
12-07-2005 01:08 AM
Re: user profile
It doesn't work.Apps A will work when gid is at "abc" & Apps B will work when gid is at "def".
I will have to change the gid manually each time I need to access the respective apps.
Mok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 01:16 AM
12-07-2005 01:16 AM
Re: user profile
user: groups
===================
andyt: erpA, users, erpB
mohdm: erpA, users
You can get the users' memberships by entering "groups [user]"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2005 02:58 PM
12-08-2005 02:58 PM
Re: user profile
The user groups is
userA:abc(primary),def(secondary)
ERP A will work when the group is at abc & ERP B will work when the group is at def. Is there a way to set a condition on the script that u provide to change the user group according to the ERP apps.
Having say this, user can access to only one ERP at one time.
Please help as I need to decide whether to stick to this option and get user approval or create another set of user id for ERP B.
Thanks for your time and assistance so far
Mok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 12:31 AM
12-09-2005 12:31 AM
Re: user profile
"Having say this, user can access to only one ERP at one time."
If each user is only allowed to access the ERP once, no amount of group wrangling is going to help. You will have to create two user accounts for each user that wants to access the ERP twice.
Sorry. If I had known the ERP application limited user sessions I would not have suggested the menu.