Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > logging in as admin from another users terminal/shell

logging in as admin from another users terminal/shell
Thread Tools
ism
Grizzled Veteran
Join Date: Sep 2001
Status: Offline
Reply With Quote
Jun 9, 2003, 03:37 PM
 
I've got accounts set up for me and my housemate at home, me being the admin user. Sometimes, to save logging my housemate out I'll do various tasks via the terminal by logging in as me.

However, when I log in I get the following message:

tcsh: Cannot open /etc/termcap
tcsh: using dumb terminal settings

Then when I'm logged in the cursor keys won't work, i.e. up won't list the previous command instead it gives ^[[A

it's not a huge problem, but I'd like everything to work as normal, any hints?

Cheers,

Si
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Jun 9, 2003, 06:17 PM
 
Originally posted by ism:
I've got accounts set up for me and my housemate at home, me being the admin user. Sometimes, to save logging my housemate out I'll do various tasks via the terminal by logging in as me.

However, when I log in I get the following message:

tcsh: Cannot open /etc/termcap
tcsh: using dumb terminal settings

Then when I'm logged in the cursor keys won't work, i.e. up won't list the previous command instead it gives ^[[A

it's not a huge problem, but I'd like everything to work as normal, any hints?
From your housemates terminal do this:

su - youruserid

(don't forget the "-"). It should work.. works for me.
-DU-...etc...
     
Fresh-Faced Recruit
Join Date: Aug 2001
Status: Offline
Reply With Quote
Jun 9, 2003, 09:20 PM
 
Originally posted by ism:
I've got accounts set up for me and my housemate at home, me being the admin user. Sometimes, to save logging my housemate out I'll do various tasks via the terminal by logging in as me.

However, when I log in I get the following message:

tcsh: Cannot open /etc/termcap
tcsh: using dumb terminal settings

Then when I'm logged in the cursor keys won't work, i.e. up won't list the previous command instead it gives ^[[A

it's not a huge problem, but I'd like everything to work as normal, any hints?

Cheers,

Si
If that doesn't work, you could always setup SSH in the System Preferences.

This is how I have all of the workstations at work setup. Then, anyone can be logged in. I start up the Terminal, then in the File Menu, New Command.

Type ssh -l administrator_account name your_ip_address and enter.

Type in the admin password and there you go.

I hope this helps.

Scott
     
ism  (op)
Grizzled Veteran
Join Date: Sep 2001
Status: Offline
Reply With Quote
Jun 10, 2003, 01:02 PM
 
Originally posted by utidjian:
From your housemates terminal do this:

su - youruserid

(don't forget the "-"). It should work.. works for me.
woohoo. Works fine. Even without the "-" (with the "-" is the -l option, full login, without the "-" is the -m option), I've found no problems so far.

Ace,

Cheers,

Si
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:30 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2