Click to See Complete Forum and Search --> : Novell Login on Start up


bryanharper
06-15-2001, 01:29 PM
I am logging on a novell server.. I am wanting it to start up when I login I have tried putting it in autostart folder and when created it telling it to use terminal mode It still doesn't work.. Does any one have a idea on making a script run in x windows when you log in.... So that when my users login to CALDERA the next thing they see is my scrip telling them to enter password

bdg1983
06-16-2001, 05:53 AM
Me again Bryan.

So the suggestion for the autostart/run in terminal didn't work? Never tried it myself, but thought it might work.

You could try creating a loginnw script for all users and change the userid line in each to reflect their own id's and then execute the script via .bashrc in the users home directory.

Another way that may work is to copy and paste the contents of loginnw into the users .bashrc, modify where necessary and the last line that has /usr/bin/nwlogin, change it to /usr/bin/nwlogin -p userspassword. I think -p is correct for password. man nwlogin to verify. Hopefully it will accept the password without having to prompt. Will work until the password expires and then the user will need to update the -p password in their .bashrc.

Give those a try and any variations you can think of.

Remember I'm starting a week vacation now and won't be monitoring my home email or will be online at LNO all day long. Usually only in the morning for a couple of hours. I will try checking back in the afternoon if I have time.

bdg1983
06-16-2001, 09:55 AM
Guess I'm the one that is still trying to help you again.

When you tried the autostart suggestion did you select 'Run in terminal' and in that commandline, insert the path and the script I gave you?

You could try to add %1 or is it $1 to the end of /usr/bin/nwlogin and that might make it open a terminal and prompt the user for their password.

/usr/bin/nwlogin -p %1

I cannot remember which one it is % or $. Check the Netware print script I sent you as it has correct one.

If you can hardcode the password in the script, then I don't see why it wouldn't work via the autostart folder.

Let me know how it goes.

Mike