On Saturday 03 August 2002 00:38, Jon Clausen wrote:
CMIIW,
OK, now this is one I hadn't heard before, and it's not in any of the online dictionaries either (at least 'dict' can't find it). What's it stand for?
and this might be semantics, but plain 'su' while changing UID doesn't change environmet variables. Whereas 'su -l' constitutes a 'real' login with change of environment vars, pwd and whatever.
So to become root in *every* respect, you'd need to: su -l
No ?
No, not really. A user is defined by the User ID, not by the environment variables. As others have pointed out, it could be that the guy is trying to use an alias that isn't defined if you just 'su', in which case your solution would be right, but that should give an error along the lines of "command not found", it shouldn't say that you're not permitted. Permissions have nothing to do with env vars (yeah, ok, XAUTHORITY, but I'm not writing a book here :). I think it requires more info from the original poster before a solution can be given. //Anders