- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- create users but with same home directory?
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
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
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-14-2015 01:57 AM
12-14-2015 01:57 AM
create users but with same home directory?
Got a request from a user to create the following users (listed in bold font)and home directories.
I am not sure if we can create two different users with same directory path. can we do like this? any suggestions please? This is what the request looks like
platafor:/home/plataforma/plausr:/bin/ksh
plaadm:/home/plataforma:/bin/ksh
These two users should be part of the same group platafor
platafor:platafor
plaadm:platafor
-----
Similarly, need to create the following users with the mentioned home directories and shell.
heradm:/home/swcomun/release:/bin/ksh
herrtux:/home/swcomun/herrtux:/bin/ksh
swcomun:/home/swcomun:/bin/ksh
These three users should be part of the same group swcomun
group direcotry permission: 755
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2015 11:02 AM
12-14-2015 11:02 AM
Re: create users but with same home directory?
> Got a request from a user [...]
Did you get an explanation of why? If this is the solution, then
what, exactly, is the problem?
> I am not sure if we can create two different users with same directory
> path.
As I read it, the users do not have the "same directory path", but
one user's home directory is a subdirectory of the other user's home
directory.
> can we do like this?
Sure. It's not clear (to me) that it's a good idea, but you can do
it. Remaining questions include ownership and permissions. I would say
that, normally, a user owns his own home directory and the files in it,
and has write permission for it and the files in it. Thus, if one
user's home directory is _in_ another user's home directory, then things
are not what I'd call normal. Depending on who owns what, and what the
permissions are, I'd worry about how much trouble one of these users
could cause for the other.