Solved

Environment settings via telnet

Posted on 1998-10-12
3
164 Views
Last Modified: 2010-03-18
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
Comment
Question by:daveko
3 Comments
 
LVL 5

Accepted Solution

by:
cgrey earned 50 total points
ID: 1587167
Issue the command su - root
The - specifies that you want a full login shell.

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1587168
or simply
  su -
or use  
  rlogin -l root localhost
which has some advantages to su -
0
 
LVL 1

Author Comment

by:daveko
ID: 1587169
Thanks!  That works great.  Now I can really do things remotely on that machine.  
0

Featured Post

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
LDAP setup? 9 83
What is native VPN for RedHad Enterprise Linux and CentOS? 6 142
Doing a DR (Disaster Recovery) Test on Red Hat Linux Servers. 2 100
FTP output from Wireshak 6 74
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now