Results 1 to 10 of 10
I've recently reinstalled a server. I changed my main login's group trying to make it able to edit files inside of the server's /home/ftp directory who's group it set to ...
- 02-13-2007 #1Linux Newbie
- Join Date
- Jun 2006
- Posts
- 150
Trouble with Sudo
I've recently reinstalled a server. I changed my main login's group trying to make it able to edit files inside of the server's /home/ftp directory who's group it set to ftpusers. Apparently I didn't do this right because now I can no longer use my sudo command. I can log into root via the recover mode install through grub, but I don't know how to rectify my mistake. Any ideas?
- 02-13-2007 #2
What does your /etc/sudoers file look like?
- 02-13-2007 #3Linux Newbie
- Join Date
- Jun 2006
- Posts
- 150
hmm... that's wierd. The file's only three uncommented lines are
Code:Defaults !lecture,tty_tickets,!fqdn root ALL=(ALL) ALL %admin ALL=(ALL) ALL
- 02-13-2007 #4Just Joined!
- Join Date
- Dec 2006
- Location
- Austin, Texas
- Posts
- 26
Try adding:
<user> ALL=(ALL) ALL
- 02-13-2007 #5Linux Newbie
- Join Date
- Jun 2006
- Posts
- 150
Umm... I'm running an ftp server (vsftpd) based on local users... Would that be a good idea? I'd prefer just having a single user be able to sudo and use him as an admin. The user I want to have this right is alaric. What would I add to make him the ONLY on who can use sudo?
- 02-13-2007 #6
Use the visudo program (do not edit sudoers directly).
On another topic...Code:alaric ALL=ALL
Not really. ftp authentication credentials are sent plain text, so allowing local user logins is probably a bad idea. That's a different topic than the sudoers problem, though.I'm running an ftp server (vsftpd) based on local users... Would that be a good idea?
- 02-13-2007 #7Linux Newbie
- Join Date
- Jun 2006
- Posts
- 150
what i meant by that is that I have vsftpd set up so that it uses local users, they're not meant for anything other than the ftp server. Is it still a bad idea not to use virtual ones? Also, I heard about an option called ssl. If I enable that are the passwords still plain ASCII? Can windows ftp programs that are built into cmd handle ssl?
- 02-13-2007 #8It's not a good idea to use local accounts for ftp logins, even if that is their only purpose. You can mitigate the risks a bit by giving them a nologin shell.Is it still a bad idea not to use virtual ones?
Yes, you can require authentication over ssl (and transfer over ssl if you'd like). This can all be set up with vsftpd. Then authentication info (and transfer data if you set it up that way) will be encrypted.Also, I heard about an option called ssl. If I enable that are the passwords still plain ASCII? Can windows ftp programs that are built into cmd handle ssl?
I'm sure there are some Windows clients that support FTPS (ftp over ssl).
- 02-13-2007 #9Linux Newbie
- Join Date
- Jun 2006
- Posts
- 150
how secure is ssl? Is it like wep secure, or is it actually secure?
- 02-13-2007 #10
SSL / TLS had better be secure -- it's a very common way to encrypt http traffic (used by banks, credit card companies, etc.).
Lots of info at wikipedia: http://en.wikipedia.org/wiki/Ssl
WEP is a whole different matter. It really has nothing to do with http, ftp, or anything else we've talked about. (And it has known exploits.)


Reply With Quote