Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The scenario is that an administrator creates hostnames that are lengthy and unpronouncable. How can users workaround this? Apparently the users ~/.rhosts file cannot be used to create aliases.
The best option I can think of is environment variables. Eg. export scooby='jaoiwja234'. What I don't like is having to type a $ sign every time I reference it.
The problem is that the admins are not interested in user friendly hostnames, and do not intend to cooperate. So the mission is to create user friendly names with user priviledges. I know if there were admin support, there would probably be a dozen reasonable ways to do this.
It's a shame that the ~/.rhosts file cannot be used for this purpose.
I don't think I need to tell you this, but the customer support relationship seems to be badly broken in your situation. If there is a strange technical requirement (i.e. long, bizarre hostnames) that is preventing users from doing their jobs, there should be appropriate remediation -- not some user-level hack job.
---
Anyway, another technical suggestion to fix this organizational problem: Give some more details about the services the users need to access. There may be application-level ways to work around the problem.
For shell users who ssh to a few different servers, for example, you could set up a script and alias to it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.