LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Closed Thread
  Search this Thread
Old 02-08-2017, 11:35 AM   #31
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169

Not working too well.

It still brings up the old visudo.
 
Old 02-08-2017, 11:50 AM   #32
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by BW-userx View Post
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.
 
1 members found this post helpful.
Old 02-08-2017, 12:01 PM   #33
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by 273 View Post
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.
 
Old 02-08-2017, 12:08 PM   #34
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by BW-userx View Post
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.
 
Old 02-08-2017, 12:12 PM   #35
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
a educated fat lady that didn't lie to herself about what she knew walked into a dress store, She picked out the correct size dress the left happily.
 
Old 02-08-2017, 12:13 PM   #36
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by 273 View Post
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?

Last edited by BW-userx; 02-08-2017 at 12:18 PM.
 
Old 02-08-2017, 12:19 PM   #37
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by BW-userx View Post
I said try that not live it.

did your mom warn you before telling you to try peas?
You suggested somebody remove the guard from their bandsaw but neglected to tell them it may cost limbs...
 
Old 02-08-2017, 12:40 PM   #38
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by 273 View Post
You suggested somebody remove the guard from their bandsaw but neglected to tell them it may cost limbs...
a man is walking towards a hole in the middle of the road. what do you do tell him to go around it, or wait to see if he falls in it?

if a monkey had a banana would you give him an apple?
 
Old 02-08-2017, 12:47 PM   #39
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
A guy was hitchhiking.

A trucker pulling a trailer with 20 new cars pulled over.

He told the hitchhiker, "It's crowded in the cab, pick out a car and get in."

The trucker picked up 19 other hitchhikers.

He went 90 mph and got pulled over by a cop.

They all got speeding tickets.
 
Old 02-08-2017, 01:25 PM   #40
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
A little knowledge is dangerous.
so is a lot
 
Old 02-08-2017, 01:26 PM   #41
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Fixit7 View Post
A guy was hitchhiking.

A trucker pulling a trailer with 20 new cars pulled over.

He told the hitchhiker, "It's crowded in the cab, pick out a car and get in."

The trucker picked up 19 other hitchhikers.

He went 90 mph and got pulled over by a cop.

They all got speeding tickets.
chuckle chuckle
 
Old 02-08-2017, 01:35 PM   #42
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by BW-userx View Post
a man is walking towards a hole in the middle of the road. what do you do tell him to go around it, or wait to see if he falls in it?

if a monkey had a banana would you give him an apple?
I would suggest making a backup before taking any mind-altering drugs.
 
1 members found this post helpful.
Old 02-08-2017, 02:22 PM   #43
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by 273 View Post
I would suggest making a backup before taking any mind-altering drugs.
yes you would. because you said so, and that's the only reason.
 
Old 02-08-2017, 04:40 PM   #44
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831

Rep: Reputation: 229Reputation: 229Reputation: 229
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.

Last edited by erik2282; 02-08-2017 at 04:41 PM.
 
Old 02-08-2017, 07:40 PM   #45
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by erik2282 View Post
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.

Last edited by BW-userx; 02-08-2017 at 07:48 PM.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] User not in sudoers: How to add user? Permtion Denied for sudoers file esgol Linux - Newbie 3 07-13-2012 07:44 AM
Sudoers file gone? L-p-BTM Linux - Newbie 6 02-02-2012 11:58 AM
Fedora /etc/sudoers file and sudoers.d directory davejjj Linux - Newbie 2 10-21-2011 06:19 PM
not in the sudoers file? underworld288 Slackware 3 06-18-2007 12:48 AM
I deleted /etc/sudoers and creates a new file call sudoers but now it doesnt for visu abefroman Linux - Software 1 11-10-2005 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration