Difference between revisions of "Student Linux Account/Password"

From E&E Students
Jump to: navigation, search
m (Linux Password Enable Edit/Change)
 
(21 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==
 
==Linux Password Enable/Change==
Line 5: Line 8:
 
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'''.
Line 15: Line 18:
 
==Microsoft Password Enable/Change==
 
==Microsoft Password Enable/Change==
  
I am working on integrating Microsoft Windows password and account management using [http://en.wikipedia.org/wiki/Samba_software SAMBA] synchronised with the LDAP server. To be able to login to the web server using Microsoft [http://en.wikipedia.org/wiki/Server_message_block SMB] networking do the following:
+
To be able to login to the web server using Microsoft [http://en.wikipedia.org/wiki/Server_message_block SMB] networking do the following;
  
- Login in to the [https://amber.ee.sun.ac.za/phpldapadmin/ LDAP] server.
+
# Click on: https://amber.ee.sun.ac.za
 
+
# Click on '''Login...''' underneath '''E&E Users''' in the left pane.
- Login under '''E&E Users''', using your username and password
+
# Enter your '''User name''' and '''Password''' in the right pane.
 
+
# Click on link following the text '''Logged in as:''' uid ...
- 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 down to '''objectClass''' and click '''add value'''
+
# 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        ]'''
  
- Add '''sambaSamAccount''' objects
+
* 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'''
  
- Scroll to top and use '''add new attribute''' to add the following attributes and their values
+
<u>Note:</u>
  
-- '''sambaSID , value = S-1-5-21-3868578188-3359596719-1575176629'''
+
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.
  
-- '''sambaLMPassword , value = (same as Linux password)'''
+
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.
  
-- '''sambaNTPassword , value = (same as Linux password)'''
+
When you are logged in, type:
 +
''username@web:~$'' '''passwd'''
 +
''Changing password for username.''
 +
''(current) UNIX password: ''
  
-- '''sambaAcctFlags , value = [U        ]'''
+
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.
  
Then browse to '''\\eepdc\homes''' with Microsoft Windows and login.
 
  
The ip address of the server is 146.232.220.17 , it's host name is web.ee.sun.ac.za, it's NetBIOS name is "eepdc" and it is in the ''eedept'' workgroup.
+
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<<