Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Prevent DSL user from being logged in at startup?< Next Oldest | Next Newest >
icepick Offline





Group: Members
Posts: 38
Joined: Dec. 2006
Posted: Oct. 12 2007,05:46 QUOTE

I start my DSL in mode 2 (terminal only).. is there a way I prevent DSL from logging in my DSL user when I boot up, and just show me a userid/passwd question when all booted up?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Oct. 12 2007,05:53 QUOTE

Do you mean a login prompt?  You can take a look in /etc/inittab and use getty's instead of bash invocations.  If you need more info, check out mikshaw's thread on this - it's probably what you're looking for.
Back to top
Profile PM 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: Oct. 12 2007,07:18 QUOTE

You want the multiuser inittab.
Back to top
Profile PM 
icepick Offline





Group: Members
Posts: 38
Joined: Dec. 2006
Posted: Oct. 12 2007,08:46 QUOTE

Well, all I want is the unit not to login when I boot it up.. I only want SSH access at runlevel 2.
I checked mikshaws posting, but so far I didnt get the result I was looking for.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 12 2007,14:32 QUOTE

Is this what you were looking at?
http://damnsmalllinux.org/cgi-bin....;t=7936

This is what I do to get four virtual terminals with login prompt. I've used ssh a couple of times on this system without trouble, although the how-to does not cover ssh. You will need to start sshd yourself in order to acces the system that way. Trying to use runlevel 2 might actually be your problem, though, since that how-to was designed for runlevel 5. You could modify inittab to work for 2, but you'd get the same result as in runlevel 5. Runlevels are not "set in stone"; they're simply provided as a way to easily switch from one environment to another without manually changing things every time. You can set up any runlevel to behave like any other.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
4 replies since Oct. 12 2007,05:46 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Prevent DSL user from being logged in at startup?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code