Wednesday, July 29, 2009
Tuesday, July 21, 2009
How do I logout Linux user?
Q. How do I logout Linux user?
A. root or admin user can logout any user forcefully. If you are logged in as vivek and just wanted to logout or logoff, type logout command or hit
You will be logout of a login shell session or secure shell session.
Task: Linux logout user
If you would like to logout other users, you must login as root user. Next you need to use pkill command.
pkill command syntax
To see list of logged in user type who or w command:
To logout user called raj, enter:
For more information read our article - Howto: Linux kill and logout users
A. root or admin user can logout any user forcefully. If you are logged in as vivek and just wanted to logout or logoff, type logout command or hit
CTRL+D:
$ logout
You will be logout of a login shell session or secure shell session.
Task: Linux logout user
If you would like to logout other users, you must login as root user. Next you need to use pkill command.
pkill command syntax
pkill -KILL -u {username}
To see list of logged in user type who or w command:
# who
OR
# w
To logout user called raj, enter:
# pkill -KILL -u raj
OR
$ sudo pkill -KILL -u raj
For more information read our article - Howto: Linux kill and logout users
Tuesday, July 14, 2009
VideoLAN - VLC 1.0.0 has officially been released
VLC media player - A universal media player which plays video and audio files of any known format has reached the version 1.0 milestone. I especially have a liking for this media player because it is available for Windows, Linux, Mac OS X, BeOS and BSDs. And, in my experience, I never ever had to hunt for media codecs once I installed VLC on my machine. Heck, it even plays Flash (.flv) video files.
Check it out
Monday, July 13, 2009
Recovering Ubuntu After Installing Windows
There may be situation where we have to reinstall windows in a windows ubuntu dual boot system.
When you reinstall windows it will overwrite grub and ubuntu will disappear from the grub list.
In such case it is possible to recover the ubuntu grep boot loader back For more details follow the link
When you reinstall windows it will overwrite grub and ubuntu will disappear from the grub list.
In such case it is possible to recover the ubuntu grep boot loader back For more details follow the link
Sunday, July 12, 2009
Tired of sudo asking for your password?
Yes, I am.
I am tired of sudo asking for my password everytime I need to install a package with apt or aptitude. Someone could say this is the B-side of security, but not enough for me to justify it (and I’m the only user of this pc). So, even if someone could define this insane or unsafe, here there is a way to avoid that epic question.
DISCLAMER
Keep your eyes open ad your fingers ready, you can make a disaster if don’t.
Now that I’ve washed my hands, let’s keep going with the stuff. The configuration’s file we need to modify is /etc/sudoers , and no, we can’t do it with gedit/kate/nano… We need to use visudo, as written in the first line of that file. So we need to open a terminal and launch sudo visudo (and, obviously, insert the password when asked). Now scroll until the line:
and add a new line like this: you-user localhost = command you need . For me it’s as follow
Save and exit with ctrl+x and from next login sudo will stop prompting for the password. Other commands, if needed, can be addedd at the end of the line without writing a new rule. For other uses and more about setting this permissions just read man sudoers
Source: aarcudi.netsons.org
I am tired of sudo asking for my password everytime I need to install a package with apt or aptitude. Someone could say this is the B-side of security, but not enough for me to justify it (and I’m the only user of this pc). So, even if someone could define this insane or unsafe, here there is a way to avoid that epic question.
DISCLAMER
Keep your eyes open ad your fingers ready, you can make a disaster if don’t.
Now that I’ve washed my hands, let’s keep going with the stuff. The configuration’s file we need to modify is /etc/sudoers , and no, we can’t do it with gedit/kate/nano… We need to use visudo, as written in the first line of that file. So we need to open a terminal and launch sudo visudo (and, obviously, insert the password when asked). Now scroll until the line:
# User privilege specification
root ALL=(ALL) ALL
elwood ALL=(ALL) ALL
and add a new line like this: you-user localhost = command you need . For me it’s as follow
elwood localhost = NOPASSWD: /usr/bin/aptitude /usr/bin/apt-get
Save and exit with ctrl+x and from next login sudo will stop prompting for the password. Other commands, if needed, can be addedd at the end of the line without writing a new rule. For other uses and more about setting this permissions just read man sudoers
Source: aarcudi.netsons.org
Friday, July 10, 2009
Wednesday, July 8, 2009
How to Erase CD-RW/DVD-RW
If you want to Erase CD-RW/DVD-RW in Ubuntu use the one of the following options
Option 1
Open your terminal and run the following commands
umount /dev/cdrom
cdrecord dev=/dev/cdrom blank=fast
Option 2
Install brasero using the following command
sudo apt-get install brasero
After installation you need to go to Applications/Sound & Video/brasero.One of the options on the Disc menu is to erase the disk.
You can also use k3b.
Option 1
Open your terminal and run the following commands
umount /dev/cdrom
cdrecord dev=/dev/cdrom blank=fast
Option 2
Install brasero using the following command
sudo apt-get install brasero
After installation you need to go to Applications/Sound & Video/brasero.One of the options on the Disc menu is to erase the disk.
You can also use k3b.
Nice Ubuntu Themes for Jaunty and Intrepid users
Some nice ubuntu themes for jaunty and intrepid users check it out here
Subscribe to:
Posts (Atom)