• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 173
  • Last Modified:

Environment settings via telnet

When I telnet into my box, I'd like to issue the "su" command and become root.  This works fine but I'd like to have the full root environment as if I logged into my box locally with that account.  My path, rights, etc.

I'm sure this is simple.  Must be so simple most books don't cover it.  Help me... I'm a win32 guy trying to convert. =P
0
daveko
Asked:
daveko
1 Solution
 
cgreyCommented:
Issue the command su - root
The - specifies that you want a full login shell.

0
 
ahoffmannCommented:
or simply
  su -
or use  
  rlogin -l root localhost
which has some advantages to su -
0
 
davekoAuthor Commented:
Thanks!  That works great.  Now I can really do things remotely on that machine.  
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now