question on UNIX material


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers question on UNIX material
# 1  
Old 02-26-2005
Question question on UNIX material

I am currently a student at Bergen Community College. My major is Networking Administration. I am having a tough time with INF-254 (UNIX).

I need some help! What is "README bit"

I am having trouble understanding certain concepts:

For Example, what does it mean to set SUID, or SGID?

e.g., $chmod 4777 testfile1

I know that 777 means: rwxrwxrwx= the 777 is that absolute numeric notation, which is used instead of the symbolic notation (rwx); however, the first bit, the number 4, confuses me. What does the number 4 mean?

Also, what in the world is a README bit?

Last edited by nelson ele; 02-26-2005 at 01:57 AM..
# 2  
Old 02-26-2005
According to our rules:
(6) Do not post classroom or homework problems.

You may have crossed that line with this post, but I'll help a bit anyway,

Until your post I have never encountered the phrase "README bit". You seem to under stand the three read bits so you can't mean those.

The suid bit is that 4 that is confusing you. The sgid bit would have been a 2 instead. Briefly, let's say you sign on as "fred". When you run programs, those programs have the rights the "fred" has. For example, fred can read some files but not others. But let's say that fred can run a program called /usr/bin/passwd which is owned by "root". This program is intended to change a password, so it must write to /etc/shadow. "fred" can't write to /etc/shadow, but root can. So we set suid bit on /usr/bin/passwd. Now when fred runs it, the program has the power of "root" (owner of /usr/bin/passwd), not fred. So fred can now change his password. The sgid is similiar but changes the group of the process, not the owner.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNIX Study Material

Hi , Can anyone suggest me any UNIX Study material and UNIX Certification specific for TELECOM-DOMAIN. Best Regards, Om Prakash. (14 Replies)
Discussion started by: omprakash1986
14 Replies

2. Solaris

Required UNIX shell scripting material

As I am new in UNIX , and I want to learn UNIX shell scripting. where shall I get material for Scripting ( For basics fundamentals and production environmental scripts) Kindly provide me ...................... (7 Replies)
Discussion started by: sunray
7 Replies

3. What is on Your Mind?

UNIX Admin (Papers and study material)

Hi, I want to prepare and then appear for Unix admin certification. Please guide me for the study material and Exams that are required to be taken for UNIX certifcation. Thanks in advance. (11 Replies)
Discussion started by: raman1605
11 Replies

4. UNIX for Dummies Questions & Answers

Any study material for begineers for UNIX please??

Any study material for begineers for UNIX please?? (2 Replies)
Discussion started by: niranjany
2 Replies

5. UNIX for Dummies Questions & Answers

Having trouble finding good unix study material

I am trying to read about a UNIX distribution list but I cannot seem to find out what it is or where I can find a website to read more on it any help would be greatly appreciated (2 Replies)
Discussion started by: starshot
2 Replies

6. Shell Programming and Scripting

PDF material required

Does anyone here have the AU23 Course material........ Edit: Please do not post your e-mail address while asking for help. (0 Replies)
Discussion started by: gurpreets
0 Replies

7. Windows & DOS: Issues & Discussions

Unix Material

Hi, Can anyone provide the UNIX material. Thanks. (1 Reply)
Discussion started by: biyyanimv
1 Replies

8. Programming

Good Unix Online Study Material

HI Friends, I wanted to start this thread inorder to keep all the Unix starters to easily find useful material through this thread...I request you all to provide with the URL address of any gud material you know... thanks and regards... (2 Replies)
Discussion started by: rahul3894singh
2 Replies

9. HP-UX

Reference Material

I'm having to write 'C' programs for a group of HP-UX 11.X systems. While I have found many 'C' reference books which I like, none of them reference using 'C' in the UNIX environment. Anyone have any good recommendations for books about 'C' programming under UNIX? Thanks. Chris (0 Replies)
Discussion started by: chrisc@nwark.ne
0 Replies

10. New to Unix. Which books should I read?

UniX internals Material

Hi! I have 1.5 years experience in unix environment and shell scripting. Now, I started learning UNIX internals and network programming. Can you please help in finding the same material on the net Thanks Srinivas. (7 Replies)
Discussion started by: srinivaskathika
7 Replies
Login or Register to Ask a Question