[q.yang@glomesprod01 ~]$ ls -alt /etc/samba/smb.conf
-rw-r--r-- 1 root root 10704 Feb 14 2006 /etc/samba/smb.conf
[q.yang@glomesprod01 ~]$ yum install system-config-samba
Loading "installonlyn" plugin
You need to be root to perform this command.
[q.yang@glomesprod01 ~]$ su
Password:
[root@glomesprod01 q.yang]# yum install system-config-samba
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
core 100% |=========================| 1.1 kB 00:00
updates [2/3]
updates 100% |=========================| 1.2 kB 00:00
extras [3/3]
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 767 kB 00:01
core : ################################################## 2207/2207
Added 2207 new packages, deleted 0 old in 43.32 seconds
primary.xml.gz 100% |=========================| 362 kB 00:09
updates : ################################################## 1013/1013
Added 1013 new packages, deleted 0 old in 20.89 seconds
primary.xml.gz 100% |=========================| 1.3 MB 00:09
extras : ################################################## 4277/4277
Added 4277 new packages, deleted 0 old in 73.21 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for system-config-samba to pack into transaction set.
system-config-samba-1.2.3 100% |=========================| 32 kB 00:00
---> Package system-config-samba.noarch 0:1.2.34-1 set to be updated
--> Running transaction check
--> Processing Dependency: samba for package: system-config-samba
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for samba to pack into transaction set.
samba-3.0.24-7.fc5.i386.r 100% |=========================| 109 kB 00:02
---> Package samba.i386 0:3.0.24-7.fc5 set to be updated
--> Running transaction check
--> Processing Dependency: cups-libs >= 1:1.2.8-1 for package: samba
--> Processing Dependency: samba-common = 0:3.0.24-7.fc5 for package: samba
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for cups-libs to pack into transaction set.
cups-libs-1.2.8-1.fc5.i38 100% |=========================| 35 kB 00:00
---> Package cups-libs.i386 1:1.2.8-1.fc5 set to be updated
---> Downloading header for samba-common to pack into transaction set.
samba-common-3.0.24-7.fc5 100% |=========================| 42 kB 00:01
---> Package samba-common.i386 0:3.0.24-7.fc5 set to be updated
--> Running transaction check
--> Processing Dependency: cups-libs = 1:1.1.23 for package: cups
--> Processing Dependency: samba-common = 0:3.0.21b-2 for package: samba-client
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for cups to pack into transaction set.
cups-1.2.8-1.fc5.i386.rpm 100% |=========================| 199 kB 00:05
---> Package cups.i386 1:1.2.8-1.fc5 set to be updated
---> Downloading header for samba-client to pack into transaction set.
samba-client-3.0.24-7.fc5 100% |=========================| 38 kB 00:01
---> Package samba-client.i386 0:3.0.24-7.fc5 set to be updated
--> Running transaction check
--> Processing Conflict: cups conflicts foomatic < 3.0.2-33.3
--> Processing Conflict: cups conflicts system-config-printer < 0.6.151.3
--> Processing Conflict: cups conflicts hplip < 0.9.9-5.1
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for foomatic to pack into transaction set.
foomatic-3.0.2-33.3.i386. 100% |=========================| 536 kB 00:10
---> Package foomatic.i386 0:3.0.2-33.3 set to be updated
---> Downloading header for hplip to pack into transaction set.
hplip-1.6.6a-1.1.i386.rpm 100% |=========================| 96 kB 00:01
---> Package hplip.i386 0:1.6.6a-1.1 set to be updated
---> Downloading header for system-config-printer to pack into transaction set.
system-config-printer-0.6 100% |=========================| 70 kB 00:01
---> Package system-config-printer.i386 0:0.6.151.8-1 set to be updated
--> Running transaction check
--> Processing Dependency: hpijs = 1:1.6.6a-1.1 for package: hplip
--> Processing Dependency: system-config-printer = 0.6.151-1 for package: system-config-printer-gui
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for hpijs to pack into transaction set.
hpijs-1.6.6a-1.1.i386.rpm 100% |=========================| 7.8 kB 00:00
---> Package hpijs.i386 1:1.6.6a-1.1 set to be updated
---> Downloading header for system-config-printer-gui to pack into transaction set.
system-config-printer-gui 100% |=========================| 51 kB 00:01
---> Package system-config-printer-gui.i386 0:0.6.151.8-1 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
system-config-samba noarch 1.2.34-1 core 246 k
Installing for dependencies:
samba i386 3.0.24-7.fc5 updates 16 M
Updating for dependencies:
cups i386 1:1.2.8-1.fc5 updates 2.9 M
cups-libs i386 1:1.2.8-1.fc5 updates 180 k
foomatic i386 3.0.2-33.3 updates 13 M
hpijs i386 1:1.6.6a-1.1 updates 221 k
hplip i386 1.6.6a-1.1 updates 7.8 M
samba-client i386 3.0.24-7.fc5 updates 4.2 M
samba-common i386 3.0.24-7.fc5 updates 8.5 M
system-config-printer i386 0.6.151.8-1 updates 1.1 M
system-config-printer-gui i386 0.6.151.8-1 updates 214 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 9 Package(s)
Remove 0 Package(s)
Total download size: 54 M
Is this ok [y/N]:
ownloading Packages:
(1/11): cups-1.2.8-1.fc5. 100% |=========================| 2.9 MB 00:53
(2/11): foomatic-3.0.2-33 100% |=========================| 13 MB 03:46
(3/11): hpijs-1.6.6a-1.1. 100% |=========================| 221 kB 00:04
(4/11): samba-3.0.24-7.fc 100% |=========================| 16 MB 05:18
(5/11): samba-common-3.0. 100% |=========================| 8.5 MB 02:37
(6/11): cups-libs-1.2.8-1 100% |=========================| 180 kB 00:02
(7/11): samba-client-3.0. 100% |=========================| 4.2 MB 01:29
(8/11): system-config-pri 100% |=========================| 214 kB 00:05
(9/11): hplip-1.6.6a-1.1. 100% |=========================| 7.8 MB 02:26
(10/11): system-config-sa 100% |=========================| 246 kB 00:00
(11/11): system-config-pr 100% |=========================| 1.1 MB 00:35
[root@glomesprod01 q.yang]#
[q.yang@glomesprod01 ~]$ system-config-securitylevel
[q.yang@glomesprod01 ~]$ system-config-users
[q.yang@glomesprod01 ~]$ system-config-samba
Samba uses /etc/samba/smb.conf as its configuration file. If you change this configuration file, the changes will not take effect until you restart the Samba daemon with the command
#service smb restart.
A Samba user account will not be active until a Samba password is set for it.
#smbpasswd -a q.yang
New SMB password:
Retype new SMB password:
Relevant Link: http://www.reallylinux.com/docs/sambaserver.shtml
No comments:
Post a Comment