Hi guys
i know it can be a stupid question, but i need help :(
i have a dedicated server, i cant login as root (directly), but... if i login with my user and write "su -", then i have root access, but i only know to do it in console, and im a newbie in linux :(
in the past, i modify the files owned by the root with WinSCP (files like php.ini or mysql.cnf)
but now i dont know how to do it, and i need to edit some files for mysql optimization :(
any idea? :(
THANKS!!
It's in my bash alias file from long long ago so its done automatically now.
To edit a file, you can just type nano filehere
TVXQ's Jaejoong is the top “Prince” in Japan - allkpop.com :: May 5, 2009 congrats to jaejoong i thought su-su looked really cute, he is gorgeous u_u. down up. 05 May 2009 - 03:57 PM 30% of the vote is a LOT, esp. when you consider members from big Jpop bands were on the poll, too. http://www.allkpop.com/index.php/full_story/tvxqs_jaejoong_is_the_top_prince_in_japan/HOME | Bloodzilla.com - Blog:: I'm a big fan!! 153. Caitlin ~ April 22, 2008. OH MY GOD! .. cancioness todoo!.. aunque me gustaban mas con su estilo anterior u_u ., aun asi siguen siendo grosisimos! .. I forgot all about my problems.I just can listen to you. http://www.bloodzilla.com/blog/index.php?blog_id=66HOME |
To save, you press the CTRL and X button on your keyboard at the same time.
I would be very careful.
dont understand :(
yep, i know that "su" is working, but i dont know how to edit php.ini or mysql.cnf
please, help me :(
im a newbie :(
how to do it (step by step, i dont know :()
To login as root, you login with a user who has privileges to login as root, then you just type "su" and enter your root password. That is how we do it. Logging in directly as root is security issue. Paul Banks's Journal – Last.fm:: The first time was at Mac Hall, which was a little too big and cavernous for the . Perfetti i pezzi dei primi due album, qualche piccola incertezza su .. U_U E poi con Peter ovviamente, dato che siamo tipo anime gemelle ed io mi http://www.last.fm/music/Paul+Banks/+journalHOME | hi5 - DaUeKoProducciones™ Producciones:: David tenia programa para hacer videos en su pc, luego Uevo vino a reel big fish, artic monkeys, berry tarrak, maximun the hormone y muchas mas Bueno hoy temine de colgar dos videos nuevos haber si a la gente le vacila ps U_u http://daueko.hi5.com/HOME |
I suggest you go buy a book.
nano in console lets you open files.
-w eh?
Nice :) I did not know that.
Good point, it's so annoying if you ever edit a long line without using -w and it breaks it into multiple lines.
####
As for editing the INI you can create a user with root privledges by adding it to the group but if you are using winscp you will be unable to login directly as root, you can infact allow this by editing your sshd_config. There is no real problems logging in directly as root providing you have a secure password.
THANKS TO ALL :)
... but you should always run "nano" with an argument of "-w", otherwise you'll end up with line breaks in stupid places.
Good point, it's so annoying if you ever edit a long line without using -w and it breaks it into multiple lines.
####
As for editing the INI you can create a user with root privledges by adding it to the group but if you are using winscp you will be unable to login directly as root, you can infact allow this by editing your sshd_config. There is no real problems logging in directly as root providing you have a secure password.
... but you should always run "nano" with an argument of "-w", otherwise you'll end up with line breaks in stupid places.
To edit a file, you can just type nano filehere
To save, you press the CTRL and X button on your keyboard at the same time.
I would be very careful.
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks
|