Difference between revisions of "Student Linux Account/Password"

From E&E Students
Jump to: navigation, search
m
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
<!--__TOC__
 
The Linux passwords for the student accounts are managed by an LDAP server.
 
The Linux passwords for the student accounts are managed by an LDAP server.
 +
 +
<i>Remember: If you change your '''userPassword''', make sure to change '''sambaLMPassword''' and '''sambaNTPassword''' at the same time if you have enabled the '''sambaSamAccount''' objectClass.</i>
 +
 +
==Linux Password Enable/Change==
  
 
To change your password, do the following;
 
To change your password, do the following;
  
# Click on: https://amber.ee.sun.ac.za/phpldapadmin
+
# Click on: https://amber.ee.sun.ac.za
# Click on '''Login...''' underneath '''E&E Users''' in the left pane.
+
# Click on '''Login...''' underneath '''E&E Linux User Directory Server''' in the left pane.
 
# Enter your '''User name''' and '''Password''' in the right pane.
 
# Enter your '''User name''' and '''Password''' in the right pane.
# Click on the link in the left pane next to the '''Logged in as:''' line.
+
# Click on link following the text '''Logged in as:''' uid ...
# In the right panel scroll down to the bottom to the '''userPassword''' field.
+
# In the right panel, scroll down to the bottom of the page to the '''userPassword''' field.
 
# Delete the stars and enter your new password.
 
# Delete the stars and enter your new password.
 
# Click on '''Save Changes''' and then '''Commit'''.
 
# Click on '''Save Changes''' and then '''Commit'''.
  
 +
==Microsoft Password Enable/Change==
 +
 +
To be able to login to the web server using Microsoft [http://en.wikipedia.org/wiki/Server_message_block SMB] networking do the following;
 +
 +
# Click on: https://amber.ee.sun.ac.za
 +
# Click on '''Login...''' underneath '''E&E Users''' in the left pane.
 +
# Enter your '''User name''' and '''Password''' in the right pane.
 +
# Click on link following the text '''Logged in as:''' uid ...
 +
# In the right panel, scroll down to the '''objectClass''' field and click '''add value'''
 +
# Type in '''sambaSamAccount''' as the new objectClass to add.
 +
# Scroll to the top of the page and use '''add new attribute''' to add the following attributes and their values
 +
'''sambaSID , value = S-1-5-21-3868578188-3359596719-1575176629'''
 +
'''sambaLMPassword , value = (same as Linux password)'''
 +
'''sambaNTPassword , value = (same as Linux password)'''
 +
'''sambaAcctFlags , value = [U        ]'''
 +
 +
* Then browse to '''\\eepdc\homes''' with Microsoft Windows and login.
 +
* Below are the network details for connecting;
 +
IP address = '''146.232.220.17'''
 +
Host name = '''web.ee.sun.ac.za'''
 +
NetBIOS name = '''eepdc'''
 +
Workgroup = '''eedept'''
 +
 +
<u>Note:</u>
 +
 +
To get the '''sambaSID''' of the server you want to use then type the following in a Linux console;
 +
net getlocalsid
 +
-->
 +
Log in to the server with SSH by using the username you specified during application. A temporary password was emailed to you.
 +
 +
On linux:
 +
''you@your_computer:~$'' '''ssh username@web.ee.sun.ac.za'''
 +
''Password: ''
 +
''Last login: Thu Feb 23 11:36:10 2012 from you.sus.sun.ac.za''
 +
''username@web:~$''
 +
On windows you will need to use Putty.
 +
 +
When you are logged in, type:
 +
''username@web:~$'' '''passwd'''
 +
''Changing password for username.''
 +
''(current) UNIX password: ''
 +
 +
You will be asked for your current password, followed by the new password. Your password is now changed.
 +
To log out from the SSH session, type:
 +
''username@web:~$'' '''exit'''
 +
You can now try to log in again using your new password.
 +
 +
 +
If you have forgotten your password, email [mailto:webee@jpmeijers.com the server admin], explaining you problem and giving your name, student number and username of your account.
  
<center>''Back to<br> >>[[Student_Web_Sites]]<<''</center>
+
<center>'''Back To<br> >>[[Student_Web_Sites]]<<'''</center>

Latest revision as of 13:58, 23 February 2012

Log in to the server with SSH by using the username you specified during application. A temporary password was emailed to you.

On linux:

you@your_computer:~$ ssh username@web.ee.sun.ac.za
Password: 
Last login: Thu Feb 23 11:36:10 2012 from you.sus.sun.ac.za
username@web:~$ 

On windows you will need to use Putty.

When you are logged in, type:

username@web:~$ passwd
Changing password for username.
(current) UNIX password: 

You will be asked for your current password, followed by the new password. Your password is now changed. To log out from the SSH session, type:

username@web:~$ exit

You can now try to log in again using your new password.


If you have forgotten your password, email the server admin, explaining you problem and giving your name, student number and username of your account.

Back To
>>Student_Web_Sites<<