01-24-2007
Quote:
Originally Posted by kjbaumann
The nfs mount was there, my bad on the typo (no #).
The problem has been fixed however. I was doing an "su -" as opposed to just an su. When I su'd in, I was able to change the vfstab and unmount the hard NFS mount (umount -f /mount_point).
Thanks to all for the answers.
And I know, ssh, not telnet. This was here before me and was destined for removal so I spent very little time on it.
When you do a "su -" instead of a "su", all the login scripts (like .profile) of "root" are executed.
So depending on whether you want to have "root" access with your own environment settings or those of "root" you either use "su" or "su -".
Apparently there is something bad in the login scripts for root, otherwise you wouldn't get stucked.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Our V480 w/ Solaris 9 would not boot properly. After recreating the LUNs on our StorEdge A1000, and then performing a reboot, the machine just keep cycling through the boot process. No error messages, it keeps trying to reboot over and over again.
Any ideas?
We managed to do a stop+a and... (6 Replies)
Discussion started by: xnightcrawl
6 Replies
2. Shell Programming and Scripting
Hi ,
i am a beginner in AIX.
please find my doubt
I am calling the below script named test_1 by " sh test_1 | telnet "
cmd1="var1=100"
echo open $Infahost
sleep 1
echo $Infaftplogin
sleep 1
echo $Infaftppasswd
sleep 1
echo $cmd1
sleep 5
echo $var1
sleep 5
echo exit (11 Replies)
Discussion started by: sam99
11 Replies
3. Solaris
Hi Guys
I'm new here in these forums and also in Sun Solaris/Sun hardware related things.
I have some really basic questions about the way to go for "wipe" a Sun Solaris system.
I have to sell a used Sunfire v480 and I wan't to wipe the old sytem before selling it. But I'm not sure if I... (6 Replies)
Discussion started by: slowatsch
6 Replies
4. Solaris
Hello,
Can any kind soul please answer this? I want to boot a SunFire v490 with a dvd image we use to boot v480's. Is this possible? Are there caveats to doing this?
Thanks muchly,
mgb (1 Reply)
Discussion started by: mgb
1 Replies
5. Shell Programming and Scripting
Hi Experts,
I am using perl to telnet on cisco boxes. We have this stupid cisco node which does not support "terminal Length0" command.
Since I am using Net::Telnet and capturing output with
@output = $telnet->cmd('cmd');
Say
@output = $telnet->cmd('show version');
Now problem... (2 Replies)
Discussion started by: mtomar
2 Replies
6. UNIX for Dummies Questions & Answers
Greetings! My name is Jerry. I am a long time IBM i-series (AS/400) admin. I am the solo IT guy at a $50M company, we run mostly Windows servers on virtual machines, I do have one i-series, and one p-series.
Recently, we have decided to go with a legacy product that is proven and bulletproof, it... (0 Replies)
Discussion started by: jeveretts
0 Replies
7. Solaris
Hi Gurus,
I have solaris 10 server where I can telnet to one host and port <20011> with no problem..but when I am trying to telnet to another host same port (port is listening) I am not getting any success...it just says trying....
Now that I have both hosts listed in the /etc/hosts file,... (4 Replies)
Discussion started by: mohullah
4 Replies
8. Linux
Hi,
Recently I've been working a lot with telnet for various reasons (obsolete, I realise). However, I've run into an issue.
With most telnet clients, login is possible. However, with a few, typing is possible until I try to hit enter. For example, I try to type "admin" as the username and... (5 Replies)
Discussion started by: FreddoT
5 Replies
9. Red Hat
Hi All!
for lab purposes i need to run telnet server on my RedHat 7 machine.
i installed the package: telnet-server using yum.
i read that i need to edit the telnet file under /etc/xinetd.d
the problem is that there is no telnet file in that folder.
the telnet server install completed... (9 Replies)
Discussion started by: guy3145
9 Replies
10. UNIX for Beginners Questions & Answers
In the below script, i want to check telnet port status of list of servers, here where ever port working i am getting output. where ever port is not working (where ever trying) there it's command stuck, there it's needed manual interruption like ctrl+c.
without interception i want run this... (1 Reply)
Discussion started by: rajiv
1 Replies
LEARN ABOUT POSIX
umount.nfs
UMOUNT.NFS(8) System Manager's Manual UMOUNT.NFS(8)
NAME
umount.nfs, umount.nfs4 - unmount a Network File System
SYNOPSIS
umount.nfs dir [-fvnrlh ]
DESCRIPTION
umount.nfs and umount.nfs4 are a part of nfs(5) utilities package, which provides NFS client functionality.
umount.nfs4 and umount.nfs are meant to be used by the umount(8) command for unmounting NFS shares. This subcommand, however, can also be
used as a standalone command with limited functionality.
dir is the directory on which the file system is mounted.
OPTIONS
-f Force unmount the file system in case of unreachable NFS system.
-v Be verbose.
-n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip delet-
ing an entry.
-r In case unmounting fails, try to mount read-only.
-l Lazy unmount. Detach the file system from the file system hierarchy now, and cleanup all references to the file system as soon as it
is not busy anymore.
-h Print help message.
NOTE
For further information please refer nfs(5) and umount(8) manual pages.
FILES
/etc/fstab file system table
/etc/mtab table of mounted file systems
SEE ALSO
nfs(5), umount(8),
AUTHOR
Amit Gud <agud@redhat.com>
6 Jun 2006 UMOUNT.NFS(8)