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
Pages: (2) </ 1 [2] >/

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

reply to topic new topic new poll
Topic: password protection?< Next Oldest | Next Newest >
abnorm999 Offline





Group: Members
Posts: 18
Joined: July 2007
Posted: Aug. 08 2007,03:45 QUOTE

i got the "dsl protect" and "dsl secure" commands..but how do you make them presistant on a pendrive install?
Back to top
Profile PM 
infinitycircuit Offline





Group: Members
Posts: 18
Joined: May 2007
Posted: Aug. 08 2007,07:39 QUOTE

To make passwords persistent you need to back up /etc/shadow, as this is where encrypted passwords are stored.    Obviously, type passwd to set this password.

To be prompted for the password on boot you need to:
1) Change the last lines in /etc/inittab to /sbin/getty instead of /bin/??? -login (I don't have it in front of me so I don't remember the original).
2) Add /etc/inittab to /opt/bootlocal.sh
3) Backup both of these files.

I might have messed something up as I am working from memory but that's the basic pattern.  This is off of a post by mikshaw in the thread below.
Check out this thread for more information: http://damnsmalllinux.org/cgi-bin....assword
Back to top
Profile PM 
fioddor Offline





Group: Members
Posts: 60
Joined: Aug. 2006
Posted: Aug. 08 2007,08:50 QUOTE

I've checked the topic pointed out by infinitycircuit (thank you very much!) and found a post by magicpio on July 04 2005:

http://damnsmalllinux.org/cgi-bin....4;st=85

(at the bottom of the page)
Back to top
Profile PM WEB 
infinitycircuit Offline





Group: Members
Posts: 18
Joined: May 2007
Posted: Aug. 08 2007,19:49 QUOTE

I made an error in my description of how to solve the problem and linked to the wrong post.  :blush:

/opt/bootlocal.sh needs to have 'telinit q' added.

See http://damnsmalllinux.org/cgi-bin....36;st=0 for more information.
Back to top
Profile PM 
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: Sep. 13 2007,10:35 QUOTE

I got a similar problem
i need DO NOT ask for dsl user password, BUT i need to ask for password while doing "su" command

better explain:
i'm using a dsl (technically a dsl-n) frugal installed on a hdd and loaded toram

i need a root password, both for security and to log using ssh; so i used "passwd" to change password, then added /etc/shadow into .filetool backup file list
it works

BUT
whenever i type "su" into dsl user, it change to root without asking password

then edited /etc/sudoers file, commenting the "dsl     ALL=NOPASSWD: ALL" line.
when i use "su" command it ask for password BUT it use dsl password (and i dunno what is the dsl password...)
btw, even if i type correctly dsl password, it does not work

i mean:
dsl@dslbox:~$ su
dsl@dslbox:~$
(nothing happens and i don't log into root user)
how can i solve this?
there is another file to edit?
su works different on dsl than in other linux?

added:
i need to NO insert password at boot for dsl user; so i can't use cheat code "secure"

ty for help
Back to top
Profile PM 
9 replies since Aug. 02 2007,01:00 < Next Oldest | Next Newest >

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

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: password protection?

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