user settings


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users user settings
# 1  
Old 11-18-2008
user settings

Hello

I wonder... lets say I have to set up very very restricted rights to a user that only should be able to access logfile Y in catalogue X and nothing else. Current user is going to use Putty to access current unix machine.

Is it possible to set up user settings so a user is just able to access its HOME directory and being able to "tail" and/or "grep <word>" for logfile Y. The logfile Y is not in current users HOME directory and its important that current user is not able to execute other commands than thoose beeing mentioned and is not able to change catalogue. If answer is yes how do I do that.
# 2  
Old 11-19-2008
You can chroot a user - you make his home directory root - then create the user's own custom /usr/bin directory with only the commands (plus the shell) that you want the user to have.

try reading this:
Best Practices for UNIX chroot() Operations
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

What are the ideal ulimit settings for root user in AIX?

Hi, what are the ideal/best/recommended ulimit settings for a root user in AIX? I understand that it depends on our environment. But I would like to know...what are settings you guys use in your environment for best performance. default: fsize = 2097151 core = 2097151 ... (8 Replies)
Discussion started by: System Admin 77
8 Replies

2. Red Hat

Change user settings..

Hi, I have 48 cores in my server. I want to assign 50% of the cores to certain programs and rest to some other programms. I found the command "taskset" very good option to assign cpu afinity to already running programms or newly created programms. But the problem is even if i set a cron to... (1 Reply)
Discussion started by: Rantu
1 Replies

3. HP-UX

HP-UX history settings

Hi all My first post here. I've been told certain things regarding HP-UX's .sh_history file which I'm not so sure I agree with completely. These things are that the history file gets flushed on every clean shell exit (plausible, but I doubt it seeing as there are more than 11 thousand lines... (9 Replies)
Discussion started by: kinetik
9 Replies

4. UNIX for Dummies Questions & Answers

Timezone settings for a User

Can I set up a user to run in IST while the system runs on GMT? The reason being that my applications have to run on IST on a server and the DB has been installed on a different server with GMT time. regards, RCC Hume (1 Reply)
Discussion started by: rcchume
1 Replies

5. Linux

Ip settings

Hi, How to set ip address in linux. Regards, Guguli (1 Reply)
Discussion started by: guguli
1 Replies

6. IP Networking

settings in rc.firewall

Hi everyone. I'm trying to setup eMule and torrents on the local network behind the BSD server. And everything seems to work except one detail - it works as long as ${fwcmd} add deny log tcp from any to any in via ${oif} setup is commented out. Meaning that not only required ports are open, but... (2 Replies)
Discussion started by: reality
2 Replies

7. UNIX for Advanced & Expert Users

HOw do i give a user cronjob edit/settings permission?

Hi, In a Unix Server when i 'su' to my name and type in crontab it says " You are not authorised......". Pls suggest what to do? How do i give myself permission so that I can schedule a cron. (2 Replies)
Discussion started by: debu
2 Replies

8. Solaris

printer settings

I have created a printer, but I need to change the default pitch (CPI and LPI). According to the lpadmin man page, I have to use the following command to change the pitch lpadmin -p <printername> -o cpi=<decimal value> -o lpi=<decimal value> However, this does not work. I tried it with a... (1 Reply)
Discussion started by: soliberus
1 Replies

9. UNIX for Dummies Questions & Answers

Password Settings

Is there an easy way to spit out a screen with all the password setting parameters set out? For example: MINWEEKS=1 MAXWEEKS=8 etc. I'm looking for a way to have all the settings consolidated on a report for inclusion in policy documents. (4 Replies)
Discussion started by: Hoju
4 Replies
Login or Register to Ask a Question