how to change sh to tsch UNIX


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how to change sh to tsch UNIX
# 1  
Old 12-19-2003
how to change sh to tsch UNIX

My oracle account uses tsch to use .cshrc. "Somehow" it was switch to sh and changed the login environment.
My question is who has the right to change sh to tsch or other shells? How can I change back the original setting(tsch) from sh?

This is what is appear in my /etc/passwd:

oracle:x:108:101:Oracle:/export/home/oracle:/bin/sh

Thanks in advance.

P.S. I am currently running SUN 5.9
# 2  
Old 12-19-2003
Your administrator/s can change it back for you, or try this topic and see if it helps.

https://www.unix.com/showthread.php?s...hanging+shells
# 3  
Old 12-19-2003
If you are in an environment with too many rogue sysadmins, you do have some nice tools at your disposal under Solaris. Solaris uses the Basic Security Module (BSM) to audit actions on a system. It's not small undertaking to begin to use, but I have found it worthwhile.

Take a look at the following man pages:

bsmconv(1M), praudit(1M), audit(2), audit_control(4),
audit_user(4), attributes(5)

You'd also be better off using RBAC (Role Based Access Control) rather than sudo, as in it's current itteration, it breaks the audit trail. If any real interest is expressed by the group surrounding RBAC or BSM, I'd be happy to throw some FAQ(s)/Processes out in our "Answers to Frequently Asked Questions" forum.

Cheers,

Keith
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Ip change SCO UNIX 3.2.4.2

I had a router change and needed to change the ip in some machines. I have two machines on SCO Unix 3.2.4.2 I changed the IP in my chain(relinked kernel, used as default) and in /etc/hosts on both. One is fine. The other I am unable to get to with putty. Is there anything else I would need to... (11 Replies)
Discussion started by: steveo314
11 Replies

2. Homework & Coursework Questions

Getting a command not found when comparing in tsch

Hey everyone, I am almost done with this assignment I have to do but there is one last thing nagging me that I can't seem to find. In my script I am feeding line by line to a ./test file and I am getting the return answer correctly. The goal is to test the current script (check.sh) and if it's... (1 Reply)
Discussion started by: tastybrownies
1 Replies

3. Shell Programming and Scripting

Error in tsch shell scripting..

Hi Everyone, I am using gdb-7.5 to connect to the target. When I gave the./configure --target=xyz --build=i686-pc-mingw32 --host=i686-pc-mingw32 command then checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking target system type... xyz-mingw32... (3 Replies)
Discussion started by: Heeka
3 Replies

4. UNIX for Dummies Questions & Answers

Change windows to unix

Hi everyone. I have some questions... I have a 2nd pc with windows and i want to change it to unix cause i want to learn unix so can someone tell me how to get unix os and how to change it from windows?:D (6 Replies)
Discussion started by: NParas
6 Replies

5. UNIX for Advanced & Expert Users

Can I change unix to linux?

System: Digital Personal Workstation 433a Processor: Digital Alpha 21164, 433 MHz Memory: 64 MB OS: Digital Unix Console (SRM), Digital Unix V4.0D This type of conmputer run radar application. What i would like to know is whether i can change OS or not. Thanks in advance. (7 Replies)
Discussion started by: akz
7 Replies

6. Shell Programming and Scripting

tsch, error setting a variable

Hi, my code is: ------------------------------ set r=`ls -L $source_dir/*.snvf` echo AAA ------------------------------ If does file does not exists I got on the screen ls: No match. AAA How can I remove the "ls: No match." from being printed out Regards, Ziv (2 Replies)
Discussion started by: zivsegal
2 Replies

7. UNIX for Dummies Questions & Answers

Why isn't this working? tsch-doit file

#! /usr/tsch foreach f (`cat contacts.list`) awk '{printf ($2 in a) ? ","$5 : (NR>1) ? RS $2 FS $5 : $2 FS $5; a} END{print e}' $f > $f_inter.map end My file: cat contacts.list is just a list of files. I get this error: doit_contacts2intermap.sh: Command not found. Thanks! (1 Reply)
Discussion started by: lost
1 Replies

8. UNIX for Dummies Questions & Answers

How to change IP in UNIX

Hi Guys, I have an old unix server (HP 9000) which we just use to view history of data. which has a private IP of 121.1.1.n. At present we change our IP addresses (subnetting) and I have to change the old IP of UNIX to 10.10.4.n. Could someone help me how to do or what the command is?... (4 Replies)
Discussion started by: wide angle
4 Replies

9. Filesystems, Disks and Memory

How to change permissions in UNIX?

I want to change a file permission which just I can list , read, and write it. So, does anybody can tell me the command? (2 Replies)
Discussion started by: a8111978
2 Replies

10. UNIX for Dummies Questions & Answers

How do I change the time in Unix?

Hi there. This is probably a very stupid question, but... How do I change or set the time in UNIX? I am taking care of a Sun Ultra 5 running SunOS 5.7 and I can't figure out how to change the time. Help. (3 Replies)
Discussion started by: Tannim
3 Replies
Login or Register to Ask a Question