protect dtterm


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers protect dtterm
# 1  
Old 02-25-2002
Lightbulb protect dtterm

we have an hp-ux and a user requested me if i can password protect the dtterm. i know that this is possible but can you give me some hints in making this happen?

thanks Smilie
inquirer
# 2  
Old 02-25-2002
Are you saying that you wanted to protect the dtterm from Misscelanious logins ? A simple hint from me. You may try this.

create a file and nameit 'nologin' in /etc
Code:
  # >/etc/nologin

Then add something like this to your /etc/dt/config/Xstartup file:

   if pwget -n "$USER" | awk -F: '{exit !($3 == 0)}'; then
      if [ -f /etc/nologin ] || \
         grep '^console$' /etc/securetty >/dev/null 2>&1; then
         echo "[$(date)] non-root login attempt from CDE console -" \
              "Access Denied" >>/var/adm/console_login_attempts_log
         exit 1
      fi
   fi

Hope this helps..
# 3  
Old 02-26-2002
Do you just want to protect that particular window?
If so, check out the man page for "lock"...

/usr/bin/lock
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

dtterm to list a folder contents in new window

Hi everyone,:cool: thank you in advance for any help on this I have a dtterm command to open a new small terminal window with a contents of log, and it works fine. dtterm -title "my.log" -geometry =40x30+0+550 -fn 6x13 -e tail -n 40 -f /home/logs/user.log & However what I want to do... (4 Replies)
Discussion started by: golfcents
4 Replies

2. UNIX for Advanced & Expert Users

protect process

how to protect my process from others to kill?? Double post, continued here, thread closed (0 Replies)
Discussion started by: samrintu
0 Replies

3. Solaris

launching an automated telnet session using dtterm

Hi , I have to write a shell script which would be invoked from a Java program. The job of this script would be to launch a telnet session i was using dtterm for the same and the expect command to automate that. spawn dtterm -e telnet <server ip address> expect "Username:" send... (0 Replies)
Discussion started by: rajeev_solanki
0 Replies

4. HP-UX

Caps lock dtterm

Hello, We are having a problem with running dtterm off a RHEL server. Logging into an HP-UX server from a RHEL 5.1 desktop, setting DISPLAY and running dtterm, the caps lock does not work. We have been playing with xmodmap & stty but to no avail. Any help appreciated. mgb (7 Replies)
Discussion started by: mgb
7 Replies

5. Red Hat

Caps lock dtterm

Hello, We are having a problem with running dtterm off a RHEL server. Logging into an HP-UX server from a RHEL 5.1 desktop, setting DISPLAY and running dtterm, the caps lock does not work. We have been playing with xmodmap & stty but to no avail. Any help appreciated. mgb (1 Reply)
Discussion started by: mgb
1 Replies

6. UNIX for Advanced & Expert Users

Changing text color in existing xterm or dtterm

On solaris and irix systems, I'm using csh in an existing xterm or dterm and would like to change the text colors. How do I accomplish this? Thanks (1 Reply)
Discussion started by: fjc
1 Replies

7. UNIX for Advanced & Expert Users

Protect from rm /

We recently had an accidental delete from /. I hold the root password but others are allowed to sudo over to root to perform admin tasks. The only way I want to permit deletion from / is by physically being root (su -). I'd like to add a line to the sudoers file which would permit all commands... (1 Reply)
Discussion started by: scottsl
1 Replies

8. Solaris

spawning new shells using dtterm in Solaris 8

Hi all, First time poster here. Great forum. Im trying to spawn new shells and pass commands to the new shells in a solaris 8 environment utilizing dtterm and its option -e. I can successfully spawn a window utilizing the following code: /usr/dt/bin/dtterm -display <ip.address> & ... (4 Replies)
Discussion started by: Rocketman8541
4 Replies

9. UNIX for Dummies Questions & Answers

activating ./dtterm

Working of a Aix 4.3 (using ksh) Have started dtlogin daemon . < root 26376 1 0 14:07:19 - 0:08 ./dtlogin -daemon > Have set dtconfig -e < The CDE environment is Already set as the default User Interface. > Have executed " export DISPLAY=10.1.187.86:0.0 Once all this is... (4 Replies)
Discussion started by: buRst
4 Replies
Login or Register to Ask a Question