10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
for security reasons my compagny imposes that my script be launch remotly via ssh under the users login shell.
So serverA launches the ssh command to serverB which has a local user with my script as a login shell.
Local script works like a charm on his own.
serverB$ grep... (20 Replies)
Discussion started by: maverick72
20 Replies
2. UNIX for Dummies Questions & Answers
Options::
A)$shell
B)echo $ bash
C)echo $ O
D)$ O (1 Reply)
Discussion started by: raghugowda
1 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
Excuse if am asking silly Que ... :rolleyes:
Please explain me whats difference between login and interactive shell in Linux .. Have googled but still in doubt .. :confused:
--Shirish Shukla (4 Replies)
Discussion started by: Shirishlnx
4 Replies
4. Shell Programming and Scripting
Dear All,
I need to create a shell script which will login to a unix system with user root. I also need to supply the password for root through script only instead of entering it manually.
After i am logged in to the system i need to excute all the necessary commands.
so far i have done... (7 Replies)
Discussion started by: Siddheshk
7 Replies
5. Linux
Hi
I tried with bash --login option. but the output is
siva:~$ bash --login
siva:~$
is there any way to make the shell ask for user id and password ( and login as different user instead of using sudo / su )
Thx in advance
Siva (3 Replies)
Discussion started by: Sivaswami
3 Replies
6. Shell Programming and Scripting
Any help on this ..... its a bit urgent !!!!
Hi
Can anybody provide info about the following???
i want to issue su (switch user) command from within a shell script
how to take the password without user intervention from the shell script only???? i.e using apssword which is already... (2 Replies)
Discussion started by: skyineyes
2 Replies
7. UNIX for Dummies Questions & Answers
the root shell has been changed in the file /etc/passwd, basically pointing to an incorrect directory. So now every time we login as 'su' I get the message
'su: no shell' so we can't login as superuser.
Is there an easy way to rectify this? please use step by step instructions/commands -
I... (4 Replies)
Discussion started by: homechoice
4 Replies
8. Solaris
Is there a way to edit a .profile file that would let a user have bash as their login shell?
We tried adding:
exec /bin/bash --login
to the .profile, but this produced an endless loop and we could not login using that account.
Thanks!
Aaron (8 Replies)
Discussion started by: amheck
8 Replies
9. HP-UX
Hello Everyone,
I am a newbie in unix. I was practicing shell scripts on hp unix machine.
I changed my current login shell (Korn) to Bourne shell giving the following command.
$ chsh username /usr/bash
I am using secure shell client for accessing the hp ux server.
After which i... (4 Replies)
Discussion started by: hardesh
4 Replies
10. UNIX for Dummies Questions & Answers
Hello
By default for root the login shell is /bin/sh. In the file /etc/passwd I changed it to /bin/bash. (/bin/bash does exists!) After I logged out and in again I still have /bin/sh as the shell and not /bin/bash. Are the more files to be edited? I am using SCO-Unix.
I am thankfull for any... (4 Replies)
Discussion started by: Fwurm
4 Replies