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

2005/11/20-22 [Computer/SW/Unix] UID:40666 Activity:nil
11/20   mac users: I just got my first mac (from a friend, wanted to check
        it out) do you recommend su'ing to root and poking around to see
        whats going on? apple "strongly advises against" it ... but just
        wondering if thats because most of their user base is not familiar
        with unix ... also, is there a default root password? the person
        I got it from did a clean install before they gave it to me (not
        sure if that process prompts for a root p-word) thx
        \_ The root account is disabled by default. But sudo works great.
           Curious why do you need to be root to see what's going on?
           \_ maybe I dont? i just feel like I should have root on my
              own machine ... but maybe thats not neccesary for working
              w/ darwin? I'm thinking like, eg, ps -a does not seem to
              be showing me all proc's
           \_ er, ok, sorry. re: the above, ps -aux is doing what I
              want ... so you're saying I dont need root to effectively
              administer this machine? thx
              \_ all you need is sudo
        \_ if you really want a root shell: sudo /bin/sh
           \_ sweet thanks. so all the passwords in etc/passwd are starred
              and there is no shadow file ... I guess that means no user
              accounts can be logged in? I was also suprised to see that
              the osX user accounts have no entries in the passwd file
              but I guess it was naive to assume they would be there...
              so its seeming to me like the unix core does less than i
              thought and there is more custom mac stuff on top ... what
              do other mac users think? is messing with my system as
              root just a surefire path toward instability? or can I
              play with things at that level. thx
              \_ osx uses netinfo to store user passwds; netinfo was
                 the next version of nis/ldap.
                 Re messing around as root: messing around as root
                 is a sure fire way to instability on any *nix system.
                 There is nothing you can't do via sudo.
        \_ There is nothing wrong with suing to root a Mac OS X system if
           you understand what root account is for. However, Apple has
           disabled the root account becuase they were afraid that some
           people would try to login as a root user into the GUI session
           which can be a very dangerous thing to do. You can enable the
           root account from the netinfo manager. Note that only the
           users who are in the admin or wheel groups can su to root
           (so if you add a non-admin account for yourself, you'll have
           to add yourself to the wheel group through the netinfo manager
           which doesn't seem to be documented well...)
ERROR, url_link recursive (eces.Colorado.EDU/secure/mindterm2) 2025/05/25 [General] UID:1000 Activity:popular
5/25    

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/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/9/24-11/7 [Computer/SW/Languages, Computer/SW/Unix] UID:54484 Activity:nil
9/24    How come changing my shell using ldapmodify (chsh doesn't work) doesn't
        work either? ldapsearch and getent show the new shell but I still get
        the old shell on login.
        \_ Scratch that, it magically took my new shell now. WTF?
           \_ probably nscd(8)
	...
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.
	...