How to add a new role and profile for new user by using the command "useradd" in linux.In solaris there is an options(useradd -R and useradd -P) for these actions, like this how to add role and profile for new user in linux.
I am using the sudo command to log on locally as another user by the following command:
sudo -u theotheruser -s or sudo -u theotheruser sh
As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.
what is the correct way/procedure to re-create a user home directory. For instance, on a Mac/Windows machine, i would just rename the existing user profile [home dir], and then just log back in as the user - job done. On OpenSuse/Linux, it seems it does not work that way..?! When i try to rename my home folder to say me.old via root, and log back in as me, i get all kinds of errors. Opensuse does create a new home dir, but it appears not properly.
create a profile settings and network drive can be mapped automatically when user login to the (like Domain and active user profile on windows environment) Ubuntu systems?
I have a network set up that has been working for around a year with no problems but has now developed a login problem. The system was set up with a main server with all users on it and another PC located elsewhere that people could log onto using there personal login and password that then gained access to the account on the main server. This remote PC has now got the problem. When you try to log onto an account it comes up with the message "your session has lasted less than 10 seconds. If you have not logged out yourself this could mean there is a installation problem or that you are out of disk space."
Error message says that no profile for the user can be found and it couldnt create per-user gnome configuration directory. I can log on as root onto the remote PC as it is obviously a local account but all the account on the main server are not accessible. From the root account I can see that the connection to the server is OK and I can actually log into the accounts on the server using the failsafe session so the physical network is OK.
I never built or designed this set up and to be honest I normally work with windows so its all a bit strange to me. Both PC's run Centos 5. I have checked the messages log and there doesnt seem to be any indication of a problem. Just that it stopped connecting from the remote PC. The accounts are all active on the main server itself and have no problems being accessed.
I've been using Ubuntu with GNOME for the past few years and I'm looking at possibly switching to the KDE-based Kubuntu. I know I can have both DE's on my system and even found a tutorial on the Psychocats site for setting it up, but I have a question for the KDE gurus here. Can I safely use the same user profile between both GNOME and KDE or should I set up a new user for working in KDE? I haven't seen anything saying I can't but I really don't want to hose my GNOME settings in case I end up not liking KDE enough to use it on a daily basis.
I am just started to setting up a samba PDC at our office.MY problem is my xp client is logging in to server but not loading the profile.its booting with tmp profile and whatever the changes I do in that profile.its not updating that in the server. And my client.log file is showing following error. '/home/user4' does not exist or permission denied when connecting to [user4] Error was Permission denied. I gave full right to /home/user4.But still its giving this error. User4 is given same password for linux and samba. How can I add a profile of user to smb pdc?
It states there could be changes in role of system adminstrators. If this is going to happen, Being a system admin what are the skill sets do I have to develop ?
I appear to be experiencing an annoying issue with my soundcard. As you can see from the images below, the soundcard is detected, but not when it comes to the "output". This is only affecting one user (my admin account is fine, as was a new user set up to test it).
I've looked at this page and have attempted reinstalling alsa, but to no success.
The results from aplay -l are:
Quote:
**** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: ALC883 Analog [ALC883 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
[Code]....
"stevek" being the user that I'm having difficulty with. I suspect that I might need to recreate part of my user profile, but I'm not sure where start.
Setting up a small network for a private school. have ubuntu on the systems, but wanting to make user profiles that anyone can access and have admin profile that only I can access. that part was easy, but am trying to find out how on the all user profile I can block certain things out like media players and etc. I figured out how to hide them in the task bar but anyone with a little tinkering could find them. Anyway to remove certain things completely on all user prof>? How to Remove.
This is the first time I am using forum. I am using SUSE 11.0 I dont know which settings I made but for one of the user I am not able to see the blue bar which has minimize, maximize, close bar.
I tried to replace .bashrc other related files by creating new user but the problem still exists.
Kindly help me to know what are the user profile related files and what might be the cause for this.
i have a dual boot set up on my laptop using wubi, but now i can't log on to my windows side, it gives me an error message saying that it can't load the user profile. how do i fix this without using system restore?
I'm trying to get Xorg running on a Dell 2850.I can't get it to work.I installed xorg-x11-drivers via yum, and used both "Radeon / ati" drivers, including the default vesa.
Here are the main errors (error log file attached):
Could not init font path element unix/:7100, removing from list! (**) RADEON(0): RADEONSaveScreen(2) localuser:root being added to access control list No profile for user 'root' found
[code]...
and at the end it says:
FreeFontPath: FPE "built-ins" refcount is 2, should be 1; fixing.
I have already windows 2003 server with active directory, with 200 + user accounts and each user has allocated a specific disk quota. Now i want to install suse on client side so that it can do all same things as windows clients does(active directory login and disk quota). I have downloaded 11.2 suse linux and installed all samba required pakages and also joined the windows domain (2003 server). how can i access my user space located on win 2003 server from my linux client machine.
I want to be able to create a php webpage that will show the logged in users files and how full their home directory is (roaming profiles). The php side isn't a problem....the problem is how do i determine the username of the user who is logged into Linux not the webpage itself?
What i want is when the user opens this page, it knows who they are already. I have seen this done on an intranet at work (don't know what OS it is running on tho) where I login to the network, view the page and it says my name.
Last night I started my computer and loaded my CentOS 5.2 partition (Windows 7 on the other partition). I was able to login to my account, but was given a gnome error that the panel buttons (i.e. weather, cpu monitor etc) could not be loaded. I then went to restart the computer (probably not the smartest thing to do) and was given some file errors upon shutdown that were related to /dev/VolGroup00/LogVol00. After restart I was taken to a shell and ran fsck manually. It seemed to find a lot of bad blocks, so I repaired the /dev/VolGroup00 system and restarted. At this point CentOS seemed to boot normally, but upon loading of the login screen I get the error: Configuration not correct The configuration file contains an invalid command line for the login dialog, so running the default command. Please fix your configuration.
I cannot even log in as root. I get the error /usr/bin/gnome-session: error while loading shared libraries: libgnome-desktop-2.so.2: cannot open shared objects file: no such file or directory. I then went to a shell and ran: sudo yum install libgnome-desktop-2.so.2, but the package was already installed and up to date, so there was nothing to do. I am therefore stuck at this login screen with pull-down menus and tabs where I can change the configuration, add/remove users etc. So, my question is this: How do I restore my user profile so I can login....and if anyone has some insight, what caused this to happen in the first place? I should also mention, this all happened after plugging the computer into a new internet connection. No clue if that's even relevant.
First off, since this seems like a networking issue I put it here, but if it should be somewhere else, the powers that be should definitely move it over.
I'm using Ubuntu 10.10 on Dell Presario M2000 I have made sure that all updates have been done.
As the subject states, the admin account (mine which I'm posting to the forum with right now) can access the internet and see webpages. The user account on this laptop (my underaged sister who my parents don't want full access to the computer) will not access any webpages, it just continually looks like its loading.
I have made sure the wireless card drivers are installed and activated.
Also, I ran iwconfig and ifconfig and here are their results
p { margin-bottom: 0.08in; } Results of iwconfig lo no wireless extensions. eth0 no wireless extensions. wlan0 IEEE 802.11bg ESSID:"myqwest4137"
[Code]....
These were both run from the user account. At this point it looks like its connecting to the internet through the wireless card as I was also able to run the update manager through the user account and have it download the updates (after putting in my admin password of course).
I am afraid to ask with so many things changing around in each new release.Where would one add a custom script to execute when logging and shutting down in into a user profile like /home/test or /root ?would this be rc.local?
I've already gotten into the .mozilla folder and found the profiles.ini file. My windows XP system has it's Documents and Settings folder on a seperate drive (D:Documents and settings) And I've located the profile (application datamozillafirefoxprofiles) Now all I need to do is put the path into the profiles.ini file in the .mozilla folder in Ubuntu. The problem is I don't know exactly how to format it.
In windows the path is:
How would I translate this into something ubuntu "follows?" I already have the profile name changed as well.
I am having problems with Open Java. I need to role in Sun Java. How? I have tried all the usual uninstall methods and hit a wall. I am using Kubuntu 10.10 on a 32 bit processor.
i am trying to setup a minimal bind9 dns on RHEL5.in /var/named/chroot/var/named/etc i have following files,after installing bind and caching-nameserver:
I follow those guides: [URL] and [URL]. I join the domain, I can test the user [root@osra ~]# wbinfo -a mbottalico% plaintext password authentication succeeded challenge/response password authentication succeeded
[root@osra ~]# wbinfo -g utenti wins dhcp users dhcp administrators computer del dominio controller di dominio getent passwd and group ok without "DOMAIN+" kinit e klist ok.
I can browser the samba server, but I can enter on "temp", but not in "test" (access denied) [root@osra ~]# smbclient \\osra\test -U administrator Enter administrator's password: Domain=[DOMAINSHORT] OS=[Unix] Server=[Samba 3.3.8-0.52.el5_5.2] smb: > ls NT_STATUS_NETWORK_ACCESS_DENIED listing * (I noticed only writing this message)
[root@osra ~]# smbclient \\osra\tmp -U administrator Enter administrator's password: Domain=[DOMAINSHORT] OS=[Unix] Server=[Samba 3.3.8-0.52.el5_5.2] smb: > dir ..... 53488 blocks of size 2097152. 49908 blocks available smb: > q 0 blocks of size 0. 511 blocks available .....
I cannot seem to find any good documentation on the role of flags -Bdynamic and -Bstatic in g++. The man pages are not very helpful either.I found an example on the web:"gcc object1.o object2.o -Wl,-Bstatic -lapplejuice -Wl,-Bdynamic -lorangejuice -o binary".According to which -Bstatic instructs the linker to statically link the applejuice library and to dynamically link the orangejuice library. If orangejuice uses the applejuice library anywhere however,the applejuice is also linked dynamically. Is it correct to assume that this is correct and describes the true functionality of those two flags in gcc? (ie: Bstatic and Bdynamic are used for mixing static and shared libraries during linking)Is it correct to assume that the same applies to g++ as well?
So recently I've been trying out openSUSE, along with a few other distros, for use on my HTPC. Previously, I'd been using a hackintosh build, so my external media storage HDDs are all formated HFS+. It was actually surprisingly easy to get openSUSE to mount them for both reading and writing.
Only thing is, XBMC has been pretty unstable on all of the linux distros I've tried, and I'm wondering to what degree the HFS filesystem might be affecting things? It would take a fair bit of juggling -- or going out and buying a new multi-TB HDD -- to clear out the disks in turn so as to reformat them with an ext filesystem, but if that would help me get a more stable HTPC with opensuse -- the linux distro I've settled on -- it'd be worth it. I'll paste a link to the log from an xbmc crash, in case that would be helpful, but really, I'm just curious, since I don't really know all that much about how different filesystems work or anything, how much extra strain does the filesystem translating entail?