Ubuntu Servers :: Regular Users Cannot Logout?
Dec 22, 2010
I am moving a webserver from a Gutsy to Lucid server. The webserver works fine, but I am having a problem with the users. I moved the home directories, along with passwd, group, shadow, and gshadow. The users can login fine, and their home directories are fine. The problem is when they try to logout, they get
$logout
-sh: logout: not found
View 4 Replies
ADVERTISEMENT
Mar 10, 2010
My home computer is (of course) a multi-user system with my wife and I each having separate non-root accounts. Usually at the end of the day I exit X, drop down to the terminal, su to root and type
Code:
shutdown -h now
to turn the computer off for the night.
However, my wife doesn't know (or care to know) the root password, but she would like to be able to shutdown the computer.I tried making a /etc/shutdown.allow file, and typing
Code:
/sbin/shutdown -a -h now from her account, but it didn't work. I got an error that one has to be root to do that.
So, how do I allow regular users to shutdown?
View 14 Replies
View Related
Dec 23, 2010
as a normal user when I click logout from a KDE session nothing happens and I can't re-launch logout again, shutdown is doing the same.I have just upgraded to fc14 from fc13 yesterday tried to delete .kde folder and it has not been succesful tried to create another user and log to kde session and the new user also failed to logout or shutdown Root user is able to logout and shutdown I have no probs on GNOME for root or users.
View 1 Replies
View Related
Mar 10, 2011
I've set up a user account for friends & colleagues that does NOT require a login password. Unfortunately, in this OS some things don't work unless you login -- sudo Must regular users have AND use Root's password?
View 9 Replies
View Related
Jun 17, 2009
I had this all hashed out in previous versions of Fedora, but since I have moved the Mrs over to F10 this problem has come to the surface yet again.The Mrs is a strait user. She does not do command line and there is not a chance in a hot place that I could convince her to do it. Now we have her on the F10 system and we, once again, can't get her to have the right Kung Fu to be able to moun/unmount the floppy drive using the computer icon on the Gnome desktop.
What has changed and how do I get this function back for her? She uses this for business files, so this is somewhat on the urgent side.
View 14 Replies
View Related
Nov 23, 2010
If I want to add Windows & Mac users as Samba users, must I first add them all as Ubuntu users? If so, since none of the other users will actually be working on the Ubuntu Server, how do I disable the other non-admin users on the Ubuntu Server login screen. I am using Webmin to administer some server settings, and command line for others.
View 3 Replies
View Related
Feb 11, 2011
i have strange problem on my wordpress-powered blog.while i'm connecting to server by ssh or physical console, everything works fine.however, when i tries to logout almost immediately 403 forbidden error pops up on every pages of my website.if there are two or more connections (like physical console and ssh terminal), terminate one of them does not cause 403 forbidden. but it shows 403 forbidden error page right after i terminated all connections.i can find two types of error in apache error.log while it shows 403 forbidden page.
Code:
(13)Permission denied: access to / denied
Code:
(13)Permission denied: /home/user/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable(one strange part is my DocumentRoot is /home/user/www not /home/user)i gave 755 permission to all files and directories in DocumentRoot(which is /home/user/www), but still apache show me the forbidden error page right after logout.i use ubuntu 10.04 lts and i use apt-get command to install all package that i'm using now (apache,mysql,php,mrtg,snmpd,vsftpd,ssh,etc).these are my virtual host config file and apache2.conf. (httpd.conf is empty)
Code:
<VirtualHost *:80>
DocumentRoot /home/user/www/
<Directory /home/user/www/>
[code].....
View 2 Replies
View Related
Oct 17, 2010
As a normal user I have activated the functions of the Quit applet, i.e. Logout, Shutdown and Restart are active buttons. I am able to restart or shutdown, no problems. But when I use the Logout button I don't get logged out, just returned to the login shell & I am still logged in as my user. I don't have a display manager installed and I do NOT want to use a display manager such as XDM or GDM. How do I get the Logout button to actually logout the user? It appears I am only getting logged out of the x-session, but I want complete logout.
View 6 Replies
View Related
Jul 20, 2011
I created a cron and a shell script but I'm not sure how to automatically handle the mysql password prompt. I'm sure it's simple but having trouble figuring it out
View 6 Replies
View Related
Apr 1, 2011
I had Ubuntu 8.04 installed on server#1 and moved it to server#2. Everything works fine, including the changing of eth2/3 back to eth0/1. I was wondering if it's possible to use the nvidia onboard raid and make a raid 1 with this OS not getting wiped out. It's a bios level cheesy raid and it warns that it's erasing the data (which is didn't erase), but wont boot anyway. I'm assuming it's probably best to just create a software raid in the working OS with a fresh 2nd drive.
View 2 Replies
View Related
Mar 8, 2010
I am trying to configure virtual alias using regular expression.
For example :
Email send to user.1@example.com and user.2@example.com will deliver to user mailbox.
Email send to user2.1@example.com and user2.2@example.com will deliver to user2 mailbox.
And the numbers or alphabet in between user name and the domain will be vary , I can't just do a normal alias.
I been try to play around with main.cf and the virtual alias table but still not able to get work. So I am not sure is the main.cf didnt configure correctly or the regular expression is not working.
View 3 Replies
View Related
Oct 1, 2010
I wonder if other people have this problem. sometimes I need to duplicate most or all of a server from one machine to another. part where I most tend to have issues is with recreating the users. Sometimes the UIDs don't match up because of differences between the two systems, which gives funky results, like files owned by the wrong user.
Or, sometimes, I just need to create the same 10 users on x number of machines, and it's tedious to do this 10x times. Plus, then, if you need to change a password or delete a user, you have to do it x times.Any recommendations on how to centralize users/auth?
View 3 Replies
View Related
Jan 24, 2010
I have created my own server with php, mysql and pma. I want to creat users and disable ssh so they can only user their username and password to get access to /home/<username> with a ftp program.
View 1 Replies
View Related
Jan 28, 2010
I have a ubuntu server 8.10 running on my dedicated server. How do I allocate IPs for users ? I have 3 IPs and 3 users running, I want each user to use a Single unique IP for all inbound and outbound traffic Also disallow a user from using the IP other then the one allocated to him. I tried to work out a solution using Iptables, but it does not work I suppose
View 6 Replies
View Related
Jun 29, 2010
My problem is quite simple, when I set up squirrelmail I only had one user on the server, and now that I have created new users, I can not log in to their accounts via squirrelmail I am using Maildir System is 10.04 server, running postfix and dovecot. I origionaly set up 'remote' as a user, I can send and recive mail on that account and log into squirrelmail
any new accounts can send email to remote(via outlook/thunderbird), to be seen in Squirrelmail, but get an invalid username/password when I try to log into squirrelmail in short, new accounts can not log into squirrelmail
View 2 Replies
View Related
Mar 18, 2010
I need to setup a simple server to make available Quickbooks accounting data to just a few stations. Can this be done with Ubuntu desktop version? Would it be recommended due to the small number of users? Or should I use a server platform?I have never used Linux before but have used command line interfaces and am looking forward to it. I installed Ubuntu Server 9.10 32 bit and have even gone as far as logging in. Amazing I know. I installed it on a separate disk so I can switch between Windows and Linux startup disks at boot via cmos.as a first step into linux would like to be able to browse the web from Ubuntu Server 9.10 if the Server edition is in fact the route I should be taking.I would also like a good source to learn not only command line commands but also all the stuff that I see after the commands, you know, all the stuff with - signs all over the place.
View 9 Replies
View Related
Apr 14, 2010
I'm using vsftpd on my server. When I connect (using file-zilla) from other computers on the same network I can't download any files. I can upload, create directories, and delete stuff, but I can't download. I've disabled anonymous access and enabled local user log-in. My /etc/vsftpd.conf
Code:
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
[Code]...
View 3 Replies
View Related
Jul 18, 2010
I have two ubuntu 10.04 64-bit servers running samba (3.4.7) and openLDAP (2.4.21). The LDAP directory is successfully replicating between the two servers. These servers also serve as LDAP servers for sudo, pam, nss, and other services for a dozen servers without issues. The BDC samba is configured to use itself for LDAP. I connected to the BDC using the samba ldap credentials and verified I could a) see the Computer object b) read NTPassword and LMPassword. The workstations can authenticate to the domain successfully against the PDC. If a workstation boots and connects to the BDC, they login fails with:
Code:
[2010/07/18 11:46:23, 0] rpc_server/srv_netlog_nt.c:336(get_md4pw)
get_md4pw: Workstation MACHINENAME$: no account in domain
[2010/07/18 11:46:23, 0] rpc_server/srv_netlog_nt.c:584(_netr_ServerAuthenticate3)
_netr_ServerAuthenticate3: failed to get machine password for account MACHINENAME$: NT_STATUS_ACCESS_DENIED
Successful authentication against the PDC shows:
Code:
[2010/07/18 11:59:20, 1] smbd/service.c:1063(make_connection_snum)
MACHINENAME (192.168.2.145) connect to service netlogon initially as user username (uid=30000, gid=512) (pid 1727)
[2010/07/18 11:59:20, 1] smbd/service.c:1063(make_connection_snum)
MACHINENAME (192.168.2.145) connect to service data initially as user nobody (uid=65534, gid=65534) (pid 1727) .....
View 1 Replies
View Related
Aug 19, 2010
I have apache installed on my server. Is there a way to view how many users are on my site?
View 3 Replies
View Related
Nov 23, 2010
installed Ubuntu Server Edition and I've found that my first user has a bash history and I can turn on a coloured prompt by editing my .bashrc etc but new users don't have that!I did : useradd -d /home/newb -m newbpasswd newband the correct looking .bashrc file appears to be in /home/newb but it is being ignore by bash when logged in as newb. Instead I am presented with just a dollar prompt instead of "newb@server"how can I sort out my users with proper prompts?
View 1 Replies
View Related
Jan 30, 2011
GUI for several thousand simultaneous users. I know this post may at first seem a little out of place here when you begin to read it but please bear with me and I think you will understand why I am seeking feedback here. The company I work for (whose name I am withholding for now) is currently running a little over 5,000 Linux servers. Each of these servers has a minimum of 500 users, some as many as 3,000 users on them during a business day.
These servers are serious pieces of hardware. They have hot swappable raid arrays, redundant well most everything is redundant on them, frankly. Our conversion to Linux took place about 8 years ago. We have a proprietary database and development environment that was originally built in the 1970s. All but the most recent applications run in this proprietary environment, whereas our newer applications are using PostgreSQL and executables that are delivered using Apache web server and run inside each users Windows Explorer session on their local PC.
Really, our situation is rather typical of any organization that has legacy software that still gets the job done - with the possible exception of the **massive** number of total users we keep up-and-running every day. more, our next Linux servers are expected to support somewhere between 6,000-8,000 users [exact figure yet to be determined]. You may ask this is all very interesting but why are you posting this here?.
I am researching alternate ways of presenting attractive and functional GUI to users of Linux servers. I find the Ubuntu GUI to be attractive and very functional. the user input these forums get. Finally I am looking for points of view outside my own organization so I don't fall into the 'but we don't do it that way here' mental trap and miss a really great concept.
I have an idea about how to solve this growing challenge, and I want to present it here for your review and comments. For those who might think I have never worked on systems of this size; I can't imagine my opinion would be valuable remember this: The Ark was built by a passionate volunteer; The Titanic was built by paid professionals.....
View 9 Replies
View Related
Jun 23, 2011
How do I migrate my user list to a new server installation? I thought that just copying /etc/passwd and /etc/shadow would be enough. I recently tried upgrading a lightweight bazaar server to 11.04, and the upgrade crashed. I had to perform a new installation of Ubuntu to recover operation of the system. I installed on a different hard drive. I had a dozen other people with user logins, so that they can get or modify bazaar repositories.
The new installation is running, and I can read all of the files on my old system's / drive. I tried copying the /etc/passwd and /etc/shadow files onto my new /etc -- but that did not seem to work. (When I looked using the System->Administration->Users-and-Groups GUI tool, there were no users visible, so I restored the old files.) What I intended to do was to clone the /etc and /home trees over to the new system. What am I missing?
View 1 Replies
View Related
Jun 28, 2011
Not sure if this is the right place fo this but....I'm just learning to write bash scripts. I'm experimenting on a ubuntu server 11.04 virtual machine.As part of the script I want to automate user creation.Is there a way to check if a user already exists in a script. so i can do something like
Code:
if userexists; then
do this
else
do this instead
fi
View 6 Replies
View Related
Feb 22, 2010
I'm looking for a command that will give me a list of users (unique, dont name my user account 60 times) that are running processes on a system.
View 5 Replies
View Related
Mar 23, 2010
I have a server setup with all my web development stuff in /var/www and in several sub-folders within that. (each project having it's own folder)It works great with one FTP account. But recently I've been getting help on a projects from a buddy of mine that freelances, and have made him an FTP user account as well. All is fine, except for when he tries to edit a file and gets a permissions error.
Here's the issue, I don't want us to have the same FTP login, but all the files are currently owned by my user name. So, when he logs in to edit a file, he can't because I'm the owner, and the files are set to 744. Will I cause any harm by adding both users to the same group (www-data) and chmod'ing the files to 775 so that we can both access and modify the files?
View 2 Replies
View Related
Mar 31, 2010
I'm currently running a small server using 9.10 and I wondered if using groups was a possible route in order to keep users away from the bulk of the file system and keep them in locked their home directories.
What I planned to do is use a group named 'allowsystemfiles' to be added to admin accounts, then to set parts of the file system to that group, along with the permissions 0760 to keep non-admin users out.
Is is a good idea or will this hose my system?
View 7 Replies
View Related
Apr 19, 2010
Quick question - I would like to know how to prevent users from accessing directories above the directory used for ftp. I'm running proftpd and I'm able to connect outside of my LAN, however all user accounts can click "Up to higher level directoy" and access everything, all the way up to the root directory. How can I make this unaccessable/not visible to users connecting to my server, allowing access only to the directories and subdirectories I have specified?
View 2 Replies
View Related
May 4, 2010
I have server 9.04 and joined thru winbind to Windows Domain and subversion installed.Windows AD users can use their own credentials to join and everything is working fine.However the group svn which is used to access the repos in /etc/groups has some users.However I would like to add the domain users group to the svn group but the domain users contains Space. And /etc/groups does not happend to read the space any ideas on how to add "domain users" to the svn group in /etc/groups
View 1 Replies
View Related
Sep 22, 2010
I've got a Samba server (CentOS)(I swear all my non-work boxes are Ubuntu) that has been working fine in our Active Directory environment for a long time, now that Windows 7 has been forced upon us, we've noticed that Win 7 users aren't able to authenticate to this server unless they access it using the IP address, e.g. \192.168.1.22. We've tried the different Windows 7 registry hacks and nothing makes a difference. We were advised to update Samba and we did to 3.3.8. However, this being a virtual machine, upgrading a clone of this machine did work, the configuration was identical, except the hostname
View 9 Replies
View Related
Nov 25, 2010
how can i increase my user's home folder size to 3Gb or more? of-course with using webmin
View 5 Replies
View Related