[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help - new user!



Hi
>>I've set everything up with symbolic links to my minix partitions, 
>>etc. and it all runs fine. The problem is with logging in. I am using 
>>login.ttp to open a TOSWIN window, but I cannot login as root. I have 
>>set myself up with the same permissions, so logging in under my name 
>>allows me access to everything, but this is missing the point really. 
>>I've checked my passwd file, and tried root with no password, or the 
>>same one that I use for my personal login. Neither works - just 
>>giving a "Login incorrect" message. Could it be because I'm not 
>>running through init?

assuming you are using the login from the MiNT-OS package this "feature"
is related to the /etc/ttytab. If you look close into you will notice
that only the /dev/console is defined as a secure terminal. If you
want log in as root on a toswin window you have to declare that window as
secure, too. (Probably you have to add the ptys toswin uses to
/etc/ttytab.)

>>Also, when I log out, there seems to be no record made of it. 
>>Consequently doing a "who" results in listings for pseudo TTYs that I 
>>logged out of days ago.

Now this one *is* related to running without. While the entry that
someone logs into the system is made by the login program (or any
replacement), the entry for the logout is made by init at the time it
notices that the corresponding terminal is closed (i.e. when the last
client closes connection on that window).

>>Could anyone tell me what files are run/read/checked on booting up or 
>>logging in. I've tried using bash and C-shell, and bash fails to 
>>notice my environment variables (set in mint.cnf), whereas C-shell 
>>does. I can only assume that there is a problem in one of the bash 
>>script files, but I have no idea where to begin.

Well there are really lots of files to list here; it would be probably
best to read the documentation or manpages for bash and tcsh.

Hope this helps
Wolfgang