In my role at work at the moment I frequently have to become other users (mostly build management logins rather than specific user logins). To make this easier for myself I put myself in the user's .rhosts file so that I don't have to give the password every time I become the other user. This is inside a small[ish] development group so this doesn't raise any difficult security issues really. However if you 'rlogin -l newuser hostname' you get newuser's environment. This is OK sometimes but often is a bit of a pain because I need to reset DISPLAY to get X applications to work on my screen and I also lose my favourite editor, etc., etc. So is there any way to preserve the environment in the same way that would happen if I did an 'su newuser' but, on the other hand, allow me to login in without entering the password (as I can with rlogin)? I can thing of various nasty scripting ways of doing it but su is so close to what I want it seems a pity to re-invent an almost invented wheel. -- Chris Green (chris@areti.co.uk) "Never ascribe to malice that which can be explained by incompetence."