If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > Login script for users

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-05-04, 07:03
neet neet is offline
Registered User
 
Join Date: Apr 2004
Posts: 7
Login script for users

Hi,

I need to write a script so that if certain users login they can only have access to one directory and to see the end of a log file. I'm new to Unix and don't know where to start. Any help will be appreciated.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 04-12-04, 23:38
bronxx1 bronxx1 is offline
Registered User
 
Join Date: Apr 2004
Location: philadelphia
Posts: 2
Roaming profile

am running win 2k server, how do i create a roaming profile and how do u go about to write a logon script......thanx a mill guys
Reply With Quote
  #3 (permalink)  
Old 04-19-04, 09:31
rkrishnan73 rkrishnan73 is offline
Registered User
 
Join Date: Mar 2004
Posts: 10
Re: Login script for users

Quote:
Originally posted by neet
Hi,

I need to write a script so that if certain users login they can only have access to one directory and to see the end of a log file. I'm new to Unix and don't know where to start. Any help will be appreciated.

Thanks.
If you are using solaris, try modifying the file /etc/profile

The statements in this file will be executed as every user logs in. You can trap the current user name inside this script and perform actions based on that.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On