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: Other linux type boot..., need to login before using system.< Next Oldest | Next Newest >
khurdp Offline





Group: Members
Posts: 43
Joined: Jan. 2005
Posted: Oct. 09 2005,02:38 QUOTE

Hello guys,
 I remember somebody posting a link on how to do this but can't find it so....

 I need to login to the system and only then be able to use it don't want to boot into user dsl and be able to su ... want a rather secure system.

thank you,
Prasad
Back to top
Profile PM YIM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 09 2005,14:21 QUOTE

One simple way is to boot with the "secure" option.
Another way is to run the passwd command as root and then backup /etc/shadow.

Here's a more complicated thing you can try:
http://damnsmalllinux.org/cgi-bin....36;st=0

These actions will *not* prevent dsl from using "sudo command" to gain root access without a password.  Changing that behavior will mean some DSL scripts might not work unless you run them from a terminal (i haven't tested that theory).
The best method of staying safe is to log out when you leave the machine. DSL seems to be pretty tight against remote access.  You could install screen if you need to keep apps running after you log out and reconnect to them when you log in again.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
khurdp Offline





Group: Members
Posts: 43
Joined: Jan. 2005
Posted: Oct. 09 2005,14:55 QUOTE

Quote (mikshaw @ Oct. 09 2005,10:21)
These actions will *not* prevent dsl from using "sudo command" to gain root access without a password.  Changing that behavior will mean some DSL scripts might not work unless you run them from a terminal (i haven't tested that theory).

Thank you very much Mikshaw for your reply and your postings out there.

I removed dsl user from the /etc/sudoers file to stop dsl be able to sudo but I guess I will revert back, add another user and kinda treat both root and dsl as root.
Back to top
Profile PM YIM 
2 replies since Oct. 09 2005,02:38 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Other linux type boot...

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