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)
...
|
2011/9/14-12/28 [Computer/SW/Unix] UID:54172 Activity:nil | 9/12 We've restored CSUA NFS to something vaguely resembling normal
functionality -- plus, with some luck, we should now have something
vaguely resembling normal uptime, too! Ping root@csua.org if you
notice any problems. --jordan
--------------------------------------------------------------------------------
\_ Oh, and http://irc.CSUA.Berkeley.EDU is online again.
...
|
2011/10/26-12/6 [Computer/SW/Unix] UID:54202 Activity:nil | 10/24 What's an easy way to see if say column 3 of a file matches a list of
expressions in a file? Basically I want to combine "grep -f <file>"
to store the patterns and awk's $3 ~ /(AAA|BBB|CCC)/ ... I realize
I can do this with "egrep -f " and use regexp instead of strings, but
was wondering if there was some magic way to do this.
\_ UNIX has no magic. Make a shell script to produce the ask or egrep
...
|
2011/11/2-8 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:54208 Activity:nil | 11/2 Celebrating fifty days of uptime!
00:16:58 up 50 days, 19 min, 13 users, load average: 1.00, 1.00, 1.00
\_ Thanks, jordan!
\_ I would bitch about the 1, but it is not like anyone else is
trying to do anything resource intensive with soda.
\_ The culprit:
...
|
2011/5/19-7/13 [Computer/SW/Languages/Misc] UID:54115 Activity:nil | 5/19 If script A runs, and calls script B ..... is it possible for me to exit\
script A based on results of script B and not continue?
\_ assume any shell
\_ Yes.
\_ without passing the result to some stupid temp file?
\_ It sounds like you want "scriptb || exit", which will run
...
|
2011/2/14-4/20 [Computer/SW/Unix] UID:54039 Activity:nil | 2/14 You sure soda isn't running windows in disguise? It would explain the
uptimes.
\_ hardly, My winbox stays up longer.
\_ Nobody cares about uptime anymore brother, that's what web2.0 has
taught us. Everything is "stateless".
\_ You;d think gamers would care more about uptime.
...
|
|