LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 01-22-2010, 12:03 AM   #16
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367

Centos:

1. support length RHEL is 7 yrs, http://www.redhat.com/security/updates/errata/ so Centos is a straight copy sans proprietary logos etc, so should be same.

2. PG install http://www.cyberciti.biz/faq/howto-f...gresql-server/

3. Linux Server -> XP clients = Samba for file/print sharing, otherwise Putty using ssh for cli login

4. things you specify (DHCP/DNS/PHP/Apache) are avail for Centos; not sure what WAPPstack is; I guess it's summary of your specific tools list

Basically, from the cmd line use the yum tool to do Sw installs/updates/removals. Deals with dependencies automatically.
http://kbase.redhat.com/faq/docs/DOC-2531

You'll want the Deployment guide also: http://www.redhat.com/docs/en-US/Red...loyment_Guide/

Welcome to LQ
 
Old 01-22-2010, 12:10 AM   #17
GuyFreakz
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Original Poster
Rep: Reputation: 0
So in other words, besides using putty as a bridge for file transfer, no communication possible between Linux servers with Windows-based client, am i correct?

Thus the user restriction policy I usually set if using Windows Server 2003 can not do anymore. Hmm ... This is a bit troublesome. I inherited a system that has been going well. Since the company I work concerned with the use of Windows Server fake, they want to migrate to linux server. But for the client, I do not have permission to change from Windows to linux because of many of our programs run on windows. In reality the windows client with linux server has a lot of problems in terms of integration. Is there anyone can provide a better solution for this matter?
 
Old 01-22-2010, 12:23 AM   #18
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
So in other words, besides using putty as a bridge for file transfer, no communication possible between Linux servers with Windows-based client, am i correct?
NO, that's exactly NOT what I said ... I said if you just want a cli login you can use the free Putty tool (on MS) to communicate to linux via ssh.
If you want full file/printer sharing (linux server, MS clients), use the Samba Server tool; it can also do Domain Ctrl ...
Read the Deployment guide chapter on Samba.
 
Old 01-22-2010, 12:56 AM   #19
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by GuyFreakz View Post
Thus the user restriction policy I usually set if using Windows Server 2003 can not do anymore.
What exactly are you looking to restrict? Samba will allow the mounting of network drives, SSH will allow remoting into a Shell enviroment for doing most of the tasks. If you are on about the former, I have little experience with Samba but I am fairly sure permissions can be set-up with it.

With directly logged in users, the chown command allows the setting of file and directory permissions for users, groups and others.
 
Old 01-24-2010, 01:52 AM   #20
GuyFreakz
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
What exactly are you looking to restrict?
Like my client couldn't change the desktop background unless they login using admin account or they cannot access the control panel etc or they cannot have access to local drive except the "C:". Usually when the user login, they will request the group policy to be applied from the server (Server 2k3), but i'm not they can request such a thing from Linux server, that's what i mean when said:

Quote:
Thus the user restriction policy I usually set if using Windows Server 2003 can not do anymore.
And about...

Quote:
If you want full file/printer sharing (linux server, MS clients), use the Samba Server tool; it can also do Domain Ctrl ...
I hope this can be a good solution, i'll try to get more information about this tool.

Anyway thank you very much for your knowledge, i'm really new and amateur in linux, this is will be my first time experience to use it as a server. hehehehe...

Last edited by GuyFreakz; 01-24-2010 at 01:54 AM. Reason: no reason
 
Old 01-24-2010, 04:07 AM   #21
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61
Debian stable for me.
 
Old 01-24-2010, 05:03 AM   #22
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by GuyFreakz View Post
Like my client couldn't change the desktop background unless they login using admin account or they cannot access the control panel etc or they cannot have access to local drive except the "C:". Usually when the user login, they will request the group policy to be applied from the server (Server 2k3), but i'm not they can request such a thing from Linux server, that's what i mean when said:



And about...



I hope this can be a good solution, i'll try to get more information about this tool.

Anyway thank you very much for your knowledge, i'm really new and amateur in linux, this is will be my first time experience to use it as a server. hehehehe...
The "C:" part is easy enough to restrict in linux, there are a couple of ways of doing it. The method I am going to use is assuming that linux is booted off of the locale machine.

You can lock off any type of file using chmod and chown. Generally by default a user only really has access to a few locations, the most general being /home/username, if you set up the user account and set this folder to read and execute only without the ability to write. The user will not be able to write to this space. Alternatively you can redirect the default login location to a network location if you are using something like samba to mount network partitions as suggested above.

The method I know of doing this is editing /etc/passwd

say the user is a member of accounts and you wish to redirect them to the the accounts directory on the samba share what is mounted as /samba/accounts, by default they have an entry like

user:x:500:500::/home/user:/bin/bash

What you could do is change this line to

user:x:500:500::/samba/accounts:/bin/bash

One side effect of this is that some account information may need to stored within /samba/accounts to allow logins to work without issue. This is not the full effect of what you are asking and I am sure there is probably a neater method of doing this task, but this is an example of how you can do one of these things in Linux

Also to note there is also a utility called chroot, with this you could effectively lock the account down to only being able to see /samba/accounts and any child of /samba/accounts as that user will see /samba/accounts as if it were the root of the file system. I have never used chroot myself so do not know it's limitation or abilities.
 
Old 03-23-2010, 07:54 PM   #23
GuyFreakz
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Thank You

Thank you very much everyone.
For helping me and giving me advices.

Right now, i'm using CentOS 5.4 and still learn how to administer it.
I will still need more help.
But i won't ask in this thread because that's not the purpose from the beginning.

Anyway sorry for my bad english and once again thank you so much.
And i hereby for this thread to be closed
 
  


Reply

Tags
fedora, server, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] What do I need to know to choose a Linux distribution? gray53 Linux - Newbie 11 07-22-2009 09:17 AM
What Linux Distribution to choose lambermont Linux - Distributions 7 08-02-2007 12:01 PM
What Linux distribution should I choose? m_wielgus Linux - Newbie 24 05-09-2006 05:16 AM
What Linux Distribution do i choose? PinRojas Linux - Newbie 11 04-11-2006 12:19 AM


All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration