Ubuntu Installation :: Allowing Normal Users To Upgrade The System?
Sep 11, 2010
Here's what I want to do: install ubuntu on a laptop and then create a normal user so that the user could install the normal upgrades without using the root account (or getting root privileges via sudo).
I know that this can be done by adding the user to the admin group, but this has (at least) two bad side effects:
1. The user can use sudo to gain root access. (And then do everything: install or remove programs...)
2. The update-manager doesn't seem to appear in the panel. (In stead it opens in the background.)
I could easily make a script that downloads and installs the upgrades automaticly, but I'd like to give the user a chance to choose when to do all this. So that it's not done for example when the user is using slow mobile connection.
View 2 Replies
ADVERTISEMENT
Jan 30, 2011
I upgraded my Fedora Core distribution from 12 to 14. Everything worked fine, except for SQUID which refused to upgrade. I then went to rescue and installed SQUID using yum and then restarted the upgrade. It did finally upgrade the system and then asked for a reboot. Well, when I selected the new kernel option in the GRUB options, since I also have Winduhs, it gave a kernel panic. I tried booting into the older kernel and it worked. Now I see the users that are there in the system in the Graphical GUI login greeter screen. But none of the users get authenticated. I used the rescue option and removed graphical login and changed boot level to 3. I also enabled the root user. In the rescue mode, if I do a startx, everything works fine.
I logged off rebooted the system. When I login, I see the version is shown as Fedora Core 14, but the kernel was still the older one with Core 12. I again went to rescue and checked out GRUB and saw that it had no initrd for the new kernel. I created a initrd image with the mkinitrd command and then added it to grub. I again rebooted. This time it shows the correct kernel, but still the system does not allow any of the users to login. All the Logins fail. I have tried going to rescue and going to the system using 'chroot /mnt/sysimage' and doing a startx for Graphical. Everything works, but only with the Rescue mode in the DVD. The normal boot/login sequence does not work.
Incidentally when I do a 'yum distro-sync', I get something like this :
---> Package dialog.i686 0:1.1-9.20080819.fc12 set to be downgraded
---> Package dialog.i686 0:1.1-11.20100428.fc14 set to be erased
---> Package diffstat.i686 0:1.51-1.fc12 set to be downgraded
---> Package diffstat.i686 0:1.51-2.fc14 set to be erased
---> Package diffutils.i686 0:2.8.1-25.fc12 set to be downgraded
---> Package diffutils.i686 0:2.8.1-29.fc14 set to be erased
It still seems to believe its a Fedora Core 12 system. Another information is that when I leave rescue mode and do a normal boot without installation media, it starts doing some SELinux relabelling and reboots. Any pointers on how I can get the system working. I am able to work with the rescue mode way, with any user, as it does not ask for any password. I can even do startx and work on the GUI. All my data is also there. I just am unable to get the user authenticated using normal boot/login. I have tried using passwd -d username, but it gives an error :
passwd: libuser initialization error: could not open configuration file `/tmp/libuser.ElY0r9': No such file or directory
In fact, I am now in rescue mode only when I am writing and sending this.
My GRUB file is :
default=4
timeout=25
splashimage=(hd0,9)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.6-45.fc14.i686) with Initrd
root (hd0,9)
kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=c91b69c3-0d89-4242-99db-6e0cc04ce3de LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.35.6-45.fc14.i686.img
title Fedora (2.6.35.6-45.fc14.i686)
root (hd0,9)
kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=c91b69c3-0d89-4242-99db-6e0cc04ce3de LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
title Fedora (2.6.32.21-168.fc12.i686.PAE)
root (hd0,9)
kernel /boot/vmlinuz-2.6.32.21-168.fc12.i686.PAE ro root=UUID=c91b69c3-0d89-4242-99db-6e0cc04ce3de LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.32.21-168.fc12.i686.PAE.img
--- snip
View 1 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
Jan 5, 2011
I am trying to setup a system to allow normal users to execute a command without using sudo. Is this possible?
View 6 Replies
View Related
Feb 6, 2009
What is the best method to upgrade Fedora from 8/9 to 10? I have the DVD, and whenever I try to boot from the DVD it locks up the PC after selecting the default language stuff. I've run the media check on the DVD, and it passes with no problems. I am behind a firewall and for some reason the configuration is not allowing YUM to get through the firewall, but Firefox can get through (I have another post for this issue).
View 4 Replies
View Related
May 3, 2010
I've just done the upgrade from Karmic 9.10 to 10.4 and I'm having some grapich issues; the windows first of all. I can't reduce them to icons, I can't enlarge them and when using firefox I can't even move it's window. Instead of the normal cursor I've a X and when I tried to take a screen shot with the stamp button nothing has happened.
View 1 Replies
View Related
Dec 28, 2009
I have a non-super user on my box which I'd like to give it MOUNT and UMOUNT permissions but I don't know how.For example purposes, the user name is "USER".I don't want to make it into a SuperUser, just give it rights to be able to issue the MOUNT and UMOUNT commands at the terminal.
View 6 Replies
View Related
May 13, 2009
How do I get the normal GDM logon dialog that was in F8 - the one with the User field displayed directly, and the drop down menus at the top?
F10 was successful. I changed the pam configuration to allow root logon at the GUI screen.
But this screen is different. All I get is 3 choices in a list: FTP Logon to Web Site, Ghost for Linux, and "Other". I only get the User field if I choose Other, and at that point I also get Sus[pend, Restart, and Shutdown buttons.
View 2 Replies
View Related
Mar 18, 2010
I need to allow non-root users to read/write on an ext3 partition.
Below is the relevant output from fdisk -l
Code:
The partition in question is /dev/sda4 and it is mounted as /Data (setup during installation).
View 2 Replies
View Related
Jun 5, 2010
As per subject, what's the best way to run a CRON job for something that "normal" users need to run as SUDO? There is a problem with the internal clock on my PC so at a regular time (every hour or day for example) I want to sync with my Network Time server. I use "sudo ntpdate time.bgr.local" as it is now and have to enter my user's password for it to work.I know root is disabled by default and would like to keep it that way if possible but if I have to enable it and then add it to root's cron list the so be it but would prefer not to.
View 5 Replies
View Related
Mar 30, 2010
right now all of our users are able to log in to other user using su as root.Because root privilege is necessary for our work. we r using LDAP authentication(centralized)..
What we want to do to disable su usage to log in as other user?
View 1 Replies
View Related
May 13, 2010
We have just installed VNC. It seems to work fine. If we connect to a remote system using VNC, on say DISPLAY 5, it works and we can run our applications. If another person wants to view this session, they can also connect to DISPLAY 5, and it is fine.
However, if you are just sitting at your own system, without using VNC, and someone connects to your system using VNC to DISPLAY 0, so you can show them what you are doing, they do not see your session, they see a plain startup session, not the session in which you are running your applications... How do you let VNC users see your normal non-VNC session? Have I configured something wrongly? We are new to VNC!
View 5 Replies
View Related
Nov 28, 2010
I have shared two external harddrives via samba on ubuntu, but only I can access it. The reason being is because I have logged into linux, and become the owner of the external hdd's. On the permission properties, I can see that the group I have created every other user under has "No Folder Access", and if I change this it reverts back instantly. So frustrating, I've tried to chmod it which hasn't done a thing. The owner of the external hdd's seems to be the only person who can access it over samba.Is there anyway I can get normal users to just read and write to external hdd's?
View 9 Replies
View Related
Apr 29, 2011
I read one release goal for wheezy which I had read few days ago, dnssec for wheezy.
[url]
Now the only thing I understood is this will make it harder for the bad guys to give any fake packages while I'm updating from a debian mirror .
Am I correct in assuming that ?
Also do I just have to install the autotrust package and wait for the dnssec-conf to be packaged and installed, correct ?
View 4 Replies
View Related
Dec 14, 2010
I have created 2 users and changed their secondary group to grp1, then changed permission for a directory dir1 to 770(no permission for others) and group to grp1.
The both normal users are not able to access dir1. How is it possible to access that Dir using general permission (770).
View 2 Replies
View Related
Jul 1, 2010
how to export normal unix user to ldap I've unbuntu ldap server with some local users. I want to export all my local users to ldap database as a ldap users. Or if there is any configuration so that when ever a normal user is created then automatically an ldap user with the same name as the normal user will be created
View 5 Replies
View Related
Jan 24, 2011
Is it possible to install Rawhide packages in F14 for normal users ? I see that Rawhide have F15 (as in Fedora 15) so it doesn't install. How can you bypass this? And what repo to use if you want to install rawhide?
View 9 Replies
View Related
Nov 18, 2010
I have install RHEL5 and created normal user as "test". When I login as root user, I can run crontab command but when I login as test user, I can't run crontab command and throws error as "cron/test: Permission denied". how to enable crontab command for test user as well?
View 3 Replies
View Related
Dec 30, 2010
I've a Linux box with few users (with shell). I would like to prevent normal users see all the processes running on the box. How can I implement this?
View 1 Replies
View Related
May 20, 2011
i want to mount NTFS by normal users so i used the following entry in fstab /dev/sda6 /media/Mostafa ntfs-3g noauto,exec,rw,user 0 0 however when i try to mount the partition i get the following error Unable to mount Mostafa
Error mounting: mount exited with exit code 1: helper failed with:
Error opening '/dev/sda6': Permission denied
Failed to mount '/dev/sda6': Permission denied
Please check '/dev/sda6' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
NTFS-3G Questions at Tuxera
[Code]...
View 6 Replies
View Related
Jul 1, 2010
I have set up an NFS server on Fedora 13, and I am connecting to it with Fedora 13 and Ubuntu 10.
On both clients the command
Code:
works fine. On Fedora I can get into the directory with Nautilus and have read/write permissions as specified in /etc/exports on the server, but on Ubuntu I can only get into it from a sudo'd command line.
The ownership of the file on Fedora is "nobody" and on Ubuntu it's "user #500", with only people in the "500" group having access to it.
Obviously the permissions can't be changed on the client, but with the Fedora box being able to read/write to it with no problems I'm not sure what else I can do on the server to let normal users on the Ubuntu box read it.
View 1 Replies
View Related
Oct 11, 2010
How can I allow normal users to mount a tmpfs under any subdirectory owned by them?
View 3 Replies
View Related
Dec 4, 2010
i have installed Salix 13.1 LXDE version (Salix 13.1 is compatible with Slackware 13.1). I must use various external hard disks formatted with NTFS. The hard disks are automatically recognized and mounted with PCmanFM file manager, but only user root can write on them. How can I allow normal users to write on automounted external ntfs drives?
View 3 Replies
View Related
Jul 8, 2010
I used to dual-boot, windows 7 and Ubuntu, but like a month ago, i decided to finally kill windows, so when i finished doing so, i had 160 GB. of free space. I never resized my ubuntu partition, since it had like 80 GB. of free space.Yesterday, I re-compiled my kernel, mainly to enable FrameBuffer in the console. So i decided it was time to resize my partition, to use the whole HDD.Turns out, that i had a little bit of problems compiling my kernel, and yes it took really a lot more than i thought ( I had to compile it twice ) but finally i got it working.
i still got some 100 GB. free, so is there anyway to get my system to it's normal weight?.I really don't wanna miss all my info, specially my programs, and customized desktop, it really took me a wile to set compiz just the way i like it.IM REALLY SORRY, I KNOW IT WAS MY FAULT, BUT I REALLY DON'T WANNA LOSE ALL THAT GB. NOR MY SYSTEM.
View 3 Replies
View Related
Jul 4, 2010
The normal user is now in the sudoers group. How can i allow it to install programs using it's own password rather than having to know the super-secret Root-Users password?
View 5 Replies
View Related
Jan 10, 2011
I have configured httpd web server to allow each of the system users to have their own web page (using UserDir directive).At the same time I have configured ftp server to allow the users to upload their html files to the web server.With above set up my users need not have any knowledge of linux; they can work from any windows PC on the network.There is no problem in the above.However, now I need to allow my users to change their passwords. The point here to note is that the users should be able to do this even from windows PC on the network. One of the way is to configure a telnet server (or sshd). But I find that the windows PC does not have telnet client.The other idea is that I should put a php script on the server which would take user name and password from the web page and then change the password. I don't know how can the system account password be changed through script - I will have to check this out.
View 4 Replies
View Related
Jun 28, 2009
script which can add a secondary group to all existing users except system users in linux.
View 5 Replies
View Related
Feb 27, 2010
I never use firefox because I use opera however I am really bored and I want to play around with my firefox however I have already ran into a problem, my problem is that firefox does not let me update to 3.6. I am currently using 3.0. How can I update my firefox? I use ubuntu 9.04.
View 5 Replies
View Related
Apr 18, 2010
But I fully have my server and everything up, MySQL, PHP5, Apache2, Postfix, Courier, SQMail, can't remember what else atm.
I installed mailx and used the mail command to send an email to my external email address, worked just fine. sent it to another email, worked as well.
But the problem is, I do 'telnet localhost 25' to test it like they say, it connects. I run 'ehlo localhost' Nothing happens.
I've tried setting it up with Thunderbird on my home pc and it connects to the IMAP & POP servers just fine, but it cannot establish a connection with SMTP, I've tried changing the SMTP port to other ones, still no luck.
Oh BTW, I use Ubuntu 8.04 LTS (Hardy Heron)
View 1 Replies
View Related
Apr 14, 2011
I'm niomi and I'm the first account with sudo. I add an account, bob. niomi can get in reliably on active mode. (maybe relevant?: passive doesn't work) bob is jailed to his home directory, niomi is in ftp-special which gives her access to /. bob can't log in and his shell is set to bin/false. What could have gone wrong?
View 3 Replies
View Related