Creative SB AWE64 - how to activate

Rick Stevens rstevens at vitalstream.com
Thu Sep 30 18:23:33 UTC 2004


Chris A Czerwinski wrote:
> On Wed, 2004-09-29 at 11:48, Bob McClure Jr wrote:
> 
>>On Wed, Sep 29, 2004 at 11:00:49AM -0400, Chris A Czerwinski wrote:
>>
>>>I was able to find the following on my system
>>>
>>>[root usr/sbin/sndconfig]#ls -al sndconfig
>>>     sndconfig -> ../../sbin/sndconfig                       {a link}
>>>
>>>[root usr/share/sndconfig]#ls -al
>>>     sample2.au                                              {a file}
>>>     sample.au                                               {a file}
>>>     sample.midi                                             {a file}
>>>
>>>[root sbin]# ls -al sndconfig
>>>-rwxr-xr-x    1 root     root       263776 Feb  7  2003 sndconfig
>>>
>>>[root sbin]# sndconfig
>>>bash: sndconfig: command not found
>>>
>>>So HOW can I activate my sound card???
>>>
>>>Chris Cz (still a Newbie)
>>
>>How did you become root?  If you did "su", you got root's identity but
>>not his environment, especially his PATH, so you can't execute stuff
>>in /sbin or /usr/sbin without specifying the full path,
>>e.g. /usr/sbin/sndconfig.  If you do "su -", you will get root's
>>complete world including PATH, just as if you logged in as root to
>>begin with.  "man su" for more info.
>>
>>Cheers,
> 
> 
> Bob,
> 
> Great to have asked this People Knowledge Base because it works.
> Didn't know a "-" (dash) could make a difference, that did the trick.

For a bit more explanation, "su [username]" only changes your effective
UID and GID to that of "username" (if "username" is omitted, it defaults
to "root").  The rest of the environment remains the same (path,
variables, etc.).

"su - [username]" essentially does a full log in as the named user
including setting up the environment, paths and by running the user's
login scripts (profile, .bashrc, etc.).
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-     Veni, Vidi, VISA:  I came, I saw, I did a little shopping.     -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list