You are not logged in.
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
the fact that you are receiving this message again and again means that you have never given your password so far - because this message comes only when you use sudo for the first time.
yes, sudo gives you a direct bypass to needing the root password - instead it is asking for the user password & granting root privileges.
tried entering that?
Offline
Ok, so my user password worked the first time, now its doing sweet fuck all
Offline
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
personally i have nothing against non-abusive use of the f-word, but your last post really didn't make much sense.
best to post as accurately as you can (paste code and/or terminal output and/or screenshot, combined with precise description of your setup) what is happening and where it goes wrong and how.
and what you tried to solve/troubleshoot/understand the problem.
and, i hate to ask this, but maybe your caps lock is on? or a similar case of pebkac?
Offline
...this message comes only when you use sudo for the first time.
Sorry to nitpick, but a wee qualification - 1st time in a given session.
Open another shell and you start over.
Offline
^ 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
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
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.
This is correct. I don't know about "everyone else's Debian system."
Offline
@above: you do not know what you are talking about ]:D
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)
Postpone all your duties; if you die, you won't have to do them ..
--> The very new BL forum! <--
Offline
...in the very same terminator after certain amount of time passes (10 min? 15 min? I don't know.)
That is also correct, if you want be even more nit-picky. Let us know when to assume timeouts bearing on that actual process behavior being explained next time. The first file creation splash is for people like the OP. If you don't get it, you might want to reconsider attempting to use it at all.
Last edited by Nadir Point (2014-02-18 17:58:49)
Offline
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
^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."
Postpone all your duties; if you die, you won't have to do them ..
--> The very new BL forum! <--
Offline
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
Last edited by Head_on_a_Stick (2014-02-21 10:02:31)
Offline
Offline
Nadir Point wrote:Sorry to nitpick, but a wee qualification - 1st time in a given session.
Sorry to nitpick: Depends on your configuration of sudo.
That`s true. But the answer is obviously made based on the default configuration in #!
- apt-mark hold account
Offline
Props to head-on-a-stick for providing non-contentious, problem-solving illumination!
Offline
Moar liek funnel-on-the-head
Postpone all your duties; if you die, you won't have to do them ..
--> The very new BL forum! <--
Offline
Moar liek funnel-on-the-head
lmao! v. funny dood
Offline
Moar liek funnel-on-the-head
Yes, and I especially love this:
"If you really want to use sudo without a password (!) here's how..."
- apt-mark hold account
Offline
All these replies and we never actually found out what the OP's problem was...
Offline
All these replies and we never actually found out what the OP's problem was...
It's just as well. Not understanding SUDO and a reluctance to enter passwords can be a dangerous thing.
Offline
Jimbo_G wrote:All these replies and we never actually found out what the OP's problem was...
It's just as well. Not understanding SUDO and a reluctance to enter passwords can be a dangerous thing.
Agreed, and I would never tell anyone how to set up their system so that they don't have to enter a password for sudo. Not unless I was quite sure that the OP knew just how unsecure his system would become.
- apt-mark hold account
Offline
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
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
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat