i guess most of the unix servers are configured not to allow root to ssh directly, at least sys admin will configured such way for security purpose. but in case of emergency or whatever reasons, you can try.
eg:
$ ssh -t root@hostname "su -"
- provide the root password & you are in as root.
this trick becomes handy when your password is expired or your account is locked, so that u can reset your password or unlock your account, but of cos u have to know the root password ;)
it works for solaris, unfortunately not with linux.
credit goes to my buddy - LC
Friday, October 28, 2005
Wednesday, October 26, 2005
no time to cp
i have no time to cp the tips to here unless it can be done automatically by script or something, so i guess it will there until further notice ;)
Saturday, October 22, 2005
cp -a http://komnas.com/~ashamril/tips/* http://ashterix.blogspot.com/
i like to collect linux tips & put it in one place for my reference. now i'm moving all the tips from http://komnas.com/~ashamril/tips/ to here.
Subscribe to:
Posts (Atom)