how to connect to admin accout through script


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting how to connect to admin accout through script
# 15  
Old 06-15-2006
ho grial
don't worry itws not the original login and passwd i'm not that...........
besides
i just wanted to say that if i'm working in the same machine i realy don't need
to write the ip
what i try to explain is that when i wrote the ip
it's connect to the root and run cs-search and when i give up on the ip
it's seems like it's not run the cs-search script
that's why i asked this question from the first place
but thanks for the patient and for huge help
# 16  
Old 06-20-2006
Data

hi everyone
i'm repeating on my question if anyone can help here please do so.
i can't understand according to what i wrote :
why if i'm working at the same machine
and i'm trying to connect through script from one account to other account
i need to write the ip address ?why if i'm writing to him only the login and
passwd he can't connect to the account
UNAME=amber1
PWD=(amber passwd)
(
sleep 2
echo "$UNAME"; sleep 2
echo "$PWD"; sleep 2
ksh cs-search
sleep 2)
the script did not connect to the amber account
# 17  
Old 06-20-2006
note :
i'm deliberately used in the last example that i'm connecting to
other account (user amber) because this user
and the user that i'm running the script from him both of them are
define as c-shell enviroment
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

How to say goodbye to a fellow admin via Shell script.?

I have a good friend leaving my place of employment. He's an old greybeard. His first job was sorting punch cards. I'm serious. I'm looking for suggestions on a short shell script to write in his card to say good bye. Please be creative and obfusticating! have fun with it. ... (4 Replies)
Discussion started by: os2mac
4 Replies

2. What is on Your Mind?

Regarding Admin life either as DBA or UNIX Linux admin

I am planning to choose my career as Unix/Linux Admin or a DBA. But I have come to know from forums and few admins like the job will be 24/7. I have few questions on that. Can we get "DAY" shifts in any one of the admin Job ? Can't we have shift timings in any company ? Eventhough the... (7 Replies)
Discussion started by: Jacktts
7 Replies

3. Shell Programming and Scripting

Script to Send Email to a user when an admin kills process

Can anyone create or give me a script that I can use to email a user automatically when I kill one of their processes? Or Can you give me a script to allow me to email a user (entering email manually) when a process is killed? Like showing what the PID was and a reason the admin killed it? Is... (2 Replies)
Discussion started by: JoeGazz84
2 Replies

4. What is on Your Mind?

Windows Admin switching to *nix Admin

I'm currently a Windows admin and have wanted to jump ship to the *nix side for a while now. I've been studying both through an lpic level 1 manual as I have time (focusing on debian), and a solaris 10 cert book. The problem is I only have a handful of hours a week to study, and my current job... (3 Replies)
Discussion started by: bobwilson
3 Replies

5. AIX

script for finding all the users with GID 0 ( admin group )

Hi Friends, I am trying to write a script for finding all the users with the GID 0 i.e. Admin users. can you please help me on this. (1 Reply)
Discussion started by: anoopraok
1 Replies

6. Shell Programming and Scripting

Script stops running the remaining checks after becoming admin

Hi all, I encountered a problem where my script stops running the remaining checks after becoming an admin that is written within the script. For example: ========================================= #!/bin/sh check 1 # Runs successfully check 2 # Runs successfully /com/bin/admin #... (1 Reply)
Discussion started by: seanchew
1 Replies

7. Solaris

accout

I have a sunfire V240 but nobody seems to know the root password. I can get into ALOM but not console mode. Is there a hack or something that cn get me back into this system lo reload it? (5 Replies)
Discussion started by: dewsdwarfs
5 Replies

8. Cybersecurity

One accout for FTP other to TELNET

Hi All, If I want to have two user accounts from the same grop in UNIX Solaries. However, I want one of them to be used only for FTP while the other for TELNET. Can anybody tell me how to do that? Best Regards (13 Replies)
Discussion started by: omran
13 Replies
Login or Register to Ask a Question