KombuchaKip | http://dissolvethecrtc.ca | 07:08 |
---|---|---|
BluesKaj | Hiyas | 14:31 |
dscassel | Morning, BluesKaj | 16:39 |
BluesKaj | 'Morning dscassel | 16:40 |
genii-around | Bleh. After shovelling slush for a couple hours this morning I need a chiropractor | 16:49 |
hakimsheriff | Hi all | 21:43 |
dscassel | Hi, hakimsheriff | 21:48 |
BluesKaj | you guys use aliases in ~/.bashrc ? | 22:12 |
BluesKaj | I have a few working , but they're right at the prompt . How do I get a password alias to work after the sudo aptitude etc prompt is run | 22:16 |
dscassel | BluesKaj: You mean use an alias for your password? | 22:19 |
dscassel | I don't think you can... | 22:19 |
dscassel | (It's also not an especially good idea...) | 22:19 |
BluesKaj | yeah dscassel , I've heard ppl mention using a pw alias so they don't have to type it evertime they do sudo | 22:20 |
BluesKaj | dscassel, I'm the only user on this pc . it's just wifey and I here ...our kids are grown and gone and the grandkids are far away as well | 22:23 |
dscassel | The idea of storing my password in clear text on my harddrive makes me cringe a bit, is all. | 22:24 |
genii-around | BluesKaj: You could conceivably do something like set variable SUDO_ASKPASS to a script which outputs automatically the password and then set sudo command to always be called with -A | 22:24 |
BluesKaj | genii-around,in ~/.bashrc ? | 22:26 |
genii-around | BluesKaj: I think I'd set the ASKPASS in rc.local, then the sudo alias in the bashr | 22:27 |
genii-around | c*bashrc | 22:27 |
BluesKaj | right genii-around , I'll try that, thanks :) | 22:28 |
dscassel | Have a look at the /etc/sudoers file. You can turn off the password prompt altogether, or for a limited set of commands. | 22:29 |
dscassel | https://help.ubuntu.com/community/Sudoers | 22:29 |
genii-around | dscassel: Yes, I've often thought *buntu should have "sudo su" for instance an entry disabling it there | 22:30 |
BluesKaj | ahh, thanks dscassel | 22:30 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!