If your system uses GRUB, you can change the boot runlevel by pressing the `e' key to edit the boot configuration. append the runlevel to the end of the boot command as shown:
kernel /vmlinuz ro root=/dev/hda1 5
Example:
Lock user account named vivek. Login as a root user and type following command:
# passwd -l vivek
Linux unlocking an account
Syntax:
passwd -u {username}
nfsd) in order to make its data generically available to clients./etc/exports configuration file and the exportfs command).mount command. (The client asks the server (rpcbind) which port the NFS server is using, the client connects to the NFS server (nfsd), nfsd passes the request to mountd)Note that automation of the NFS mounting process may take place — perhaps using /etc/fstab and/or automounting facilities.
An example would look like this:
smbmount //servername/sharename /mountdirectory -o username=mywindowsusername,password=mywindowspassword
The mount equivelant is:
mount -t smbfs //servername/sharename /mountdirectory -o username=mywindowsusername,password=mywindowspassword
//servername/sharename refers to the name of the Windows computer and the name of the share.
/mountdirectory refers to the directory you use as the mount point on the Linux workstation. It can be any directory as long as the user executing the command has rights to it.