Skip to contentSkip to conversation

shortcuts and AMD

DISCUSSION Paul Furness 4 participants 5 messages Oct 15, 2002 – Oct 16, 2002

lore
Share & tools
lore
#0 lore raw

Hi.

I have an ongoing problem which is really annoying. When my home dir is mounted using AMD, some apps report the full real path to the mount point, not the virtual one.

In other words, if I open a terminal window and do "pwd" I get this:

/.automount/x4/a/x4/home/paul

when I want to get this:

/home/paul

Interestingly, if I open the terminal and then do "cd" I end up where I expect - in /home/paul

Here's a bit more tech info:

I have a server (running RH6.2) which serves home directories using NFS version 2.0 shares (I'm planing to migrate the servers to Redhat 7.3 and NFS 3 at some point soon). When I log in on a workstation, AMD automounts my home directory for me on the workstation concerned. There are varous workstation versions, but they are all either am-utils-6.0.3 or am-utils-6.0.7. They all exhibit the problem.

The amd.conf file is more or less all defaults, and the amd.home file (which is shared using NIS) has just this in it:

#defaults
/defaults \
opts:=rw,intr,grpid,hard,nosuid,quota,proto=udp;type:=nfs

#general users

*       host==x4;type:=link;fs:=/a/x4/home;sublink:=${key} || \
        rhost:=x4;rfs:=/a/x4/home;sublink:=${key}

Admittedly, I didn't create this set up - it was here when I arrived, and I'm only just now looking at changing it. I looked at AMD docs and then a book about it, so I believe that the "general users" line is
saying: If the user logs in to x4 (the server with home dirs on it) then make a link to their home directory in /home. Otherwise, mount it using NFS, but if more users log in, don't create a new mount for each of them; just use the one already there and link to it.

This problem is actually even worse in tcsh because it reports the full path in the prompt (by default).

Anyone seen this? Anyone know where or how to stop it happening?

Signature · 5 lines
Paul Furness

Systems Manager

2+2=5 for extremely large values of 2.
#1 lore raw

Forgot to mention: I'm using bash. I did try a number of other shells but get the same problem.

Quoted 67 lines · Paul Furness

Hi.

I have an ongoing problem which is really annoying. When my home dir is mounted using AMD, some apps report the full real path to the mount point, not the virtual one.

In other words, if I open a terminal window and do "pwd" I get this:

/.automount/x4/a/x4/home/paul

when I want to get this:

/home/paul

Interestingly, if I open the terminal and then do "cd" I end up where I expect - in /home/paul

Here's a bit more tech info:

I have a server (running RH6.2) which serves home directories using NFS version 2.0 shares (I'm planing to migrate the servers to Redhat 7.3 and NFS 3 at some point soon). When I log in on a workstation, AMD automounts my home directory for me on the workstation concerned. There are varous workstation versions, but they are all either am-utils-6.0.3 or am-utils-6.0.7. They all exhibit the problem.

The amd.conf file is more or less all defaults, and the amd.home file (which is shared using NIS) has just this in it:

#defaults
/defaults \
opts:=rw,intr,grpid,hard,nosuid,quota,proto=udp;type:=nfs

#general users

*       host==x4;type:=link;fs:=/a/x4/home;sublink:=${key} || \
        rhost:=x4;rfs:=/a/x4/home;sublink:=${key}

Admittedly, I didn't create this set up - it was here when I arrived, and I'm only just now looking at changing it. I looked at AMD docs and then a book about it, so I believe that the "general users" line is
saying: If the user logs in to x4 (the server with home dirs on it) then make a link to their home directory in /home. Otherwise, mount it using NFS, but if more users log in, don't create a new mount for each of them; just use the one already there and link to it.

This problem is actually even worse in tcsh because it reports the full path in the prompt (by default).

Anyone seen this? Anyone know where or how to stop it happening?

Signature · 10 lines
Paul Furness

Systems Manager

2+2=5 for extremely large values of 2.

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 5 lines
Paul Furness

Systems Manager

2+2=5 for extremely large values of 2.
#2 lore raw

shell web frontend

dear all,

I am looking for any kind of way of accessing to a linux server through a proxy with only HTTP traffic enabled.

I have found a few of them PHP based, but they cannot execute interactive commands...

Is there any other tool that can be useful? I know about the security concerns... I just have to have a linux box where I could connect to other servers...

Many thanks in advance

Miguel

#3 lore raw

Re: shell web frontend

Try webmin (http://www.webmin.com). It has web interfaces (http or
https) to execute commands or access the shell, very easy, very good.

Balrog.

Quoted 12 lines · Miguel González Castaños

dear all,

I am looking for any kind of way of accessing to a linux server through
a proxy with only HTTP traffic enabled.

I have found a few of them PHP based, but they cannot execute
interactive commands...

Is there any other tool that can be useful? I know about the security
concerns... I just have to have a linux box where
I could connect to other servers...

Quoted 8 lines

Many thanks in advance

Miguel

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

_______________________________________________________________________
Yahoo! GeoCities
Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e acessórios.
http://br.geocities.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

Re: shell web frontend

on "10-15-2002" "The Daemon Balrog" writ:

: Try webmin (http://www.webmin.com). It has web interfaces (http or
: https) to execute commands or access the shell, very easy, very good.

... ciao:

security problems have been reported with 'webmin'. i would suggest
a search of 'securityfocus.com' before you deploy ...

Signature · 2 lines
... i'm a man, but i can change,
    if i have to , i guess ...