LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   2 questions about security ( chmod and LDAP ) (https://www.linuxquestions.org/questions/linux-security-4/2-questions-about-security-chmod-and-ldap-603005/)

guillermo 11-28-2007 10:04 AM

2 questions about security ( chmod and LDAP )
 
Hello everyone, im securing few servers, and in all of them, i need create the user, modify her password at first time, modify a special bashrc to users and developers and that is very cumbersome do it in each servers. Could this be config via a LDAP server and each user use that config in the rest of the host?? :confused:

2º Question, what does this permisson means ?

-rwxr--r-T 1 root root 270 Oct 29 11:01 file

especially the big T

Regards!!

kotnik 11-28-2007 10:15 AM

2nd question:

I've never seen big T in permissions. Small t stands for sticky file, but T - I have no idea.

What's the system you're using?

forrestt 11-28-2007 11:26 AM

The small t means the file is sticky and others can execute it. The capital T means that the file is sticky but others cannot execute it. Run the following to see what I'm talking about.

Code:

touch blah
chmod 1666 blah
ls -la
chmod 1777 blah
ls -la
rm blah

The file you are referencing has permissions 1744.

As far as your first question, can you be a little more specific about what you are looking for. Most things can be automated, and I'm sure you can store some info in LDAP that can be grabbed later to set configurations.

HTH

Forrest


All times are GMT -5. The time now is 01:14 PM.