if you loose access to sudo and you don't have the root acount enabled to correct it
do the following easy steps
restart with a live cd in the disk tray and make sure the bios is set to boot from the cd (you can ofcourse but from usb and other ways too but that's not the point here)
if the live cd is xubuntu mounting the disk is just right click on the drive and hit
mount
navigate to /usr/bin/ through terminal
and when you are in execute
sudo chown root:root sudo
sudo chmod 4711 sudo
and you are done
restart and put boot options in bios back to normal
October 27, 2012
xubuntu 12.10 extract here crash
if you right click on an archive under thunar in xubuntu it crashes!!!
An easy way out is to unistall file-roller
sudo apt-get remove file-roller
and install xarchiver *
sudo apt-get install xarchiver
* which is cooler because it offers also command line . in command line mode it can be used as a no-nonsense easy alternative to all known compression formats within JUST A SINGLE command name!!!
An easy way out is to unistall file-roller
sudo apt-get remove file-roller
and install xarchiver *
sudo apt-get install xarchiver
* which is cooler because it offers also command line . in command line mode it can be used as a no-nonsense easy alternative to all known compression formats within JUST A SINGLE command name!!!
October 25, 2012
How to mount a shared windows partition from linux with just one dollar :P:P:P:P
Yesterday while trying to mount remotely (LAN) a windows partition with the name "D" from linux i tried this :
sudo mount -t cifs //192.168.1.7/D -o username=giannis,password=topsecret /mnt/D
... after some tries i "discover" ... that i needed to pad a dollar sign "$" in front of the partition name to work...
so the command became:
sudo mount -t cifs //192.168.1.7/D$ -o username=giannis,password=topsecret /mnt/D
i executed it and everything went fine...
but ...what happened here was that
with just one dollar i finally mounted my windows partitions..
if Dollar ($) = Money
so one can say...
that the Money not only corrupts humans
but also the machines ...
:P:P:P:P
:P:P:P:P
:P:P:P:P
:P:P:P:P
:P:P:P:P
:P:P:P:P
:P:P:P:P
:P:P:P:P
:P:P:P:P
:P:P:P:P
Subscribe to:
Posts (Atom)