DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by BW-userx
Notice no need for a password.
There is every need for a password. With this kind of setup youir day-to-day user can just execute a script requiring sudo. If you accidentally double-click in a file manager window or accidentally allow a bash completion you don't want you run it as root if it includes sudo.
There is every need for a password. With this kind of setup youir day-to-day user can just execute a script requiring sudo. If you accidentally double-click in a file manager window or accidentally allow a bash completion you don't want you run it as root if it includes sudo.
a fat lady walks into a dress store, tries on a dress, it does not fit. So she tries it again. it still does not fit, so she has someone come and help her.
He tells her if it does not fit then stop trying it on.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by BW-userx
a fat lady walks into a dress store, tries on a dress, it does not fit. So she tries it again. it still does not fit, so she has someone come and help her.
He tells her if it does not fit then stop trying it on.
Nice story.
ghe Šopassword setup you describe is pretty-much the same as logging in as root. I have seen some issues with running things with root instead of user also. Accidentally type "sudo" before an application then find it doesn't work for the usual user, for example.
Lets not be silly here. i respect your choice to run a system like that but to suggest another do so without adequate warning I had to reply to.
Nice story.
ghe Šopassword setup you describe is pretty-much the same as logging in as root. I have seen some issues with running things with root instead of user also. Accidentally type "sudo" before an application then find it doesn't work for the usual user, for example.
Lets not be silly here. i respect your choice to run a system like that but to suggest another do so without adequate warning I had to reply to.
I said try that not live it. I have never ran into that problem you speak of.
did your mom warn you before telling you to try peas, or did she think you where old enough to figure it out on your own?
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831
Rep:
BW is suggesting you be a cowboy. There is a reason (a darn good one) for operating as a non-privileged user for day-to-day tasks... is all. Which is why sudo is important, more control over what a user can do. If a systems administrator wants a user to be able to run the adduser command and nothing else(that requires elevated privileges) then sudo is the man for the job. password-less? Come on, BW (Senior Member) you should know better than suggesting something like that to a newb.
BW is suggesting you be a cowboy. There is a reason (a darn good one) for operating as a non-privileged user for day-to-day tasks... is all. Which is why sudo is important, more control over what a user can do. If a systems administrator wants a user to be able to run the adduser command and nothing else(that requires elevated privileges) then sudo is the man for the job. password-less? Come on, BW (Senior Member) you should know better than suggesting something like that to a newb[ee]
go look at his side bar. here let me show it to you
Quote:
Fixit7 Senior Member
Contributing Member
for one,
two having a no password.
for one to say "There is every need for a password." if that where a true statement, Then the ones that developed this sudo file would have never put in the ability to have No Password.
This ability to use sudo without a password NULL and VOIDS that previous statement.
another point, he is using this as a test install.
Quote:
Test driving Debian.
what better time to experiment and hone ones skills? Not that that was the reason I told him to give it a try. look up with word 'try' .
another point, if one does not allow someone the ability to screw up something then how will they learn anything?
do you think I started using this sudo no password before or after I was labeled as a newbee in Linux Questions?
Nothing wrong with setting up your own user as a no password account.
Nothing wrong with giving someone else no password rights.
if you say it is not a good idea on this biases
Quote:
user can just execute a script requiring sudo. If you accidentally double-click in a file manager window or accidentally allow a bash completion you don't want you run it as root if it includes sudo.
so he or she has no password and makes that mistake do we blame it on the fact that it was because one gave that user a no password priveages ?
NO that is scapegoating.
if he or she had to put in a pass word that would still not have stopped them from running that vary same command. It would only have made them preform one more step before entering it in to the command line.
it matters not if one has to use a password or not if they run the wrong command then the damage is done regardless if they put in a pass word or not.
even in root one can make a mistake where they still do not have to use a pass word.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.