Re: Shell confusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-03-13 at 01:25 +0000, Dave Bolt IT Solutions wrote:
> When I start a terminal as dave I get a prompt [dave@Test-Host ~]$
> When I do su amandabackup I get a prompt bash-3.2$

The prompt display is configured per user, the amandabackup user appears
to not have any configuration.  You can see the same thing by creating a
new user, and wiping out *all* the files and directories in their
homespace, but most specifically, the dot-prefixed bash files
(.bash_profile &/or .bashrc).

> From the first prompt I can launch gedit, from the second I get an error, No 
> protocol specified, gedit:4724, Gtk-WARNING ** cannot open display.

My guess might be that the amandabackup user doesn't have a homespace,
or points to one with permissions or SELinux restrictions preventing it
being used as normal homespace.

> Since both of these users are apparently configured for bash, can anyone 
> explain what is happening?

They're *probably* not, bash is *probably* the default, in the absence
of configuration to the contrary.

I saw a similar thing (shell prompts & disallowed displays) when I did
an experiment of trying to use a FAT32 formatted USB memory stick as the
homespace for a new user.

-- 
[tim@localhost ~]$ uname -r
2.6.27.19-78.2.30.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux