Berkeley CSUA MOTD:Entry 43678
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

2006/7/15-18 [Computer/SW/Unix] UID:43678 Activity:nil
7/15    Mi comrades, how to samba mount on MacOS X? Spasibo!
        \_ Learn proper grammar first, you fucking immigrant
           \_ I guess you work in a company which doesn't have native English
              speakers in the QA department who are too lazy to write
              understandable bug reports.  Those reports drive me crazy.
        \_ Tovarich, depends on whether you're doing workgroup or domain
           auth.  Both should actually just show up under 'network' in
           finder.  Click on a server->connect and it'll show you the
           list of shares on that box.  -John
        \_ http://www.macdevcenter.com/pub/a/mac/2003/03/18/samba.html
           http://www.macdevcenter.com/pub/a/mac/2002/11/19/mac_pc.html
           Go to Finder, click Connect to Server, type:
           smb:\\your.ip.here
           \_ I think it's smb:// (though it may not matter)
        \_ In Soviet Russia, Spanish learns you?
ERROR, url_link recursive (eces.Colorado.EDU/secure/mindterm2) 2025/05/24 [General] UID:1000 Activity:popular
5/24    

You may also be interested in these entries...
2013/10/24-11/21 [Computer/SW/Unix] UID:54749 Activity:nil
9/18    -------------------------
        < Less wine, more sudo. >
        -------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
	...
2012/8/26-11/7 [Computer/SW/Security] UID:54465 Activity:nil
8/26    Poll: how many of you pub/priv key users: 1) use private keys that
        are not password protected 2) password protect your private keys
        but don't use ssh-agent 3) use ssh-agent:
        1) .
        2) ..
        3) ...
	...
2012/8/29-11/7 [Computer/SW/Security] UID:54467 Activity:nil
8/29    There was once a CSUA web page which runs an SSH client for logging
        on to soda.  Does that page still exist?  Can someone remind me of the
        URL please?  Thx.
        \_ what do you mean? instruction on how to ssh into soda?
           \_ No I think he means the ssh applet, which, iirc, was an applet
              that implemented an ssh v1 client.  I think this page went away
	...
2012/9/20-11/7 [Computer/SW/Unix, Finance/Investment] UID:54482 Activity:nil
9/20    How do I change my shell? chsh says "Cannot change ID to root."
        \_ /usr/bin/chsh does not have the SUID permission set. Without
           being set, it does not successfully change a user's shell.
           Typical newbie sys admin (on soda)
           \_ Actually, it does: -rwsr-xr-x 1 root root 37552 Feb 15  2011 /usr/bin/chsh
	...
2012/3/29-6/4 [Computer/HW/Memory, Computer/HW/CPU, Computer/HW/Drives] UID:54351 Activity:nil
3/29    A friend wants a PC (no mac). She doesn't want Dell. Is there a
        good place that can custom build for you (SSD, large RAM, cheap video
        card--no game)?
        \_ As a side note: back in my Cal days more than two decades ago when
           having a 387SX made me the only person with floating-point hardware,
           most machines were custom built.
	...
2012/5/8-6/4 [Computer/SW/Unix] UID:54383 Activity:nil
5/8     Hello everyone!  This is Josh Hawn, CSUA Tech VP for Spring 2012.
        About 2 weeks ago, someone brought to my attention that our script
        to periodically merge /etc/motd.public into /etc/motd wasn't
        running.  When I looked into it, the cron daemon was running, but
        there hadn't been any root activity in the log since April 7th.  I
        looked into it for a while, but got lost in other things I was
	...
2012/1/27-3/26 [Computer/SW/Unix] UID:54299 Activity:nil
1/27    Interesting list of useful unix tools. Shout out to
        cowsay even!
        http://www.stumbleupon.com/su/3428AB/kkovacs.eu/cool-but-obscure-unix-tools
        \_ This is nice.  Thanks.
	...
2012/2/9-3/26 [Computer/SW/Security, Computer/SW/Unix] UID:54305 Activity:nil
2/9     Reminder: support for mail services has been deprecated for *several
        years*. Mail forwarding, specifically .forward mail forwarding, is
        officially supported and was never deprecated.
        \_ There is no .forward under ~root.  How do we mail root and how do
           we get responses?
           \_ root@csua.berkeley.edu is and always has been an alias.
	...
Cache (4800 bytes)
www.macdevcenter.com/pub/a/mac/2003/03/18/samba.html
The server facilities are provided by a Unix daemon known as Samba. Samba is one of the most successful open source projects around and has been ported to Linux, various BSDs, and Darwin/Mac OS X Started by Andrew Tridgell, the Samba team works to provide as many features of the Windows server products as possible. Currently Samba can provide disk shares, print shares, act as a WINS server, and perform NT4 primary domain controller duties. By default, your computer will be a part of the SMB workgroup "WORKGROUP" and have an SMB hostname that is the same as your computer name. If you want the machine to appear in the Windows Network Neighborhood, you may need to adjust these settings. Consult your Windows documentation to find out what workgroup your Windows machine is using. Once you have it open, authenticate by clicking the padlock in the lower left corner. This will present you with a dialog box that allows you to specify your workgroup. Once you have set it to match your Windows machine, click the 'OK' button. This is all we'll need to set in Directory Access, so go ahead and close it. Here you can specify your computer's name and Rendezvous name. While in the Sharing pane, you should also see a listing of Services available. Samba will start up using the workgroup and hostname you've chosen. To do this, switch to the Accounts pane of System Preferences. If necessary, enter the user's password to enable editing of the user's information. Toward the bottom you'll see a checkbox labeled 'Allow user to log in from Windows'. Since users' home directories are shared by default, enabling this checkbox will allow that user to access his home directory from a Windows machine. The address to do this is \\HOSTNAME\USERNAME, which you would enter in the Windows Explorer. The user should also see his home directory in the Network Neighborhood. Adding More Shares The Mac OS X install of Samba is only configured for home directory shares by default. This is fine if you only want to share files that are in your home directory, but what if you have some MP3s or AppleWorks documents in another folder? Perhaps you want to allow others to access your /Users/Shared folder from Windows. section, which lists directives for sharing your users' home directories. In order to demonstrate how to create more disk shares, I'll show you how to share your /Users/Shared folder with Windows users. The first thing to do is to create a backup of your original file. To do this, we're going to go into the command line interface of Mac OS X and use some basic Unix commands. Backing Up Your Samba Configuration Open the Terminal application, located in /Applications/Utilities. Once it's open, enter cd /etc to change to the /etc directory. If you now enter the command ls, you'll see all the files and folders that are in the /etc directory. Because these files are all owned by root, you must have root permissions to make the backup. The sudo command temporarily gives you root permissions. To move around the file, use the arrow keys on your keyboard. Making changes to the file is very similar to the TextEdit application. The first step to add a new share is to give it a section title. The section title is the same as the actual share's name. line tells Samba that a new disk share is being defined. The comment line will display the text "Shared Directory" in Windows Explorer. Since we want to be able to save changes to this share's files, we declare it with a read only value of no. The browseable attribute determines whether a share is displayed in the Windows Explorer. Even if you set this to no, it can still be accessed, the user would just have to know the full path to the share (in this case, \\HOSTNAME\SHARED ). The last line, create mode, defines the permissions that files being created on the share will have. In this case, the permissions are read/write/execute for owner and read/execute for group and other. Once you've entered these changes, press Ctrl+O and then enter to save the file, then press Ctrl+X to quit pico. To make Samba aware of the changes, use the command sudo killall -HUP smbd. This will tell the Samba daemon to reload its configuration information. One important thing to remember is that a user must still have a valid account on your machine to access these shares. She must also have the 'Allow user to log in from Windows' option enabled on her account. On a Windows machine, you should now be able to see your "shared" share and a share named with your user's username in the Network Neighborhood. This user titled share contains the user's home directory. Jobs @ O'Reilly Copyright 2000-2006 O'Reilly Media, Inc. All trademarks and registered trademarks appearing on the O'Reilly Network are the property of their respective owners.
Cache (2197 bytes)
www.macdevcenter.com/pub/a/mac/2002/11/19/mac_pc.html
Brian Jepson 11/19/2002 Mac users often have to share files with Windows machines, both at work and home. Occasionally, using portable media such as a ZIP disk or a USB portable storage does the job nicely, but for daily use a cross-platform network is more robust. Apple has incorporated technologies into Mac OS X that allow easy file sharing among platforms. Systems Configuration I have an eMac and a Pentium 4 PC (a HP notebook). I used an Ethernet cable to directly connect the two machines. The nice thing here is that I can use a straight cable to connect both machines, and my eMac is able to automatically detect that it is connecting to a PC. Viewing PC files from a Mac The first thing I want to try after connecting my two machines is to enable file sharing. On my PC, I created a folder and share it using the share name MacShare. On my Mac, I want to be able to access the shared folder. To connect to the shared folder, select Go from the Finder menu and click Connect to Server. Figure 1 Connecting to the server (PC) containing the shared folder. You should be able to see the PC name displayed as shown in Figure 1 Select the PC and click Connect. Figure 2 Viewing the shared PC folder on the Mac You will be prompted to enter the credentials to log on to the PC (domain/workgroup, username and password). If the connection is successful, you will see the share icon as shown in Figure 2 You can now browse the folder as though it is a local drive. You can use your Network Neighborhood to view the shared folders on your Mac To do that, you need to turn on the Windows File Sharing on your Mac (as shown in Figure 4), and check the Allow users to log in from Windows option (see Figure 3). If the account you are setting is yourself, you need to type your password into the Current Password field before you can change the checkbox. It's a lightweight protocol designed to allow the sharing of files and printers in a small network. SMB has since been renamed to CIFS, or Common Internet File System. Jobs @ O'Reilly Copyright 2000-2006 O'Reilly Media, Inc. All trademarks and registered trademarks appearing on the O'Reilly Network are the property of their respective owners.