Все наверно знают, что в sudo можно отключить запрос пароля через задание #tail -n1 /etc/sudoers andrmart ALL = (root) NOPASSWD: ALL А вот как этим управлять более изощеренно? Почитав man sudoers я нашел, что есть переменная timestamp_timeout которая влияет на время между запросами: timestamp_timeout = XX - задает время между запросами в XX минут (по умолчанию - 5 минут) timestamp_timeout = 0 -...
...slirp was designed for. I just came up with what I think is a pretty slick script for easily setting up a slirp-based PPP session running through an SSH session. BEGIN EXAMPLE jdimpson@artoo:~$ sudo ~/bin/ppp2slirp foo.com running under sudo, assuming you want to run ssh as jdimpson, not as root Using interface ppp0 Connect: ppp0 /dev/pts/11 local IP address 10.0.2.15 remote IP address 192...
... Life at the house is ever fluid though. Last night, after "Methods in Art Historiography", Val called and asked if I wanted to come to the pet shop. She and Job adopted a dog and have named him Sudo. (It's a computer science joke ). He's cute, kinda scrappy and scruffy but friendly. We'll see how well Nietzsche takes to him.\ I should go back to being productive; I'm off in an hour, and I've...
...шелла, нужно применить такую уличную магию: apt-get install libpam-umask echo 'session optional pam_umask.so umask=002' >> /etc/pam.d/common-session К сожалению, такая магия не работает в sudo, т.к. sudo своё ставит значение по умолчанию, лечить добавлением параметра !umask к ключу Defaults в /etc/sudoers, примерно так: Defaults env_reset,!umask root ALL=(ALL) ALL %admins ALL=(ALL) ALL...
This is dated 2008-05-24, and is currently the newest script in my collection. sudo-rsync lets you perform a data & metadata copy as the root user (so perms & ownership are preserved) without forcing you to log in to the remote system as root (good for Ubuntu systems and anyone else appropriately paranoid about allowing root network logins.) BEGIN EXAMPLE sudo-rsync /source/dir/ remotehost:/remote/dir/...
...
* dseditgroup -o edit -a crasch www
Remove a user from a group:
* dseditgroup -o edit -d crasch www
Check to see if user is a member of group:
* To see what commands you can run as sudo on a system:
$ sudo -l
* Add the following to your /etc/sudoers file to run any command as root without a password:
(ALL) NOPASSWD: ALL
* To inspect what commands another user may run: ...
...последней версии с официального сайта (весит около 9М) 2. Распаковываем куда-нибудь скачанный архив (например в /usr/local/distr/) 3. Перемещаем папку navigator в /usr/local/ (команда sudo mv /usr/local/distr/navigator/ /usr/local/ ) 4. Создаем ссылку ln -s /usr/local/navigator/navigator /usr/local/bin/navigator 5. Пробуем через консоль запустить командой navigator Если вылазят...
Passos: 1) Edite o arquivo /etc/sudores shell> sudo vi /etc/sudoers 2) Adicione o usuário que será super usuário sem a necessidade de digitar senha, exemplo: usuario ALL=(ALL) NOPASSWD: ALL Essa dica eu peguei com o Leonardo Vaz . :)
So I made this icons yesterday after reading a comic online. I think they are hysterical, but that's only because I'm a Computer Science dork. I figured I would post them up because maybe one of you will get a giggle out of them like me. As always feel free to use them, but I love comments and credit!
...too, it matches my AIM icon (which is a fox). By the way, I looked at Baka-Updates last night: it looks like there's a new sub group? It's called Syndicate, and they have 11&12 out already. Like sudo, they have no website. Hopefully they can race with sudo to see who gets eps out. :] Sudo's been slow for the past few weeks, they better get their act together. Well, I'm gonna head off for food...