1 |
On Sat, 30 Jun 2012 21:55:27 -0500, Alecks Gates wrote: |
2 |
|
3 |
> Did you use it interactively? It should look like this: |
4 |
> alecks@linux:~$ sudo -i |
5 |
> root@linux: ~# echo "sys-boot/grub:2 **" >> |
6 |
> /etc/portage/package.accept_keywords/package.keywords.grub2 |
7 |
> |
8 |
> Just the way I like to do it. You could also do something like "sudo |
9 |
> su" and I'm sure someone else here will have all sorts of |
10 |
> alternatives. |
11 |
|
12 |
sudo -i |
13 |
sudo su |
14 |
sudo bash |
15 |
sudo zsh |
16 |
sudo screen |
17 |
sudo tmux |
18 |
|
19 |
There are plenty of ways to get a root shell with sudo. |
20 |
|
21 |
> Just like I'm sure someone has a way to do it all in |
22 |
> one line, anyway. |
23 |
|
24 |
echo "some text" | sudo tee /some/file |
25 |
|
26 |
|
27 |
-- |
28 |
Neil Bothwick |
29 |
|
30 |
Disinformation is not as good as datinformation. |