Avatar of TIMFOX123
TIMFOX123Flag for United States of America

asked on 

two id's on network

We purchased a company and they have a different nameing convention.

Some machines i log in with user name alpha and some with user id beta.

I never know if I my user id is alpha or beta.

I have a script ./alphalogin that I run to get in.  If that is not successfull I run the script ./betalogin.

I do this all the time.  I would like some sort of script that if I do not get in as apha I can do a control c  and then it would ask for my user id again while it trys with user id beta.

If I have not explained this that well, just look at the problem, and solve it inside or outside of the box.   2 ids and I never know which one is right.  I can not put my password in a script

bash / ksh / redhat / solaris





Unix OSLinuxLinux Distributions

Avatar of undefined
Last Comment
TIMFOX123
ASKER CERTIFIED SOLUTION
Avatar of point_pleasant
point_pleasant
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of TIMFOX123
TIMFOX123
Flag of United States of America image

ASKER

thx,  lookilng into this

Avatar of TIMFOX123
TIMFOX123
Flag of United States of America image

ASKER

I have tried this and it did not seem to work on the first couple of attempts.

I have not given up !!!
Avatar of TIMFOX123
TIMFOX123
Flag of United States of America image

ASKER

thx
Linux
Linux

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

71K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo