Other Help Topics :: password protection?



i got the "dsl protect" and "dsl secure" commands..but how do you make them presistant on a pendrive install?
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

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)

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.

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

Next Page...
original here.