Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I had everything running great but then I noticed that my FTP server (ProFTPD) was allowing
users to list every file on my server so I thought I'd lock down the server by modifying /etc/group- and adding an FTPUsers group and lock all those users to path /server/files.
I added a line saying FTPUsers:x:1010:user1:user2:user3 and then I used vipw to modify the /home paths of these users to /server/files. Once I made these changes my Telnet server booted my connection and I have been refused connection via telnet and FTP ever since. When I rebooted the system I get some strange errors (cannot find group - error in /etc/gdm/gdm.conf) and now I have to manually initiate Xwindows to get it to load. I can see the telnet and FTP servers are running but they're refusing all connections. I figured I could uninstall/re-install both these packages. Both these uninstalls worked fine but the re-installs error out with dpkg : sysntax error : unknown group 'postdrop' in statusoverride file E: sub-process /usr/bin/dpkg returned error code (2).
The only 2 files I modified were /etc/passwd (via vipw) and /etc/group- and I only made the tiny modifications listed above. Is Linux typically this fickle? Like a jackass I didn't make a backup of /etc/group- before I added that one line. Other than slicking and reloading yet again (which I really don't want to do!) what can I do here? I'm using Libranet, I wouldn't suppose there is some kind of recovery process that will restore the system state back to installation defaults (without reformatting and loosing my File Server data)? Both telnet, FTP, and samba (which still works fine) are the services that
I absolutly have to have up and running 24/7.