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.
Ok, so my user password worked the first time, now its doing sweet fuck all
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.
^ 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.
you've changed this, or it's default on whatever you are running;
Last edited by wuxmedia (2014-02-18 13:57:28)
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
@above: you do not know what you are talking about
$ 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'.)
$ 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)
Last edited by Nadir Point (2014-02-18 17:58:49)
Just being nit picky - It's called a thread, because guess what?
Don't take up sewing you might end up strangling yourselves.
I would quote and explain it all, but Imbecil does a great job.
^^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."
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.
Last edited by Head_on_a_Stick (2014-02-21 10:02:31)
Props to head-on-a-stick for providing non-contentious, problem-solving illumination!
All these replies and we never actually found out what the OP's problem was...
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.
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