> -----Original Message----- > From: Denise Mangano [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 17, 2002 3:37 PM > To: 'Tomcat Users List' > Subject: RE: [OFF-TOPIC] RE: Na�ve question about root > > > Wow, how do you know all this stuff? :) I will certainly > have to pick up a > book on System Administration....
Self-taught. Back in the day had a job much like yours (from what you have said in the past), and was given the responsibility of a UNIX server for a new project. Had to learn as I went along. That was about 12 years ago. Systems administration is a career in and of itself, I know sys-admins that have been doing it for 30-40 years. It's definitely not the same as development, though there is some overlap. > As far as what I meant by "logged in as root" - when I boot > my server it > prompts me for a user name and password. I enter root and > the password. > Then leave the box be and do my work as the user I created, from my > workstation. So rather, instead of doing this, it is better > to be entering > my created user account and password? OK, I think I understand what you mean. When you say "prompts for username and password", is it a graphical prompt, Windows-ish? Or text-based? Either way, there is no need for you to login. Linux boxes are servers...that means when they boot up, there are any number of applications that start up automatically and run as system services. Things like DNS, sendmail, Apache, maybe FTP, etc. So, once you see that prompt, you are good to go. You can walk away, there is no need to log in. You can just go back to your workstation and log in from there, hopefully using SSH (Secure Shell) and not telnet. Telnet is bad because everything, including passwords, are transmitted in the clear. On a LAN you are probably OK, but if the server was across the country in another state, using telnet would be a really bad idea because anyone in between could intercept that traffic and grab your password. SSH is your friend, always. When you log in from your workstation, you want to log in as you and do your work. Switching to root should be something that you need to do only occasionally. > > Can a user belong to more than one group? For example if user denise > belongs to group tomcat and was owner of all webapps, could > denise belong to > group apache as well so denise has rights to all apache files? Yes, a user can belong to more than one group. They will have a primary group, and then can belong to any number of other groups. For example, user bob and user alice belong to the group users, but bob also belongs to tomcat and accounting, while alice belongs to group sales. > Well, thanks...yet again!! Looks like I am headed to the > bookstore tonight! > :) (btw, going to close the office door tomorrow morning, > get a large cup > of coffee - and sit down to tackle mod_jk again tomorrow) No problem, glad to help. I've had the privilege of learning from some amazingly intelligent and wise people in the past, in my own small way I just want to complete the circle at some level, even if I am still learning as well. Hopefully I will have a new HOWTO tonight, for the new version of JK and Tomcat 4.1.17, so perhaps you won't have the problems you have had in the past. John -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
