rootのパスなんて覚えてないし、めんどくさいからほっといた。 (そもそも Ubuntu は root のパスはユーザーには知らされないとのこと) 次の日。 apache の virtualhost 作りたいから、デフォルトのファイルをコピーしようとした cp /etc/apache2/sites-available/default /etc/apache2/sites-available/hoge cp: 通常のファイル `/etc/apache2/sites-available/hoge' を作成できません: 許可がありませんあー sudo 忘れてた。 sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/hoge オレ is not in the sudoers file. This inc
![Ubuntu で usermod -G して admin から外され、目の前真っ白になった時の対処方法](https://cdn-ak-scissors.b.st-hatena.com/image/square/d13d55754800f394be6a6e7ca675e58098675566/height=288;version=1;width=512/http%3A%2F%2F4.bp.blogspot.com%2F-u-ZAIZyEjns%2FTgSxuOB1EqI%2FAAAAAAAAAD4%2FBVTq9usvtW4%2Fw1200-h630-p-k-no-nu%2FScreenshot-%2525E8%2525AA%25258D%2525E8%2525A8%2525BC.png)