Divago
Group: Members
Posts: 83
Joined: April 2007 |
|
Posted: Sep. 13 2007,10:35 |
|
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
|