www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Disable admin ssh login menu

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
tgunr



Joined: 06 Sep 2009
Posts: 10

PostPosted: Sat Jan 16, 2010 8:30 pm    Post subject: Disable admin ssh login menu Reply with quote

Is there a safe way to disable the menu on a ssh login so that I can just ssh straight into my shell without having to stop and enter 'S' everytime?
_________________
tgunr
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
atheling



Joined: 24 Sep 2009
Posts: 212

PostPosted: Sun Jan 17, 2010 12:09 am    Post subject: Reply with quote

If you only want it to last until the next reboot, then get into the shell prompt and enter:

root@zeroshell root> chsh -s /bin/bash

I do this when I want to mount the Zeroshell's disk on my Macintosh's desktop using Macfuse and Macfusion and the ssh filesystem. Makes writing patch files to the box a lot easier.

If you want to make it permanent, you could put the same command into either pre-boot or post-boot scripts.

root@zeroshell root> chsh -help
chsh: invalid option -- 'h'
Usage: chsh [-s shell] [name]
Back to top
View user's profile Send private message
tgunr



Joined: 06 Sep 2009
Posts: 10

PostPosted: Sun Jan 17, 2010 7:35 pm    Post subject: Reply with quote

Great tip, thanks! I will making it permanent Smile
_________________
tgunr
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group