/srv/irclogs.ubuntu.com/2011/02/07/#ubuntu-ca.txt

KombuchaKiphttp://dissolvethecrtc.ca07:08
BluesKajHiyas14:31
dscasselMorning, BluesKaj16:39
BluesKaj'Morning dscassel16:40
genii-aroundBleh. After shovelling slush for a couple hours this morning I need a chiropractor16:49
hakimsheriffHi all21:43
dscasselHi, hakimsheriff21:48
BluesKajyou guys use aliases in ~/.bashrc ?22:12
BluesKajI 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 run22:16
dscasselBluesKaj: You mean use an alias for your password?22:19
dscasselI don't think you can...22:19
dscassel(It's also not an especially good idea...)22:19
BluesKajyeah dscassel , I've heard ppl mention using a pw alias so they don't have to type it evertime they do sudo22:20
BluesKajdscassel, 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 well22:23
dscasselThe idea of storing my password in clear text on my harddrive makes me cringe a bit, is all.22:24
genii-aroundBluesKaj: 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 -A22:24
BluesKajgenii-around,in ~/.bashrc ?22:26
genii-aroundBluesKaj: I think I'd set the ASKPASS in rc.local, then the sudo alias in the bashr22:27
genii-aroundc*bashrc22:27
BluesKajright  genii-around , I'll try that, thanks :)22:28
dscasselHave a look at the /etc/sudoers file. You can turn off the password prompt altogether, or for a limited set of commands.22:29
dscasselhttps://help.ubuntu.com/community/Sudoers22:29
genii-arounddscassel: Yes, I've often thought *buntu should have "sudo su" for instance an entry disabling it there22:30
BluesKajahh, thanks dscassel22:30

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!