SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-02-16 17:57:57

77Thatguy77
New Member
Registered: 2014-02-12
Posts: 4

Sudo requires a password, when every source says it shouldnt

im trying to run a file share and I seem to a hit a wall every time

when I enter "sudo apt-get install cifs-utils" its comes up with this

We trust you have received teh usual lecture from the local System Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2)think before you type.
#3) with great poewr comes great responsibility.

[sudo] Password for *my account* 

and i've tried every source and they say that Sudo should just give you a direct bypass to needing the root password, and mine seems to just give me the finger on that :l, so help would be much appreciated.

Offline

Help fund CrunchBang, donate to the project!

#2 2014-02-16 18:10:10

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: Sudo requires a password, when every source says it shouldnt

Offline

#3 2014-02-17 23:50:18

77Thatguy77
New Member
Registered: 2014-02-12
Posts: 4

Re: Sudo requires a password, when every source says it shouldnt

Ok, so my user password worked the first time, now its doing sweet fuck all  neutral

Offline

#4 2014-02-18 00:23:43

iann
#! Die Hard
Registered: 2010-09-10
Posts: 720

Re: Sudo requires a password, when every source says it shouldnt

You're not helping yourself here.  If you say what you're trying to do, what you actually do, and what happens, then you might get a solution (99% of the time you will from this forum, if you're patient enough).  Swearing and criticising when you are clearly barking up the wrong tree isn't going to get anywhere.

Offline

#5 2014-02-18 13:33:56

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: Sudo requires a password, when every source says it shouldnt

Offline

#6 2014-02-18 13:37:07

Nadir Point
Member
From: CO
Registered: 2014-02-10
Posts: 25

Re: Sudo requires a password, when every source says it shouldnt

Offline

#7 2014-02-18 13:56:43

wuxmedia
wookiee madclaw
From: Back in Blighty
Registered: 2012-03-09
Posts: 1,478
Website

Re: Sudo requires a password, when every source says it shouldnt

^ what? maybe on your system, but I think everyone else's debian system - it comes up the first time it's ever run, then it never comes up - ever.
until you re-install.
or
you've changed this, or it's default on whatever you are running;
Defaults lecture=always

Last edited by wuxmedia (2014-02-18 13:57:28)

Offline

#8 2014-02-18 16:39:44

ew
#! Die Hard
Registered: 2012-09-27
Posts: 1,975

Re: Sudo requires a password, when every source says it shouldnt

Not true. If the sudo password isn`t asked for, then you have some serious security-issue with your setup. Actually, it shouldn`t even stick trough the current session. If you launch terminator and type sudo, it will ask for the password the first time, and then it will not ask any more in that instance of terminator. But if you close terminator, and launch it again, then you should be asked for the password again the next time you use sudo in terminal.

Think about it. Whats the point with a sudo password if you just have to enter it once. Then the password is redundant, and your linux installation is the most insecure linux-system ever, as anyone can install programs or do anything to your system... Deep down you know that this is wrong, and if it is that way with you, then you seriously need to do something about it.

Edit: When I think about it. Could it be that you are confusing it with unlocking the gnome-keyring? Because that is done only once manually, and after that, it will automatically be unlocked at login , as long as you don`t use auto-login.

Last edited by ew (2014-02-18 16:44:10)


- apt-mark hold account

Offline

#9 2014-02-18 17:00:39

Nadir Point
Member
From: CO
Registered: 2014-02-10
Posts: 25

Re: Sudo requires a password, when every source says it shouldnt

Offline

#10 2014-02-18 17:15:45

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2012-03-22
Posts: 1,026
Website

Re: Sudo requires a password, when every source says it shouldnt

@above: you do not know what you are talking about  devil

1) This:

$ sudo <command>
We trust you have received teh usual lecture from the local System Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2)think before you type.
#3) with great power comes great responsibility.

[sudo] Password for iMBeCil: 

shows up only once per #! install. I.e., this shows up first time you issue 'sudo' after fresh #! installation, only. (Actually, this shows up in cb-welcome script, but only because cb-script needs 'sudo'.)

2) This:

$ sudo <command>
[sudo] password for iMBeCil:

shows up in every new terminator, AFTER 1). And even in the very same terminator after certain amount of time passes (10 min? 15 min? I don't know.)

I think that some of you talk about 1), and others about 2).

Last edited by iMBeCil (2014-02-18 17:16:20)

Offline

#11 2014-02-18 17:57:55

Nadir Point
Member
From: CO
Registered: 2014-02-10
Posts: 25

Re: Sudo requires a password, when every source says it shouldnt

Last edited by Nadir Point (2014-02-18 17:58:49)

Offline

#12 2014-02-18 21:20:09

wuxmedia
wookiee madclaw
From: Back in Blighty
Registered: 2012-03-09
Posts: 1,478
Website

Re: Sudo requires a password, when every source says it shouldnt

Just being nit picky - It's called a thread, because guess what?
It's threaded!
Don't take up sewing you might end up strangling yourselves.

I would quote and explain it all, but Imbecil does a great job.

Offline

#13 2014-02-18 21:43:33

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2012-03-22
Posts: 1,026
Website

Re: Sudo requires a password, when every source says it shouldnt

^Thanks wuxmedia.

^^Not quite sure if you are trying to p*ss me off, or what (and why? NB: engRish is not my native language) but here it is: "Debian's sudo package has the password timeout set to 15 minutes. This means that when you first enter your password, as long as you don't wait more than 15 minutes between sudo commands, you won't have to enter it again. The password timeout can be immediately expired with sudo -k."

Offline

#14 2014-02-19 22:29:50

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Sudo requires a password, when every source says it shouldnt

Dear me this is getting fractitous...
In reply to 77Thatguy77:
If you really want to use sudo without a password (!) here's how...
open a terminal & type "sudo nano /etc/sudoers"
enter your user password (the password you use to log on with)
scroll down to the bottom of the file and add the 2 lines:
<your user name> ALL=(ALL:ALL) ALL
<your user name> ALL=(ALL) NOPASSWD: ALL
(where <your user name> is the name you log on with)
press <ctrl> & "x" together then press "y" and enter.
Good luck smile

Last edited by Head_on_a_Stick (2014-02-21 10:02:31)

Offline

#15 2014-02-19 22:39:26

dot|not
#! Junkie
From: /dev/null
Registered: 2013-09-05
Posts: 371

Re: Sudo requires a password, when every source says it shouldnt

Offline

#16 2014-02-20 00:11:17

ew
#! Die Hard
Registered: 2012-09-27
Posts: 1,975

Re: Sudo requires a password, when every source says it shouldnt


- apt-mark hold account

Offline

#17 2014-02-20 14:22:03

Nadir Point
Member
From: CO
Registered: 2014-02-10
Posts: 25

Re: Sudo requires a password, when every source says it shouldnt

Props to head-on-a-stick for providing non-contentious, problem-solving illumination!

Offline

#18 2014-02-20 14:59:36

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2012-03-22
Posts: 1,026
Website

Re: Sudo requires a password, when every source says it shouldnt

Moar liek funnel-on-the-head  tongue

Offline

#19 2014-02-20 15:04:52

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Sudo requires a password, when every source says it shouldnt

Offline

#20 2014-02-21 12:22:38

ew
#! Die Hard
Registered: 2012-09-27
Posts: 1,975

Re: Sudo requires a password, when every source says it shouldnt


- apt-mark hold account

Offline

#21 2014-02-21 13:26:35

Jimbo_G
#! Barcalounger
From: Paris, France
Registered: 2009-12-08
Posts: 136

Re: Sudo requires a password, when every source says it shouldnt

All these replies and we never actually found out what the OP's problem was...  roll

Offline

#22 2014-02-21 17:49:26

Nadir Point
Member
From: CO
Registered: 2014-02-10
Posts: 25

Re: Sudo requires a password, when every source says it shouldnt

Offline

#23 2014-02-22 11:14:59

ew
#! Die Hard
Registered: 2012-09-27
Posts: 1,975

Re: Sudo requires a password, when every source says it shouldnt


- apt-mark hold account

Offline

#24 2014-02-23 01:14:53

77Thatguy77
New Member
Registered: 2014-02-12
Posts: 4

Re: Sudo requires a password, when every source says it shouldnt

Ok, so (dont turn this into a "super user shouldn't do this argument" .... please....) Sudo is asking for my pass word, so the first time, my user password worked for Sudo, but now Sudo wont accept my user password and i have no idea what to do :l help please.

Offline

Be excellent to each other!

#25 2014-02-23 01:20:54

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Sudo requires a password, when every source says it shouldnt

Could you tell us exactly what has happened so far? What commands are you trying to do? Have you changed anything regarding sudoers or users?

Post the terminal output with an example of what you are talking about

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo