Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Solaris 9 and .profile
Name: woodson2 Date: November 29, 2006 at 12:00:59 Pacific OS: Solaris9 CPU/Ram: SParc IV 16GB Product: SUN/V490
Comment:
I have created a custom nologin shell named nologinksh that looks like this.
#!/bin/ksh
DATE=`date |sed 's/:.. .*//'` LAST=`last -1 |grep "$LOGNAME.*$DATE"` if [ "$LAST" ]; then echo "Remote logon is not permitted." else export SHELL=/bin/ksh . $HOME/.profile /bin/ksh fi
The shell is setup so that the user can't log directly into the server but the acount can be "su'd" to and pick up the accounts environment settings. The script sources the users .profile but ignores the aliases in the file. It picks up all the other environment settings except for the aliases. However, once logged in if I manually source the .profile the aliases are picked up. Is there something else I need to add to the script for it to pick up the aliases as well??..I have a similar script for the c-shell and that script is almost identical and it picks up the aliases...Any insight would be greatly appreciated...Thanks..
Summary: I managed to install Solaris 9.0 for x86 but unfortunately it did not pick up my NIC (linksys LNE100TX) My question comes in two parts and any suggestions would be welcomed. 1. Finding a driver. N...
Summary: I have built my Solaris 9 box and set up the DNS / DHCP etc. I then installed Samba and set-up so that the server can join the domain and added some shares via the smb.conf file. This all works fine.....
Summary: I want to have dual-boot with Solaris 8 and XP home edition. Is it possible? If it is, then which do I install first? Do I need any extra driver or something? Please e-mail me if u know the steps. My ...