- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: personalized accounts on multiple packages
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
05-16-2011 03:00 PM
05-16-2011 03:00 PM
Additionally, each employee shall have an user name and password (e.g. supplied by ldap), which he can use to ssh to each of the packages. Is this possible?
At work packages live in /pkg/$packagename/ and home directories live inside the package.
But that means the home dir path contains both the package name and the user name. Which, for 10 employees and 10 packages results in 100 different system users and 10 different accounts per user. - That cannot be the way it should work.
What is the way this is usually solved?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2011 10:10 PM
05-16-2011 10:10 PM
Re: personalized accounts on multiple packages
If I define a group that a user is a member of for each package, then I simply have 1 user ID which has a number of secondary groups associated with it for each package that I want the user to have access to - I then just control access to the package by group permissions rather than by user permissions.
man 4 group
for details... you may need to link /etc/logingroup to /etc/group to use secondary groups...
For the home directory issue - why do the users need to have a home directory associated with each package? do they create files/data or something that needs to be kept seperate? I suppose the simplest thing would be to still have the directory structure, but not the seperate users and simply have some simple menu at login time which moves does a "cd" into the appropriate directory.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2011 01:58 AM
05-17-2011 01:58 AM
Re: personalized accounts on multiple packages
The only issue left is, whether it is possible to have only a single account for each employee with a valid home directory on each package.
I would really like to have some kind of valid home directory on all packages to be able to store some per user configuration like .profile, .ssh/authorized_keys, etc.
At the moment there are no personalized users and every one just logs in as the almighty application user. Which is easy, but clearly no good idea.
Having a separate personalized account as anywhere else would be great, but seems to fail because of the issue with the home directory.
The only other compromise would be to have a second read only user on each package, where all the people usually log in. This would be much less dangerous as the first case, but will still have all the other disadvantages.
I was hoping the scenario of different employees working with different applications would be quite common, and was wondering how it is done in other companies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2011 04:07 AM
05-17-2011 04:07 AM
SolutionMost modern applications don't have users physically logging in to UNIX systems anyway (there's usually a client-side app, or an application server in-between), so I suspect this situation is perhaps less common than you think.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2011 07:55 AM
05-17-2011 07:55 AM
Re: personalized accounts on multiple packages
Guess real personalized accounts are therefore just not realizable, as I am not in charge of making such big changes. - So I will probably go with the single additional read only user on each package and some kind of shell magic allow different config for the employees even though they use the same user.
Thanks a lot for your answers.