- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to create link to map users to another log...
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-21-2007 04:38 PM
05-21-2007 04:38 PM
how to create link to map users to another logical volume
I have the following three users in /home/people directory in hp-ux server.
pasco, saanam, khoso
I want to create a link file for all the three users under /home/people/ pointing to /others/ which is mounted on another logical partition.
please help
thanks
GSB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 04:45 PM
05-21-2007 04:45 PM
Re: how to create link to map users to another logical volume
If so, you could just move the existing directories to /others/, then add a symlink for each:
$ ln -s /others/pasco /home/people
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 04:55 PM
05-21-2007 04:55 PM
Re: how to create link to map users to another logical volume
ln â s /source_filename /link_filename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 04:58 PM
05-21-2007 04:58 PM
Re: how to create link to map users to another logical volume
Thanks for the reply.
I have done it but when i am doing "su - pasco" and checking "pwd" it is showing me /home/people/pasco only. I want to change it to /others/pasco which is mounted in another logical partition.
Please help
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 05:26 PM
05-21-2007 05:26 PM
Re: how to create link to map users to another logical volume
As I said, you have to move the existing files to /others/pasco, then create the symlink.
You of course can change the passwd entry to point to the new home directory location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 07:01 PM
05-21-2007 07:01 PM
Re: how to create link to map users to another logical volume
Do as Dennis suggested. If you have created the link, modify the /etc/passwd file to point to the /others/pasco for the user pasco. Repeat the same for others.
For example,
#grep pasco /etc/passwd
pasco:*:108:20::/home/people/pasco:/sbin/sh
to
#grep pasco /etc/passwd
pasco:*:108:20::/others/pasco:/sbin/sh
Regards,
Rasheed Tamton.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 07:24 PM
05-21-2007 07:24 PM