Weblogs for ashirvani

Posted by ashirvani on Mon 21 Jan 2008 at 13:52
Tags: none.
ifconfig <interface> <ip> netmask <netmask>
assigning an IP to given interface with given netmask.

route add default gw <ip> <interface>
set ip as gateway for given interface.

 

Posted by ashirvani on Mon 31 Dec 2007 at 20:25
Tags: none.
In suse 10, when users want to change their password with passwd from client machines, they encounter "password truncated to 8 char", to ingnore this, you can change /etc/security/pam_pwcheck.conf entry from

password: nullok
to
password: nullok minlen=8 blowfish

for more information please read man 8 pam_pwcheck.

 

Posted by ashirvani on Tue 25 Dec 2007 at 04:55
Tags: none.
In suse 10, when users want to change their password with passwd from client machines, they encounter "password truncated to 8 char", to ingnore this, you can change /etc/security/pam_pwcheck.conf entry from

password: nullok
to
password: nullok minlen=8 blowfish

for more information please read man 8 pam_pwcheck.

 

Posted by ashirvani on Mon 24 Dec 2007 at 17:17
Tags: none.
To redirect stderr and stdout to less do:

<your command> 2>&1 | less

I did not any way to only redirect stderr to less? If you know how can
do that please help me.

Thanks.

 

Posted by ashirvani on Mon 24 Dec 2007 at 16:30
Tags: none.
To remove a package with all of its config files use:

apt-get remove --purge <package-name>

Thank you mebrahim.

 

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search