[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [root access with ProFTPD]



>Maybe you would first need to upload the files as 'admin' then use ssh to
>login as 'admin' and then su to root and there you go. 

If he's wanting to do this on a file by file basis.. perhaps due to being uncomfortable working in the linux text editors, a "sort-of" safer work around is to go in as su *via SSH* cd to the directory where the file is-  chown newowner filename.ext -change owner to his ftp username (assuming that's the server "admin")... then make his file changes via whatever means he's comfortable with.. upload the file and then go back in and chown it back to root...

Maybe not the safest route but only that one file will be vulnerable while the ownership is changed..

One of the very nice people here told me how to do the chown thing when I first started messing with the server files, I was not comfy with any of the editors on linux and used this method to make a couple of quick changes that I needed *right now* bud did not have time to learn the vi or pico or whatever you want to use from the plethora of editor choices... 

Again.. not the cleanest way or safest way... but it works in a pinch until someone who is just waking up to realize they actually *do* have to learn some command line stuff to work with a RaQ has time to do this...

Still trying to deal with Linux being an 
OS and not a guy with a blanket..
WS